[geos-devel] Generated ChangeLog

2009-05-21 Thread Sandro Santilli
I've committed a new 'ChangeLog.svn' rule in top-level Makefile which you can use to generate a GNU-style ChangeLog file from SVN logs using the svn2cl tool. On debian-based systems this tool is in the subversion-tools package. The generated ChangeLog.svn was also added to the repository, so you

Re: [geos-devel] Holes in holes

2009-11-24 Thread Sandro Santilli
A polygon with an hole in an hole is a multipolygon formed by a polygon with an hole and another polygon inside that hole. It is OGC-valid. --strk; On Tue, Nov 24, 2009 at 11:53 AM, Frederik Ramm frede...@remote.org wrote: Hi,   I'm trying to create a polygon with a hole that has a hole

[geos-devel] 3.2.0 release ready for download

2009-12-14 Thread Sandro Santilli
I'm pleased to announce the final release of GEOS 3.2.0. http://download.osgeo.org/geos/geos-3.2.0.tar.bz2 This new release provides improved robustness and speed, along with new additions to the C api: - STRtree support - Linear referencing functions (project, interpolate) - Styled Buffer

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

2010-01-24 Thread Sandro Santilli
On Sat, Jan 23, 2010 at 2:40 AM, Mateusz Loskot mate...@loskot.net wrote: The CMakeLists.txt in root was performing incorrect checks. It should be fine now, I hope. Still no lack. platform.h dropped, cmake ../trunk re-run. The new platform still doesn't contain any valid FINITE function: /*

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

2010-01-26 Thread Sandro Santilli
On Mon, Jan 25, 2010 at 10:17:34PM +, Mateusz Loskot wrote: The problem is not with CMake, but looks like GCC is a mess :-) Interesting analisys :) #include math.h #ifdef isfinite #error isfinite defined #else #error isfinite NOT defined #endif I guess you just can't expect isfinite

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

2010-01-28 Thread Sandro Santilli
On Wed, Jan 27, 2010 at 10:13:45PM +, Mateusz Loskot wrote: http://trac.osgeo.org/geos/ticket/317#comment:21 I explicitly add -D_ISOC99_SOURCE=1 for checks of isfinite and it passes for me. Could you give it another shot and test? I will shortly. Meanwhile here's a test on OpenSUSE:

Re: [geos-devel] Build and install instructions

2010-01-28 Thread Sandro Santilli
On Thu, Jan 28, 2010 at 7:42 PM, Mateusz Loskot mate...@loskot.net wrote: Seriously, no problem. make test is standard target name of CTest run by CMake, and I'd like to not to disable it, But there is no problem to provide both. OK? No problem. Both is fine. -- strk; () Free GIS Flash

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

2010-01-28 Thread Sandro Santilli
On Wed, Jan 27, 2010 at 10:13:45PM +, Mateusz Loskot wrote: I explicitly add -D_ISOC99_SOURCE=1 for checks of isfinite and it passes for me. Could you give it another shot and test? -- Performing Test HAVE_STD_ISNAN -- Performing Test HAVE_STD_ISNAN - Success -- Performing Test

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

2010-02-05 Thread Sandro Santilli
On Fri, Feb 5, 2010 at 12:29 PM, Roger Bivand roger.biv...@nhh.no wrote: On Fri, 5 Feb 2010, strk wrote: On Mon, Feb 01, 2010 at 09:48:57AM -0800, Martin Davis wrote: The technique of using buffer(0) to union polygons is now deprecated in favour of using Unary Union (Geometry.union() - not

Re: [geos-devel] Nightly build performance

2011-02-17 Thread Sandro Santilli
On Fri, Feb 18, 2011 at 01:52:47PM +1030, james.sew...@lisasoft.com wrote: The issue I have noticed is that the newer version is noticeably (more than 5x) slower on some large queries of the form: SELECT a.geom FROM left AS a, right AS b WHERE

Re: [geos-devel] Re: [GEOS] #356: multilinestring buffer artifacts

2011-02-28 Thread Sandro Santilli
On Sun, Feb 27, 2011 at 01:40:41PM -0800, Martin Davis wrote: The reason that precision reduction is invoked is probably because the generated buffer curve has some very close vertices - which tends to result in noding failures. So this is operating according to current design (although it

Re: [geos-devel] Re: PolygonBuilder::findShell assertion 'shellcount = 1' failed

2011-03-02 Thread Sandro Santilli
On Wed, Feb 02, 2011 at 08:52:21PM -0600, kyle cronan wrote: I posted the message below back in august, but have only recently had a chance to look into this further. I filed a ticket for this: http://trac.osgeo.org/geos/ticket/398 Thanks --strk; () Free GIS Flash consultant/developer

Re: [geos-devel] Calling MinimumDiameter from C API

2011-03-02 Thread Sandro Santilli
On Thu, Mar 03, 2011 at 11:52:26AM +0800, jiajianying wrote: I find extern int GEOS_DLL GEOSLength(const GEOSGeometry* g1,double *length); actually calculates the minimum diameter. However, what is the complexity of this computation in GEOS? GEOSLength returns length for linear

Re: [geos-devel] Calling MinimumDiameter from C API

2011-03-03 Thread Sandro Santilli
On Fri, Mar 04, 2011 at 02:13:41PM +0800, jiajianying wrote: On 2011年03月03日 20:29, Sandro Santilli wrote: On Thu, Mar 03, 2011 at 04:28:09PM +0800, jiajianying wrote: How to extend C api? Edit the source file and submit to trunk? Is there any developer's guide? Here's the guide: 1

Re: [geos-devel] good to have visitor design pattern support

2011-03-15 Thread Sandro Santilli
On Tue, Mar 15, 2011 at 04:46:25PM +0530, Debabrata Bardhan wrote: I have found some future scope of enhancement of the library . Great. Feel free to send a patch to the tracker: http://trac.osgeo.org/geos Thanks. --strk; () Free GIS Flash consultant/developer /\

Re: [geos-devel] good to have visitor design pattern support

2011-03-21 Thread Sandro Santilli
On Mon, Mar 21, 2011 at 12:44:30PM +0530, Debabrata Bardhan wrote: Hi Sandro , how can i have any such pictorial diagram of complete GEOS class hierarchy from which i can have clear view of the class hierarchy? GEOS is a port of JTS, and tries to track it as close as possible. Diagrams are in

Re: [geos-devel] cannot convert ‘geos::geom::LineString*’ to ‘geos::geom::Geometry*’ in assignment

2011-03-21 Thread Sandro Santilli
On Thu, Mar 17, 2011 at 05:19:18PM +0530, Debabrata Bardhan wrote: Hello, I have a class as following . As i have notice Class LineString is derived from Geometry Class but when I am trying assing LineSegment object reference to a Geometry pointer , I am getting an error like *cannot

Re: [geos-devel] good to have visitor design pattern support

2011-03-21 Thread Sandro Santilli
On Mon, Mar 21, 2011 at 06:18:38PM +0530, Debabrata Bardhan wrote: Thank for your input Sandro . I have found some broken class diagram but i cudnt find and such complete class hierarchy diagram. Probably this task should be go in todo list. Patches to fix doxygen warnings are welcome too.

Re: [geos-devel] [PATCH 3/3] fix missing size_t with gcc 4.6

2011-03-26 Thread Sandro Santilli
Commited all of them. Extremely easy with git-am. Too bad I felt soo comfortable that I pushed before committing to svn, which forced me to re-import from scratch on github :/ --strk; On Sat, Mar 26, 2011 at 01:54:42PM +0100, mabr...@mabrand.nl wrote: From: Mark Brand mabr...@mabrand.nl ---

[geos-devel] Motion: GEOS-3.3.0 feature freeze

2011-04-13 Thread Sandro Santilli
Given PostGIS 2.0 is planned for June 15, I think it's worth having GEOS-3.3.0 out in time for it. See the NEWS file [1] for changes so far. [1] http://trac.osgeo.org/geos/browser/trunk/NEWS?rev=3265 I've provisionally set milestone due date to May 15 (on trac) but we can of course change it if

[geos-devel] Collapsed MinimalEdgeRing

2011-04-18 Thread Sandro Santilli
Martin, working on http://trac.osgeo.org/geos/ticket/398 I saw that the difference between JTS and GEOS is of a single bit, making JTS consider a collapsed ring as CCW while it is CW for GEOS. This makes the difference between an assertion failure or not. In JTS you get the collapsed ring (a

[geos-devel] trac admin for geos

2011-04-19 Thread Sandro Santilli
PSC: if anyone still around, can I get admin privs on geos trac ? I'd need to add some milestones. --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org

Re: [geos-devel] licensing when doing a static link of GEOS in iOS

2011-04-20 Thread Sandro Santilli
On Tue, Apr 19, 2011 at 05:01:39PM -0700, Ragi Burhum wrote: Sorry about bringing a licensing question, but I am curious. I know the implications of using LGPL code in shared libraries (on traditional apps), so no need to explain it there. However, I am curious as to the iOS case, where

Re: [geos-devel] New at GeoServer

2011-04-20 Thread Sandro Santilli
On Wed, Apr 20, 2011 at 10:51:23AM +0200, Abdoullah TAHRI JOUTI wrote: So I am having some lack of orientation and that's just what I am asking for in that post: Orientation. GeoServer this way: https://lists.sourceforge.net/lists/listinfo/geoserver-users --strk; () Free GIS Flash

[geos-devel] GEOS-3.3.0 enters feature freeze

2011-04-22 Thread Sandro Santilli
On Wed, Apr 20, 2011 at 05:18:49PM +0200, Sandro Santilli wrote: On Wed, Apr 13, 2011 at 09:28:56AM +0200, Sandro Santilli wrote: So, if you agree, I'd call feature-freeze in one week unless someone. Please PSC cast your votes. As it didn't work, I'll rephrase: So, if nobody disagrees

Re: [geos-devel] GEOS-3.3.0 enters feature freeze

2011-04-22 Thread Sandro Santilli
On Fri, Apr 22, 2011 at 09:41:35AM -0600, Sean Gillies wrote: Somebody pointed out to me yesterday that the GEOS C API is missing some prepared geometry functions (touches, etc). I think I might be getting a patch for this any day now and so if you don't mind, I'm going to travel back in time

[geos-devel] SingleSidedBuffer and OffsetCurve

2011-04-27 Thread Sandro Santilli
As of r3306 GEOS supports both offset curves (lines) _and_ single-sided buffers (polygons). This was a bit of a pain to districate as a GEOSSingleSidedBuffer interface entered C-API as of GEOS-3.2.0 but had the lineal semantic (offset curve) rather than the areal one (buffer on one side only).

Re: [geos-devel] SVN commits failing

2011-05-03 Thread Sandro Santilli
OSGeo had a problem with certificate renewals. Should be all fine now. --strk; On Mon, May 02, 2011 at 10:41:35AM -0600, Sean Gillies wrote: I've got a fix for #436, my first commit in a while, and I'm getting the following error message on a commit to http://svn.osgeo.org/geos/trunk. Anybody

Re: [geos-devel] SingleSidedBuffer and OffsetCurve

2011-05-07 Thread Sandro Santilli
On Fri, May 06, 2011 at 04:02:53PM -0700, Paul Ramsey wrote: Hey an API break... that'll affect PostGIS perhaps (I think we had a offset curve tied in?) and probably other folks, so we'll have to note that change prominently in the release notes. No C-API break. GEOSSingleSidedBuffer is still

[geos-devel] GEOS-3.0.0 ready to pack - Cmake cleanups ?

2011-05-10 Thread Sandro Santilli
I think GEOS is ready for packing, as far as automake is concerned. Are there cmake builders around ? Willing to take a look before shipping an RC1 ? --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___

[geos-devel] GEOS-3.3.0 ready to pack - cmake cleanups ?

2011-05-10 Thread Sandro Santilli
That's 3.3.0, ofc ... On Tue, May 10, 2011 at 12:09:03PM +0200, Sandro Santilli wrote: I think GEOS is ready for packing, as far as automake is concerned. Are there cmake builders around ? Willing to take a look before shipping an RC1 ? --strk; () Free GIS Flash consultant/developer

[geos-devel] GEOS-3.3.0rc1 tagged in SVN, ready to be published

2011-05-11 Thread Sandro Santilli
http://trac.osgeo.org/geos/browser/tags/3.3.0rc1 --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] GEOS-3.3.0rc1 released

2011-05-11 Thread Sandro Santilli
First release candidate of GEOS-3.3.0 is available for download: http://download.osgeo.org/geos/geos-3.3.0rc1.tar.bz2 Please test the build system and all your client against it. Note that C-API clients (like PostGIS) shouldn't need to be rebuilt, and would automatically use the newly installed

Re: [geos-devel] Second beta for ffi-geos extension now available

2011-05-12 Thread Sandro Santilli
On Wed, May 11, 2011 at 07:34:06PM -0400, J Smith wrote: - what were previously three buffer methods (buffer, buffer_with_style and buffer_with_params) have become one buffer method that allow for overloaded parameters that accomplish the same thing. No sense having all three methods that are

Re: [geos-devel] Second beta for ffi-geos extension now available

2011-05-12 Thread Sandro Santilli
On Thu, May 12, 2011 at 11:16:19AM -0400, J Smith wrote: On Thu, May 12, 2011 at 2:19 AM, Sandro Santilli s...@keybit.net wrote: Right. In the PHP binding I've made a single function taking an associative array for all the parameters (building a GEOSBufferParameter object). Yeah, I

Re: [geos-devel] Second beta for ffi-geos extension now available

2011-05-12 Thread Sandro Santilli
On Thu, May 12, 2011 at 09:42:20AM -0600, Sean Gillies wrote: On Thu, May 12, 2011 at 9:28 AM, Sandro Santilli s...@keybit.net wrote: On Thu, May 12, 2011 at 11:16:19AM -0400, J Smith wrote: On Thu, May 12, 2011 at 2:19 AM, Sandro Santilli s...@keybit.net wrote: Right. In the PHP binding

Re: [geos-devel] Second beta for ffi-geos extension now available

2011-05-12 Thread Sandro Santilli
On Thu, May 12, 2011 at 09:46:00AM -0700, Daniel Azuma wrote: Just a little opinion on this, as I'm actually starting to use ffi-geos. If it is to be the de facto ruby binding for GEOS, it should expose the same flexibility that GEOS provides, including control over when and whether to

Re: [geos-devel] NaN as coordinate value

2011-05-14 Thread Sandro Santilli
On Fri, May 13, 2011 at 05:35:30PM +0100, Mateusz Loskot wrote: Folks, The following code comes from the GEOSisValidDetailTest unit: geom_ = GEOSGeomFromWKT(LINESTRING(0 0, 10 0, NaN -5)); ensure(0 != geom_); Is this really supposed to construct geometry object? Shouldn't it read

Re: [geos-devel] Re: cmake maintainance and distribution

2011-05-18 Thread Sandro Santilli
On Tue, May 17, 2011 at 09:54:29PM -0500, William Kyngesburye wrote: On May 17, 2011, at 1:47 PM, Mateusz Loskot wrote: ... I aim to maintain CMake configuration. Is this enough to fix 441 for now? I have a patch for an option to generate an OS X framework. I was hoping to see this in

Re: [geos-devel] GEOS-3.3.0rc1 released

2011-05-19 Thread Sandro Santilli
On Thu, May 19, 2011 at 03:34:28PM -0400, Frank Warmerdam wrote: I have made a few fixes in trunk related to this: http://trac.osgeo.org/geos/changeset/3372 The changes to Makefile.vc are specific to this building approach. But the other changes could affect other builds. One was

Re: [geos-devel] GEOS-3.3.0rc1 released

2011-05-19 Thread Sandro Santilli
On Thu, May 19, 2011 at 04:15:57PM -0400, Frank Warmerdam wrote: On 11-05-19 03:53 PM, Sandro Santilli wrote: The change in PolygonBuilder.cpp looks suspicious. The found two shells in MinimalEdgeRing exception was even triggered by a recently closed bug. Could you reverse that and file

[geos-devel] GEOS-3.3.0rc2 tagged in SVN, ready to publish

2011-05-23 Thread Sandro Santilli
Second release candidate for 3.3.0 tagged: http://svn.osgeo.org/geos/tags/3.3.0rc2 --strk; () Free GIS Flash consultant/developer /\ http://strk.keybit.net/services.html ___ geos-devel mailing list geos-devel@lists.osgeo.org

[geos-devel] GEOS-3.3.0rc2 call for test

2011-05-25 Thread Sandro Santilli
Second release candidate of GEOS-3.3.0 is available for download: http://download.osgeo.org/geos/geos-3.3.0rc2.tar.bz2 Fixes since rc1: - Reduced memory usage / leaks during prepared MultiPolygon operations - Survive Inf/NaN ordinate values during overlay ops operations - Fix build on some

Re: [geos-devel] GEOS-3.3.0rc2 call for test

2011-05-27 Thread Sandro Santilli
On Fri, May 27, 2011 at 08:57:02AM -0500, William Kyngesburye wrote: The mac framework info.plist.in from r3376 didn't make it into the rc2 tarball. Fixed in trunk, thanks for noticing. I hope this one Won't need another RC. But you could test nightly snapshot tomorrow. --strk; () Free

[geos-devel] Announcing GEOS-3.3.0 and roadmap to 3.4.0

2011-05-30 Thread Sandro Santilli
GEOS 3.3.0 is out: http://download.osgeo.org/geos/geos-3.3.0.tar.bz2 This release introduces a fair amount of new C-API interfaces and a brand new PHP binding. Full details in the NEWS file: http://trac.osgeo.org/geos/browser/tags/3.3.0/NEWS As with any release since 3.0.0 there is complete

Re: [geos-devel] Building Multipolygons from Rings

2011-06-21 Thread Sandro Santilli
On Tue, Jun 21, 2011 at 11:13:51AM +0200, Frederik Ramm wrote: Is there a way how I can somehow pre-process my 100k node polygon to make the contains queries go faster? I have the impression that contains must do some preprocessing internally, and that maybe the same preprocessing is repeated

Re: [geos-devel] compiling 3.3.0 on 64-bit RHEL 6

2011-06-22 Thread Sandro Santilli
On Wed, Jun 22, 2011 at 6:19 PM, John Cartwright john.c.cartwri...@noaa.gov wrote: I'm getting an XMLTester error during make check after a successful compile (see below). Platform is 64-bit RHEL 6.1.  No options provided to configure.  Any ideas as to the problem?  Does this test failure

Re: [geos-devel] Upgrading to geos 3.3.0 broke all our codebase !

2011-07-08 Thread Sandro Santilli
On Fri, Jul 08, 2011 at 01:59:41PM +0200, Maxime van Noppen wrote: In geos there is: Geometry | +--- Puntal | | | | Point+ In JTS: Geometry | |Puntal | | | | Point+ Please correct me

Re: [geos-devel] Upgrading to geos 3.3.0 broke all our codebase !

2011-07-08 Thread Sandro Santilli
On Fri, Jul 08, 2011 at 05:57:49PM +0200, Maxime van Noppen wrote: On 07/08/2011 05:44 PM, Sandro Santilli wrote: You're basically noticing here that about 17 calls to malloc + 17 calls to free (34 calls of memory related functions) are taking up 41 + 15.2 = 56.2% of the time while 41

[geos-devel] BoundaryNodeRule for geometry operations

2011-07-13 Thread Sandro Santilli
. Cheers, Tai ___ Tai Meng | Software Developer | BIM Specialist Safe Software Inc. T 604.501.9985 x 246 tai.m...@safe.com | www.safe.com ___ On Thu, Jul 7, 2011 at 1:27 AM, Sandro Santilli s...@keybit.net wrote

Re: [geos-devel] Noding linework

2011-07-15 Thread Sandro Santilli
On Thu, Jul 14, 2011 at 08:17:55PM -0700, Martin Davis wrote: Yes, union() is supposed to fully node linework. This case works fine in JTS 1.11 (and JTS 1.12) - i.e. running the equivalent of polygonize( union( boundary(A), B). The output from the union checks out as being fully noded, and

Re: [geos-devel] WkbReader and Z-geometries

2011-08-04 Thread Sandro Santilli
On Thu, Aug 04, 2011 at 07:46:39AM +0200, Oyvind Idland wrote: Oh.. sweet chaos! The lack of a WKB-spec with Z (and M) ordinates seems to have triggered a bunch of WKB-flavours, such as - OGR's Two-and-a-half-D extensions for Simple Features - FDO's FGF-format - Postgis EWKB I found the

Re: [geos-devel] A little performance test: NTS VS GEOS

2011-08-16 Thread Sandro Santilli
Thanks Oyvind for the profiling. Yeah, WKB parser wasn't a priority as main user of the library (PostGIS) is using direct construction (via Points). Nonetheless it's annoying to be slower than a .NET thing, so if anyone is willing to fund a WKB parser speedup improvement I'll be glad to work on

Re: [geos-devel] RE: [GEOS] #468: Geometry breaks valid() and buffer(): Assertion failed: (0), function query, file AbstractSTRtree.cpp, line 286

2011-08-20 Thread Sandro Santilli
Please upload the smallest geometry with which you can reproduce the issue to the bug item you opened already. The error reveals a bogus use of the library. Since all code is internal to the library, this should never happen. I can think of two possibilities: 1) memory corruption (valgrind could

Re: [geos-devel] RE: [GEOS] #468: Geometry breaks valid() and buffer(): Assertion failed: (0), function query, file AbstractSTRtree.cpp, line 286

2011-08-24 Thread Sandro Santilli
I guess GeoDjango is using the C++ API ? Ahi ahi ahi ... (yes, it changed, see NEWS file) --strk; On Mon, Aug 22, 2011 at 11:58:44AM -0700, Christopher DeMars wrote: I'm thinking that there must be some sort of conflict between the GEOS and geodjango. Has the API changed significantly lately?

Re: [geos-devel] possible memory leak in InteriorPointArea

2011-09-07 Thread Sandro Santilli
On Tue, Sep 06, 2011 at 10:07:10PM +0200, Peter Körner wrote: Hi guys! I guess I'm just using the InteriorPointArea wrong, but I get a memory-leak reported in valgrind: ==2887== 168 (48 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 26 of 27 ==2887==at

Re: [geos-devel] possible memory leak in InteriorPointArea

2011-09-07 Thread Sandro Santilli
On Wed, Sep 07, 2011 at 06:09:37PM +0200, Peter Körner wrote: Am 07.09.2011 16:35, schrieb Sandro Santilli: On Tue, Sep 06, 2011 at 10:07:10PM +0200, Peter Körner wrote: Hi guys! I guess I'm just using the InteriorPointArea wrong, but I get a memory-leak reported in valgrind: Build

Re: [geos-devel] segfault against 3.3.0 C++

2011-09-09 Thread Sandro Santilli
On Fri, Sep 9, 2011 at 2:01 AM, Matt Perry perry...@gmail.com wrote:   406          Polygon* geos_poly = (Polygon*) poly-exportToGEOS(); Try dynamic_cast, and guard against 0. --strk; Free GIS Flash consultant/developer http://strk.keybit.net/services.html

Re: [geos-devel] possible memory leak in InteriorPointArea

2011-09-10 Thread Sandro Santilli
On Wed, Sep 07, 2011 at 11:01:41PM +0200, Peter Körner wrote: I have a test case and am willing to file a bug report, but I'm unable to submit the form at https://www2.osgeo.org/cgi-bin/ldap_create_user.py - it always tells me that the User Creation Failed without giving a hint if my

Re: [geos-devel] segfault against 3.3.0 C++

2011-09-10 Thread Sandro Santilli
On Sat, Sep 10, 2011 at 08:15:01AM -0700, Matt Perry wrote: On Sat, Sep 10, 2011 at 3:09 AM, Sandro Santilli s...@keybit.net wrote: On Fri, Sep 09, 2011 at 07:46:26PM +0200, Peter Körner wrote: Seems OGR's exportToGEOS() followed the recommendation* and implemented the C-wrapper instead

Re: [geos-devel] Motion: Commit access for Oliver Tonnhofer

2011-09-20 Thread Sandro Santilli
On Tue, Sep 20, 2011 at 10:17:47AM +0200, Oliver Tonnhofer wrote: On 18.09.2011, at 11:10, Sandro Santilli wrote: Oliver: are you aware of the git mirror ? Does it make your contribution workflow easier ? The one on your Github account? Isn't that read-only, will pull requests work

[geos-devel] GeometrySnapper stability

2011-09-21 Thread Sandro Santilli
Martin, I've found that GeometrySnapper depends on the order in which snap points are considered. Check this out: Tolerance: 1 Input: LINESTRING(0 0, 10 0) SnapGeom: MULTIPOINT(5 0.8, 5 1.6) Result: LINESTRING(0 0,5 1.6,5 0.8,10 0) SnapGeom: MULTIPOINT(5 1.6, 5 0.8)

[geos-devel] 3.2.3 tagged, ready to be published

2011-09-21 Thread Sandro Santilli
geos-3.2.3 is tagged in SVN repository. Tarball could not be published due to osgeo host downtime: http://trac.osgeo.org/osgeo/ticket/805 This in a bugfix only release: - ValidOp abort in presence of 2 touching holes forming an island (#449) - DistanceOp segfaults on MULTIPOLYGON with EMPTY

Re: [geos-devel] Moving to github

2011-09-21 Thread Sandro Santilli
On Tue, Sep 20, 2011 at 08:48:03AM -0500, Howard Butler wrote: On Sep 20, 2011, at 8:35 AM, Sandro Santilli wrote: On Tue, Sep 20, 2011 at 08:26:12AM -0500, Howard Butler wrote: On Sep 20, 2011, at 3:32 AM, Sandro Santilli wrote: I'd be happier with an OSGEO solution. I do not have

Re: [geos-devel] Moving to github

2011-09-21 Thread Sandro Santilli
On Wed, Sep 21, 2011 at 04:44:28PM +0100, Mateusz Loskot wrote: On 21/09/11 16:25, Sandro Santilli wrote: On Tue, Sep 20, 2011 at 08:48:03AM -0500, Howard Butler wrote: On Sep 20, 2011, at 8:35 AM, Sandro Santilli wrote: On Tue, Sep 20, 2011 at 08:26:12AM -0500, Howard Butler wrote

Re: [geos-devel] Moving to github

2011-09-27 Thread Sandro Santilli
On Sat, Sep 24, 2011 at 11:45:40PM +0100, Mateusz Loskot wrote: On 23/09/11 12:28, Sandro Santilli wrote: On Fri, Sep 23, 2011 at 11:46:23AM +0100, Mateusz Loskot wrote: On 21/09/11 17:08, Sandro Santilli wrote: On Wed, Sep 21, 2011 at 04:44:28PM +0100, Mateusz Loskot wrote: IOW, how

[geos-devel] GEOS 3.3.1 tagged

2011-09-27 Thread Sandro Santilli
First bugfix release in the 3.3 series is tagged and ready for upload http://trac.osgeo.org/geos/browser/tags/3.3.1 Changes in 3.3.1: - Bug fixes / improvements - Fix memory leak on invalid geometry in InteriorPointArea (#475) - ValidOp abort in presence of 2 touching holes forming an

[geos-devel] Re: MakeValid in GEOS/JTS ?

2011-09-29 Thread Sandro Santilli
- such as in the PostGIS MakeValid routine. The main focus of the work for me would be to make an efficient, robust way of creating valid polygons from bad data. Martin On Wed, Sep 28, 2011 at 8:15 AM, Sandro Santilli s...@keybit.net wrote: Martin, I've heard you've been considering

Re: [geos-devel] Moving to github

2011-10-18 Thread Sandro Santilli
On Tue, Sep 27, 2011 at 09:11:20PM +0100, Mateusz Loskot wrote: On 27/09/11 13:45, Sandro Santilli wrote: On Sat, Sep 24, 2011 at 11:45:40PM +0100, Mateusz Loskot wrote: Also, Alex (wildintellect) mentioned [1] OSGeo may introduce Git support in near future. ...handing over

Re: [geos-devel] Problems with BufferOp when using BufferParameters

2011-10-26 Thread Sandro Santilli
On Wed, Oct 26, 2011 at 12:14:59PM +0200, Markus Meyer wrote: // Working code geos::geom::Polygon* pPolygon = dynamic_castgeos::geom::Polygon*( geos::operation::buffer::BufferOp::bufferOp( pLineString, fOffset, 16,

Re: [geos-devel] Problems with BufferOp when using BufferParameters

2011-10-26 Thread Sandro Santilli
On Wed, Oct 26, 2011 at 02:58:34PM +0200, Markus Meyer wrote: Sandro thanks for the quick answer. I changed the constructor (and also the other constructors) according to your scheme but this changed nothing. (Actually I'd guess that the local variable hides the instance variable here

Re: [geos-devel] Problems with BufferOp when using BufferParameters

2011-10-29 Thread Sandro Santilli
On Sat, Oct 29, 2011 at 12:36:34AM +0100, Mateusz Łoskot wrote: On 28 October 2011 10:39, Markus Meyer me...@mesw.de wrote: Mateusz, thanks for creating the test. Here are information about the used coordinates and the used offset (dumped from the code): Coordinate #0 = 0.0, 0.0

[geos-devel] Call for test of the 3.3 branch

2011-12-09 Thread Sandro Santilli
I've spent the last couple of weeks hunting buffer robustness issues and fixing few more bugs in the 3.3 branch. I'd release a 3.3.2 shortly with the fixes. Biggest change is in Buffer operation, specifically in handling of reduced precision buffering in case of a topology exception raised with

[geos-devel] Change in overlay failure handling heuristic

2011-12-15 Thread Sandro Santilli
Dear overlayers and exception catchers, as of r3552 the heuristic used for trying to get to some kind of overlay result in case of robustness issues (BinaryOp) has been augomented to perform an additional check to the results of snapping the input geometries each-other, and running a self-union

Re: [geos-devel] some compile error in vs2008

2012-01-23 Thread Sandro Santilli
On Tue, Jan 24, 2012 at 01:21:34PM +0800, tang wrote: i have changed The BufferOp.cpp you attach is not different from the one in SVN trunk. What did you change ? In which GEOS version ? An unified diff works better, if anything still needed. --strk; () Free GIS Flash

Re: [geos-devel] Geos Python bindings

2012-02-20 Thread Sandro Santilli
On Mon, Feb 20, 2012 at 05:05:23PM +0100, Alessandro Candini wrote: Hi. I have compiled geos-3.3.2 with python bindings enabled. So I get the following python files: geos.py tests/runtests.py tests/example.py tests/test_geometry.py But in them I cannot find the MinimumDiameter object

Re: [geos-devel] Geos Python bindings

2012-02-21 Thread Sandro Santilli
On Tue, Feb 21, 2012 at 09:01:02AM +0100, Alessandro Candini wrote: What do you mean to expose MinimumDIameter at C-API level? It means adding a proxy call in the C proxy library. It takes: 1) defining the interface and having it reviewed 2) writing tests covering bogus calls, common and

Re: [geos-devel] 3.3.3?

2012-02-21 Thread Sandro Santilli
On Tue, Feb 21, 2012 at 10:35:08AM -0800, Paul Ramsey wrote: Any objection to my pushing out a 3.3.3? I see there are some small win32 fixes that I'm sure folks would enjoy not having to handfix building the tarball (having just hand-fixed them myself). Let's at least take a look at the 6 open

Re: [geos-devel] 3.3.3?

2012-02-22 Thread Sandro Santilli
On Wed, Feb 22, 2012 at 10:29:08AM -0700, Sean Gillies wrote: On Tue, Feb 21, 2012 at 11:52 PM, Sandro Santilli s...@keybit.net wrote: On Tue, Feb 21, 2012 at 10:35:08AM -0800, Paul Ramsey wrote: Any objection to my pushing out a 3.3.3? I see there are some small win32 fixes that I'm sure

Re: [geos-devel] JTS - Change to semantics of overlay operations with EMPTY outputs

2012-02-28 Thread Sandro Santilli
On Mon, Feb 27, 2012 at 09:54:56PM -0800, Martin Davis wrote: * For symmetric difference, the output will have the type of the lowest-dimension input E.g. symDifference(POLYGON EMPTY, LINESTRING EMPTY) = LINESTRING EMPTY symDifference(LINESTRING EMPTY, POLYGON EMPTY) = LINESTRING

Re: [geos-devel] Modifying vertices without copying ?

2012-03-15 Thread Sandro Santilli
On Thu, Mar 15, 2012 at 10:45:31AM +0100, Oyvind Idland wrote: is it possible in some way to modify vertices on geometries, without making copies ? It should be possible with the C++ api. Check out coordinate transformation classes. Probably not very well tested. --strk; ,--o-. |

Re: [geos-devel] Project Officer

2012-03-21 Thread Sandro Santilli
On Tue, Mar 20, 2012 at 03:23:41PM -0700, Frank Warmerdam wrote: GEOS PSC, I am recommending the GEOS project to the incubation committee for graduation. One part of that is the need identify a Project Officer. Usually this is the PSC Chair though GEOS does not seem to have identified a

Re: [geos-devel] Project Officer

2012-03-22 Thread Sandro Santilli
; On Thu, Mar 22, 2012 at 09:19:01AM -0700, Paul Ramsey wrote: +1, rock on On Wed, Mar 21, 2012 at 1:34 AM, Sandro Santilli s...@keybit.net wrote: On Tue, Mar 20, 2012 at 03:23:41PM -0700, Frank Warmerdam wrote: GEOS PSC, I am recommending the GEOS project to the incubation committee

Re: [geos-devel] Expose Extract Line

2012-03-30 Thread Sandro Santilli
On Wed, Mar 28, 2012 at 03:51:19PM -0300, George Silva wrote: Hello GEOS guys and gals! I would like to request that the Extract Line by Location function ( http://geos.osgeo.org/doxygen/classgeos_1_1linearref_1_1ExtractLineByLocation.html) to be exposed in geos public API. What is the

Re: [geos-devel] 3.3.3?

2012-04-02 Thread Sandro Santilli
On Sun, Apr 01, 2012 at 02:56:52PM -0700, Paul Ramsey wrote: In order to have a 3.3.3 on the street to match up to PostGIS 2.0 I just dropped one out. It's the windows build issues plus the collections-with-empty fix you added. Good. Could you please also shift all 3.3.3 tickets up to 3.3.4

Re: [geos-devel] 3.3.3?

2012-04-02 Thread Sandro Santilli
On Mon, Apr 02, 2012 at 09:07:41AM +0200, Sandro Santilli wrote: On Sun, Apr 01, 2012 at 02:56:52PM -0700, Paul Ramsey wrote: In order to have a 3.3.3 on the street to match up to PostGIS 2.0 I just dropped one out. It's the windows build issues plus the collections-with-empty fix you added

[geos-devel] Boundary node rule

2012-04-02 Thread Sandro Santilli
I've started a wiki page about the need for specifying a boundary node rule for a set of operations: http://trac.osgeo.org/geos/wiki/BundaryNodeRule The issue came out in the past with a proposal to make BNR part of a Geometry, the proposal wasn't accepted because it should really be an

Re: [geos-devel] Re: [GEOS] #527: Union and UnaryUnion both fail at correctly node input lines

2012-04-03 Thread Sandro Santilli
On Mon, Apr 02, 2012 at 10:13:16PM -0700, Martin Davis wrote: JTS uses the FastNodingValidator to check for correctly noded line arrangements. Basically it checks for any interior-interior segment intersections, using indexing to speed things up. And yes, the OGC operation semantics aren't

Re: [geos-devel] GEOSEnvelope and getting Max/Min X/Y

2012-04-11 Thread Sandro Santilli
On Wed, Apr 11, 2012 at 11:33:42AM -0400, Alex Trofast wrote: Greetings, When you have an envelope created from GEOSEnvelope (all using the CAPI) what is the best and easiest way to grab the max and min x/y? CoordSeq? I see in the C++ envelope class there is a getMaxX, GetMaxY and so on.

Re: [geos-devel] polygon with overlapping edges

2012-04-13 Thread Sandro Santilli
On Fri, Apr 13, 2012 at 11:52:20AM +0200, Jasmin FORMONT wrote: Hi everyone I am currently testing some GEOS features. I am having trouble with polygons with overlapping edges. You can see attached an example of what I use (dxf file). When loaded as a GEOS polygon, it is considered not

[geos-devel] New strategy for GEOS interruptability

2012-05-25 Thread Sandro Santilli
After the bloody fight with custom memory allocators I decided to change strategy and approached explicit support in GEOS for interruption requests and a signal handler to trigger it. It proves effective and much cleaner so far. I've been testing it by installing an handler for SIGINT straight

[geos-devel] Re: New strategy for GEOS interruptability

2012-05-25 Thread Sandro Santilli
at 02:42:23PM +0200, Sandro Santilli wrote: After the bloody fight with custom memory allocators I decided to change strategy and approached explicit support in GEOS for interruption requests and a signal handler to trigger it. It proves effective and much cleaner so far. I've been testing

[geos-devel] Closing up 3.3.4

2012-05-28 Thread Sandro Santilli
I'd like to cut a 3.3.4 release, to go along with upcoming PostGIS 2.0.1. After triaging there are 4 tickets left for the milestone: http://trac.osgeo.org/geos/query?status=assignedstatus=newstatus=reopenedmilestone=3.3.4 Non would be blocker in my opinion, do you think any is ? Any other issue

Re: [geos-devel] Closing up 3.3.4

2012-05-30 Thread Sandro Santilli
happy to push out a tarball. P. On Mon, May 28, 2012 at 4:17 PM, Sandro Santilli s...@keybit.net wrote: I'd like to cut a 3.3.4 release, to go along with upcoming PostGIS 2.0.1. After triaging there are 4 tickets left for the milestone: http://trac.osgeo.org/geos/query?status=assignedstatus

Re: [geos-devel] how to know if two linestrings really cross each other

2012-05-30 Thread Sandro Santilli
On Wed, May 30, 2012 at 12:40:19PM +0200, Jasmin FORMONT wrote: Hi everyone I can't find a way to tell if two linestrings really cross each other. For instance if I have this linestring : Line1 : LINESTRING(0 0, 1 1, 2 0) How can I differentiate the relation of line 1 with one of the

Re: [geos-devel] 3.3.4 Released

2012-06-04 Thread Sandro Santilli
On Fri, Jun 01, 2012 at 06:42:33PM -0400, Greg Troxel wrote: Paul Ramsey pram...@opengeo.org writes: http://download.osgeo.org/geos/geos-3.3.4.tar.bz2 Changes in 3.3.4 2012-05-31 Missing from NEWS is that the shlib version changed in such a way that programs linked against geos

Re: [geos-devel] 3.3.4 Released

2012-06-05 Thread Sandro Santilli
On Mon, Jun 04, 2012 at 04:06:20PM -0400, Greg Troxel wrote: Sandro Santilli s...@keybit.net writes: C library clients are fine. C++ library clients are warned. Do you mean the using the C++ library is discouraged in the docs? Yes. That seems to be a hint that it's better to use the C

Re: [geos-devel] compile on aix

2012-06-05 Thread Sandro Santilli
On Mon, Jun 04, 2012 at 07:31:38PM +0300, Emre Ersin wrote: g++: internal compiler error: Segmentation fault (program as) ... (It says assembly command as gives the fault but I am not sure) Yes, it does say that. Does anyone have any clue? Send a bug report to the GCC team. --strk;

Re: [geos-devel] 3.3.4 Released

2012-06-05 Thread Sandro Santilli
On Tue, Jun 05, 2012 at 10:56:33AM -0400, Greg Troxel wrote: Sandro Santilli s...@keybit.net writes: On Mon, Jun 04, 2012 at 04:06:20PM -0400, Greg Troxel wrote: OK, understood about ABI being unstable, and will try to send a patch. It sounds like then that geos considers any direct use

Re: [geos-devel] build error...

2012-06-06 Thread Sandro Santilli
On Wed, Jun 06, 2012 at 07:27:14AM -0400, David Burken wrote: Hi, Get this error now from svn checkout / cmake build on both linux and Mac: [ 83%] Building CXX object capi/CMakeFiles/geos_c.dir/geos_ts_c.cpp.o /work/osgeo/geos/geos-svn/capi/geos_ts_c.cpp:96:34: fatal error:

  1   2   3   4   5   6   >