[geos-devel] Fix to enable ruby bindings with ruby 1.9.3 (#5)

2011-11-24 Thread strk
Can any Ruby/GEOS developer take a look at this ? --strk; - Forwarded message from Kashif Rasul reply+i-2343458-1cdc8d98222d899aaee0dec2f2f850335f50-289...@reply.github.com - Date: Thu, 24 Nov 2011 09:07:04 -0800 From: Kashif Rasul reply+i-2343458

[geos-devel] Virtual inheritance: call for test

2011-02-04 Thread strk
the GEOS and the PostGIS testsuites run fine with the patch applied. The patch is in mailbox format, can apply using git-am or patch -p1 from top-level source dir. [1] Consider also adding the project on the wiki, if not already listed: http://trac.osgeo.org/geos/wiki/Applications --strk

Re: [geos-devel] RE: [Jts-topo-suite-user] JTS Topology error

2011-02-03 Thread strk
sense / be plausible? Or would a better solution be to define the precision for each geometry column? Check the new ST_Snap() function in PostGIS and GEOS svn repository. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html

Re: [geos-devel] geos offset curve builder question

2011-01-31 Thread strk
this list if geos-devel is not intended to be a general purpose geos question/support mechanism. Am I in the right place? Yes, being the only GEOS mailing list. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html

[geos-devel] Requesting PHP component on trac

2011-01-27 Thread strk
. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] RE: GEOS errors from PostGIS

2011-01-24 Thread strk
consuming job indeed. It takes a patient sponsor. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] RE: GEOS errors from PostGIS

2011-01-17 Thread strk
(the_geom). Works. There are other datasets which fail on both versions, and I have no doubt I can find one which works in the reverse manner. The latter uses CascadedUnion (the one UnaryUnion uses too). The former uses normal union (non-cascaded). --strk; () Free GIS Flash consultant

Re: [geos-devel] RE: GEOS errors from PostGIS

2011-01-15 Thread strk
. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] RE: GEOS errors from PostGIS

2011-01-14 Thread strk
=jts-topo-suite-user I fixed this in JTS, in the soon-to-be-released ver 1.12. Perhaps this fix hasn't made it's way into GEOS and PostGIS yet. Have a revision number of the fix ? Haven't found one in the forum thread... --strk; () Free GIS Flash consultant/developer /\ http

Re: [geos-devel] RE: GEOS errors from PostGIS

2011-01-14 Thread strk
message Javadoc doesn't really help :) --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] RE: GEOS errors from PostGIS

2011-01-13 Thread strk
(143.861 -36.881, 143.861 -36.881) and LINESTRING (143.861 -36.881, 143.861 -36.881) at 143.861 -36.881 That's a NOTICE, shouldn't be a show-stopper. Did you really check your input with ST_IsValid, btw ? --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net

Re: Fwd: Re: [geos-devel] Cannot build from trunk because of SharedPathsOp

2010-12-14 Thread strk
) would need to be added to whatever build script is used. Send a patch always applies. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http

Re: [geos-devel] about buffer of self-intersect polygon

2010-12-09 Thread strk
2,2 2)),((0 0,2 -2,-2 -2,0 0))) You can then successfully buffer the result (getting back to a POLYGON). --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel

Re: [geos-devel] Help - Want to merge / join two polygons

2010-12-09 Thread strk
. For a collection, see the Cascaded flavor. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] GEOS FFI Ruby bindings

2010-12-03 Thread strk
). --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] Snapping bug ?

2010-12-03 Thread strk
On Fri, Dec 03, 2010 at 03:23:43PM +0100, strk wrote: On Fri, Dec 03, 2010 at 11:02:35AM +0100, strk wrote: GEOS/JTS in sync (I checked and synched, only additional snapToSelf was missing). So, Martin. After a closer look I found that indeed GEOS wasn't checking for duplicates as JTS

[geos-devel] Snapping bug ?

2010-12-02 Thread strk
Martin, could you try this snapping with JTS ? input: POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0)) snap_to: POINT(0.5 0) In GEOS, it returns: POLYGON ((0.5 0, 0.5 0, 1 1, 0 1, 0.5 0)) --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html

Re: [geos-devel] GEOS Ruby bindings gem and extensions

2010-12-01 Thread strk
that jeweler provides. I second using a separate repository. That way you can keep binding release cycles completely separated from the core GEOS library. I've been too lazy to do that for the PHP bindings... --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html

Re: [geos-devel] GEOS Ruby bindings gem and extensions

2010-12-01 Thread strk
about keeping the binding separated so don't see a reason for a fork. I've an unofficial copy of geos svn on github.com/strk Would love to see osgeo provide a git infrastructure. Unfortunately github uses proprietary software for that. But code used by gitorious.org is free-as-in-freedom. All in all

Re: [geos-devel] GEOS Ruby bindings gem and extensions

2010-12-01 Thread strk
On Wed, Dec 01, 2010 at 11:44:05AM -0700, Charlie Savage wrote: The downside is that the different language bindings (ie python and ruby) go their separate ways. But that is already the case anyway... Yeah, also for PHP I didn't use swig... --strk; () Free GIS Flash consultant

[geos-devel] git repo

2010-11-24 Thread strk
FYI: I've cloned the SVN trunk branch onto a git repository on github: https://github.com/strk/geos I'll be using that one for development, in its own branch. Dunno if git-svn tools are able to replicate the branching from git to svn but probably isn't worth it. --strk; () Free GIS Flash

Re: [geos-devel] Removing instruction for compile with VS IDE

2010-10-20 Thread strk
Andrea, it's a wiki: thanks for taking action ! :) --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] problem compiling GEOS [in StringTokenizer.cpp]

2010-10-14 Thread strk
describes strtod(). --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] SIGABRT in GEOS using the C-API

2010-09-22 Thread strk
On Wed, Sep 22, 2010 at 12:13:51PM -0400, Alex Trofast wrote: On 09/22/2010 08:35 AM, strk wrote: On Wed, Sep 22, 2010 at 08:12:39AM -0400, Alex Trofast wrote: I think you are right, after testing I noticed that GEOS compiles with -O2 by default. If you change CFLAGS/CXXFLAGS to be -O1

Re: [geos-devel] Bug in WKBReader

2010-09-21 Thread 'strk'
it is necessary to write a new test function for that, taking GeometryFactory as a parameter and not a constant. No need to overgeneralize, a couple of new tests: one for checking default factory SRID and one for checking override would be good enough. Thanks for your time. --strk; () Free GIS Flash

Re: [geos-devel] GetIntersection

2010-09-19 Thread strk
the geometrical problem, and approach it differently. Some other times all you can do is profile and see if anything dumb is happening. Looking at the crash might reveal something too. Which version of GEOS ? Tried with SVN ? --strk; () Free GIS Flash consultant/developer /\ http

Re: [geos-devel] SIGABRT in GEOS using the C-API

2010-09-01 Thread strk
if GeometryComponentFilter::filter_ro is entered rather than LinearComponentExtracter::filter_ro. Indeed GeometryComponentFilter::filter_ro and ::filter_rw could be made pure abstract methods. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html

Re: [geos-devel] EWKB and M component

2010-08-27 Thread strk
you strip the M on the db side. GEOS's WKBReader is meant to read WKB, not EWKB. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http

[geos-devel] GEOS API online

2010-08-27 Thread strk
The online doxygen output is missing, 404 link from homepage: http://download.osgeo.org/geos/doxygen/ Can anyone help ? --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list

[geos-devel] Nightly snapshot link also broken

2010-08-27 Thread strk
As with the doxygen part... Really looks like download.osgeo.org/geos needs some love. Is there a PSC cheatsheet containing informations about the processes and who's in charge of what ? TIA --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html

Re: [geos-devel] Compiling GEOS on Centos 5.5

2010-08-27 Thread strk
/libgeos.so It links to libgeos-3.2.2.so, which is not there. You must have removed it unintentionally. Try a make clean and make again (from top-level dir). Or, if you feel brave, just rm src/libgeos.{la,lo} and make. --strk; () Free GIS Flash consultant/developer /\ http

Re: [geos-devel] Pending Commit: changes to single sided buffering ogc validity checking

2010-07-16 Thread strk
know about. I'm personally happy with multi-people copyright. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

Re: [geos-devel] Pending Commit: changes to single sided buffering ogc validity checking

2010-07-16 Thread strk
to the GEOS repository ? --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

[geos-devel] Re: Polygonizer bug ?

2010-07-01 Thread strk
On Mon, Jun 21, 2010 at 09:13:16AM -0700, Martin Davis wrote: strk, The JTS Developer's Guide is a bit confusing. The geometry given in the example is NOT the geometry depicted in the illustration. (This is a doc bug - but Im not sure if and when I can fix it). When I run the geometry

Re: [geos-devel] Re: Polygonizer bug ?

2010-07-01 Thread strk
FYI, as of r3078 the mis-port is fixed in GEOS. Still interested in the result after self-noding. Thanks ! --strk; On Thu, Jul 01, 2010 at 10:59:12PM +0200, strk wrote: On Mon, Jun 21, 2010 at 09:13:16AM -0700, Martin Davis wrote: strk, The JTS Developer's Guide is a bit confusing

Re: [geos-devel] CascadedPolygonUnion XML testing

2010-06-27 Thread strk
(ST_AsText(g)); would succeed too (and does)... -- strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] CascadedPolygonUnion XML testing

2010-06-27 Thread strk
... What is the model used by GEOS? FLOATING (the model used by the C-AP, thus postgis) --strk;; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http

Re: [geos-devel] CascadedPolygonUnion XML testing

2010-06-27 Thread strk
On Sun, Jun 27, 2010 at 10:57:37PM +0200, G. Allegri wrote: Are you sure it works? select st_union(st_astext(the_geom)) from selezione_exp1_red2 (one of your reductions) doesn't give any output... Doesn't _always_ work, did for another_dump2: strk=# select st_isvalid(st_union(g)) from

Re: [geos-devel] CascadedPolygonUnion XML testing

2010-06-27 Thread strk
On Sun, Jun 27, 2010 at 11:14:22PM +0200, strk wrote: On Sun, Jun 27, 2010 at 10:57:37PM +0200, G. Allegri wrote: Are you sure it works? select st_union(st_astext(the_geom)) from selezione_exp1_red2 (one of your reductions) doesn't give any output... Doesn't _always_ work, did

Re: [geos-devel] CascadedPolygonUnion XML testing

2010-06-26 Thread strk
35 points version (2 geoms): http://strk.keybit.net/tmp/another_dump2.sql ... still finds non-noded intersections ... --strk; On Sun, Jun 27, 2010 at 12:18:22AM +0200, G. Allegri wrote: I'm getting mad. The same geometries, run in a basic test written by me works fine: http

Re: [geos-devel] TopologyException: found non-noded intersection

2010-06-25 Thread strk
mentioned). Tried with GEOS trunk too, and works as well. We need another selection ... --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http

Re: [geos-devel] TopologyException: found non-noded intersection

2010-06-25 Thread strk
It's to be noted that non-cascaded union (the one using robustness handling heuristics) succeeds with this input. --strk; On Fri, Jun 25, 2010 at 02:14:51PM +0200, G. Allegri wrote: Here is a testcase which reproduces the exception: http://www.giovanniallegri.it/share/selezione_exp1_red2.sql

Re: [geos-devel] TopologyException: found non-noded intersection

2010-06-25 Thread strk
On Tue, Jun 22, 2010 at 08:52:30AM -0700, Martin Davis wrote: Also, there was a bug uncovered recently in JTS which has the effect of not performing some robustness improvement steps during CascadedUnion. It's a simple fix, so perhaps someone (strk?) will be able to implement it in GEOS

Re: [geos-devel] CascadedPolygonUnion XML testing

2010-06-25 Thread strk
On Fri, Jun 25, 2010 at 04:39:17PM +0200, strk wrote: Martin, is there any support for testing CascadedUnion with the XML format ? Would help comparing GEOS/JTS. I've found TestUnaryUnion.xml in JTS repository. I guess that's what GEOS should be using for testing CascadedPolygonUnion. Only

[geos-devel] PHP binding ready

2010-06-24 Thread strk
. Suggestions for a good documentation plan are welcome. Ideally something integrating with Doxygen. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http

Re: [geos-devel] TopologyException: found non-noded intersection

2010-06-23 Thread strk
On Tue, Jun 22, 2010 at 08:52:30AM -0700, Martin Davis wrote: Also, there was a bug uncovered recently in JTS which has the effect of not performing some robustness improvement steps during CascadedUnion. It's a simple fix, so perhaps someone (strk?) will be able to implement A ticket

[geos-devel] gstrdup in CAPI implementation

2010-06-23 Thread strk
^ } assert(0 != out); return out; } --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] Re: [geos-commits] r3046 - trunk/src/geom

2010-06-21 Thread strk
Alright, convinced. Thanks for the review. r3060 has them back unchecked, with checks moved at PHP level. --strk; On Mon, Jun 21, 2010 at 01:23:08PM +0200, Maxime van Noppen wrote: On 06/21/2010 11:22 AM, strk wrote: Not really. You're right about additional cost, but I dubt it'll really

[geos-devel] Polygonizer bug ?

2010-06-20 Thread strk
as a bug in GEOS or does JTS give the same results ? Note that forcing proper noding using the union trick does give the 3 expected rings, but still lacks the cut edge and duplicates the dangle. Thanks in advance. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net

[geos-devel] linearref::LinearIterator segfaults

2010-06-19 Thread strk
; loadCurrentLine(); } I'd throw an IllegalArgumentException from the constructor, if geom is not LINEAL. Will do this in GEOS trunk, but wanted to signal JTS too... --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html

[geos-devel] PHP bindings

2010-06-18 Thread strk
-ansi], []) --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] C/C++ Standards, switches ordering

2010-06-18 Thread strk
. --strk; On Fri, Jun 18, 2010 at 11:59:04AM +0200, strk wrote: So, -ansi is equivalent to -std=c89 Using -std=c99 works fine. Now, the problem is that GEOS's ./configure script is setting CFLAGS, which it shouldn't. CFLAGS is always added last as it is considered the user-defined one. Doing

[geos-devel] Online doxygen docs

2010-06-18 Thread strk
I was looking for info about WKTWriter::setTrim but haven't found it on http://download.osgeo.org/geos/doxygen/ Who's in charge for updating that page ? Can we track both latest release and trunk ? --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html

Re: [geos-devel] PHP bindings

2010-06-18 Thread strk
interaction with -ansi, which is what I'm trying to fix in a general way. --strk; On Fri, Jun 18, 2010 at 11:26:35AM +0200, strk wrote: I've started hand-crafting PHP bindings for the GEOS C-API. Currently in the process of merging into trunk for proper build scripts. One obstacle I found

Re: [geos-devel] PHP bindings

2010-06-18 Thread strk
On Fri, Jun 18, 2010 at 06:41:47PM +0200, strk wrote: So, current trunk as a -std=gnu99 added to CFLAGS when building the PHP bindings and was tested to work on OpenSUSE 11.1 and Ubuntu 8.10 with gcc-4.3.2 (-std=c99 didn't work on the Ubuntu box). FYI: also tested successfully on Debian 4.0

Re: [geos-devel] PHP bindings

2010-06-18 Thread strk
On Fri, Jun 18, 2010 at 06:53:19PM +0200, strk wrote: On Fri, Jun 18, 2010 at 06:41:47PM +0200, strk wrote: So, current trunk as a -std=gnu99 added to CFLAGS when building the PHP bindings and was tested to work on OpenSUSE 11.1 and Ubuntu 8.10 with gcc-4.3.2 (-std=c99 didn't work

Re: [geos-devel] PHP bindings anyone ?

2010-06-16 Thread strk
On Wed, Jun 16, 2010 at 09:53:00AM +0200, Sean Gillies wrote: Are there any libffi (used by ctypes) intefaces for PHP? If so, I'd recommend giving that a try. Found this: http://pecl.php.net/package/ffi Last release (0.3-alpha) is from 2004 :! --strk; () Free GIS Flash consultant

[geos-devel] PHP bindings anyone ?

2010-06-15 Thread strk
I'm plaing with drupal recently and be wondering if the SWIG binding for GEOS are still in use by anyone or not. In particular, I think Shapely and GeoDjango are using a direct interface rather than swig, right ? Is anyone else interested in a PHP binding for GEOS ? --strk; () Free GIS

Re: [geos-devel] WKT / WKB Writer Output Dimension

2010-05-26 Thread strk
syntax. Keep up the good work ! --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] getCoordinateDimension() - ticket 311

2010-05-26 Thread strk
and in an undocumented way). --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] Dimension and Coordinate Sequences

2010-05-17 Thread strk
coordinate is NaN I'll try and adapt my code to watch for that as a clue to dimension but it is not entirely clear to me why dimension is not currently preserved. PostGIS extracts dimension from postgis format, then converts, does the thing and converts back to same dimension of input. --strk

Re: [geos-devel] Dimension and Coordinate Sequences

2010-05-17 Thread strk
On Mon, May 17, 2010 at 12:39:15PM -0400, Frank Warmerdam wrote: At this time I'm not going to try and address M, nor to start going into the algorithms and making them dimension aware. M will be much harder indeed. --strk; () Free GIS Flash consultant/developer /\ http

Re: [geos-devel] [GEOS] #343: After applying a buffer over a multiline the library starts growing in memory usage and hungs

2010-05-14 Thread strk
sys 0m0.012s $ time psql strk -c 'update bug_dump2 set geom = st_buffer(geom, 0.005)'; UPDATE 3272 real0m0.463s user0m0.040s sys 0m0.008s $ time psql strk -Ac 'select st_npoints(st_union(geom)) from bug_dump2'; st_npoints: 1336 real0m1.181s user0m0.040s sys

Re: [geos-devel] [GEOS] #343: After applying a buffer over a multiline the library starts growing in memory usage and hungs

2010-05-14 Thread strk
On Fri, May 14, 2010 at 03:09:40PM +0200, strk wrote: On Thu, May 13, 2010 at 09:22:49AM -0700, Martin Davis wrote: Just tried the buffer-and-union approach in JTS. It works fine - about 70 s for the union, less for the initial buffering. Memory usage was low. I tried buffer-and-union

Re: [geos-devel] [GEOS] #343: After applying a buffer over a multiline the library starts growing in memory usage and hungs

2010-05-14 Thread strk
://trac.osgeo.org/geos/attachment/ticket/344/roads_broken_geom.txt.gz The output I have with it is attached. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html out.txt.gz Description: application/gunzip

Re: [geos-devel] [GEOS] #343: After applying a buffer over a multiline the library starts growing in memory usage and hungs

2010-05-14 Thread strk
On Fri, May 14, 2010 at 11:35:45AM -0700, Martin Davis wrote: Ok, I tried the roads_broken geometry in JTS using the buffer-and-union approach. The result matches the one you posted, strk. Time was 2.7 s. So the two systems are pretty close. It would be interesting if you tried

Re: [geos-devel] [GEOS] #343: After applying a buffer over a multiline the library starts growing in memory usage and hungs

2010-05-14 Thread strk
On Fri, May 14, 2010 at 03:05:29PM -0700, Martin Davis wrote: Yes, that would be very interesting. Does GGL provide polygon union now? Seems so: http://geometrylibrary.geodan.nl/group__union.html --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html

Re: [geos-devel] Applications using GEOS

2010-05-13 Thread strk
On Mon, May 10, 2010 at 09:09:33AM -0700, Martin Davis wrote: There's a few more listed here: http://tsusiatsoftware.net/jts/jts-links.html#systems Thanks, page updated. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html

[geos-devel] Applications using GEOS

2010-05-09 Thread strk
I've started a wiki page to list applications using GEOS: http://trac.osgeo.org/geos/wiki/Applications Surely some are missing, can you find them ? Thanks. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html

Re: [postgis-devel] [geos-devel] initGEOS semantic ?

2010-04-17 Thread strk
On Sat, Apr 17, 2010 at 10:46:51AM -0700, Paul Ramsey wrote: Yes, indeed. This could also be the source of a leak reported a couple weeks ago in the otherwise boring centroid function... Ready for test in r2975. Mat, could you add your changes in the NEWS file too please ? --strk

Re: [geos-devel] Fwd: [GENERAL] Large index operation crashes postgres

2010-03-29 Thread strk
On Mon, Mar 29, 2010 at 10:29:06AM -0700, Paul Ramsey wrote: Can anyone valgrind the capi centroid call on a 2-point linestring and see if it leaks? It seems like it might... Tried this: LINESTRING(0 0, 10 0) No leaks in C-API from 3.2 branch What's the one exposing the bug ? --strk

Re: [geos-devel] Re: [GEOS] #334: README file could be a bit more modern and consistent

2010-03-06 Thread strk
, but the purpose of the README file is to quickly look up the procedure without needing to start up a web browser and navigate to the web page. A README file is the first place I look after uncompressing source code, since it tells me what to do next. +1 -- strk; () Free GIS Flash consultant

Re: [geos-devel] Problems compiling nightly snapshot

2010-03-03 Thread strk
On Wed, Mar 03, 2010 at 11:20:34AM +0100, Paul Meems wrote: What is the best approach the get the latest version? svn checkout http://svn.osgeo.org/geos/trunk --strk; Share. It's fair. http://iwouldntsteal.net ___ geos-devel mailing list geos

Re: [geos-devel] deprecate non-thread-safe CAPI interfaces

2010-02-11 Thread strk
On Wed, Feb 10, 2010 at 09:42:56PM -0600, Howard Butler wrote: On Feb 10, 2010, at 5:26 PM, strk wrote: I'd like to deprecate non-thread-safe version of CAPI interface in next release, and stop providing them for new methods. If anyone sees a reason not to do that please scream

Re: [geos-devel] What do GEOSSymDifference and GEOSIntersection (CAPI) do?

2010-02-10 Thread strk
, if your goal is building an area you may consider moving the algorithm implemented by PostGIS's ST_BuildArea code down into the C-API (from the postgis geos wrapper). I belive it would be useful in general... --strk; () Free GIS Flash consultant/developer /\ http://foo.keybit.net/~strk

Re: [geos-devel] Re: cmake: distclean-like ? out of source tree build ?

2010-02-10 Thread strk
) ] * kdesdk4-scripts [ path: /usr/bin/svn-clean, repository: zypp (ARKANIS_openSUSE_11.1_1) ] Try installing with: sudo zypper install kdesdk3 --strk; () Free GIS Flash consultant/developer /\ http://foo.keybit.net/~strk/services.html

[geos-devel] deprecate non-thread-safe CAPI interfaces

2010-02-10 Thread strk
I'd like to deprecate non-thread-safe version of CAPI interface in next release, and stop providing them for new methods. If anyone sees a reason not to do that please scream before it's too late (you've plenty of time). --strk; () Free GIS Flash consultant/developer /\ http

[geos-devel] cmake: distclean-like ? out of source tree build ?

2010-02-06 Thread strk
). --strk; () Free GIS Flash consultant/developer /\ http://foo.keybit.net/~strk/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

[geos-devel] Unary Union (was: rgeos interface to R classes)

2010-02-05 Thread strk
/ticket/399) --strk; () Free GIS Flash consultant/developer /\ http://foo.keybit.net/~strk/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

[geos-devel] cmake: geos-config

2010-02-04 Thread strk
cmake based installation results in a broken geos-config script. geos-config --ldflags, which is used by postgis, returns '-L'. --strk; () Free GIS Flash consultant/developer /\ http://foo.keybit.net/~strk/services.html ___ geos-devel mailing

[geos-devel] cmake build on ubuntu-8.04

2010-02-03 Thread strk
Ubuntu 8.04 cmake build attempt: $ cmake ../trunk CMake Error at CMakeLists.txt:220 (if): if had incorrect arguments: ${CMAKE_VERSION} VERSION_LESS 2.8.0 (Unknown arguments specified). ... $ cmake --version cmake version 2.6-patch 0 What's the min version supported ? --strk; () Free

[geos-devel] Quick cmake/autotools comparison on OpenSUSE

2010-01-29 Thread strk
FYI. Only 'make' was timed, no ./configure nor cmake runs. cat cmake/TIMING real7m18.909s user6m11.319s sys 0m42.419s cat autotools/TIMING time make - real7m58.631s user7m1.418s sys 0m43.067s --strk; () Free GIS Flash consultant/developer /\ http

[geos-devel] cmake does not recognize sub-command RENAME

2010-01-29 Thread strk
GEOS revision 2893. CMake Error at CMakeLists.txt:204 (file): file does not recognize sub-command RENAME cmake version 2.6-patch 0 --strk; () Free GIS Flash consultant/developer /\ http://foo.keybit.net/~strk/services.html ___ geos-devel

Re: [geos-devel] Build and install instructions

2010-01-28 Thread strk
TODO item ? 'check' is a GNU standard rule. --strk; () Free GIS Flash consultant/developer /\ http://foo.keybit.net/~strk/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] [#317] Build configuration for CMake build system

2010-01-21 Thread strk
On Wed, Jan 20, 2010 at 11:05:40PM +, Mateusz Loskot wrote: strk wrote: /usr/src/geos/cmake_build/include/geos/platform.h:147:3: error: #error Could not find finite or isfinite function or macro! make[2]: *** [src/CMakeFiles/geos.dir/algorithm/distance

Re: [geos-devel] Missing file in Makefile.vc

2010-01-13 Thread strk
On Tue, Dec 15, 2009 at 01:04:11PM -0500, Glenn Waldron wrote: I wish I'd caught this before the 3.2 release, but geom/CoordinateSequenceFactory is missing from source/Makefile.vc. The fixed makefile.vc is attached. Glen, was this applied ? If not, could you put it on trac ? --strk; Free

Re: [geos-devel] Installation of Postgis/postgresql

2010-01-11 Thread strk
by different runtimes and dev environment. Make sure to install the GNU C++ compiler. --strk; Free GIS Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! ___ geos-devel mailing

Re: [geos-devel] 3.2.0 release ready for download

2009-12-15 Thread strk
properly encode if a client is dependent on *libgeos* or *libgeos_c* as that makes a big difference. Is this too much confusing ? --strk; Free GIS Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple

Re: [geos-devel] 3.2.0 Final

2009-12-14 Thread strk
stability of the API and the ABI of the library during performance improvements that will likely change classes definitions. --strk; Free GIS Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple

Re: [geos-devel] 3.2.0 Final

2009-12-12 Thread strk
expose the leaks itself. I just fixed a couple of leaks reported by a C++ API user in methods that would never be called by the C-Api, that's why I mentioned them. --strk; Free GIS Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep

Re: [geos-devel] 3.2.0 Final

2009-12-12 Thread strk
On Sat, Dec 12, 2009 at 10:04:26AM +0100, Maxime van Noppen wrote: strk wrote: Remember that GEOS is a direct port of JTS, where (in Java) there are visibility levels that are not supported in C++ (default visibility == only classes in same package can use those interfaces). In GEOS those

Re: [geos-devel] 3.2.0 Final

2009-12-11 Thread strk
On Thu, Dec 10, 2009 at 12:30:43PM -0800, Paul Ramsey wrote: Shall we release 3.2.0 final? Things seem quiet... I've fixed a reported leak in r2822. r2823 also contains an updated ChangeLog. Ready for final myself. --strk; Free GIS Flash consultant/developer () ASCII Ribbon Campaign

Re: [geos-devel] 3.2.0 Final

2009-12-11 Thread strk
/ABI instabilities... --strk; Free GIS Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman

Re: [geos-devel] Re: Return value of GEOSGeom_getDimensions_r

2009-12-11 Thread strk
(2 or 3, but will always be 3 atm). Pretty useless method indeed. --strk; Free GIS Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! ___ geos-devel mailing list geos-devel

Re: [geos-devel] 3.1 vs 3.2

2009-12-09 Thread strk
! It seems to mean 3.2.0 rocks :) --strk; Free GIS Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! ___ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org

Re: [geos-devel] Benchmark between various geometry libraries

2009-12-09 Thread strk
instead. How can a virtual method be inlined by the compiler ? --strk; Free GIS Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! ___ geos-devel mailing list geos-devel

Re: [geos-devel] 3.2 RC4?

2009-12-08 Thread strk
On Tue, Dec 08, 2009 at 07:04:26PM +0100, strk wrote: On Tue, Dec 08, 2009 at 08:01:25AM -0800, Paul Ramsey wrote: Thanks to Mats for taking the cleanup run through the code! I would like to cut one more RC, anyone have objections, fixes-in-progress? Just closed a couple ([1], [2

[geos-devel] Another cleanup pass on 3.2.0 ongoing

2009-12-01 Thread strk
FYI, Mateusz is doing a cleanup pass on trunk. He mentioned it should be done in a week. I think it's worth waiting till then and ship an rc4. If anyone is concerned with that please let me know. TIA --strk; Free GIS Flash consultant/developer () ASCII Ribbon Campaign http

[geos-devel] 3.2.0-rc3 tagged

2009-11-29 Thread strk
Packaging and platform support tweaks mostly. Please take another loop, this could be final. --strk; Free GIS Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! ___ geos-devel

Re: [geos-devel] Find self-intersections

2009-11-28 Thread strk
What do you really need to do at the end of the day ? Want a simple ring ? A polygon ? --strk; On Fri, Nov 27, 2009 at 05:22:22PM +0100, Frederik Ramm wrote: Hi, today I came across the following problem that I tried to solve with GEOS. I had 3.000 linestrings which together formed

  1   2   >