[postgis-commits] svn - r3831 - trunk/liblwgeom
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Tue Mar 10 09:26:13 PDT 2009
Author: mcayland
Date: 2009-03-10 09:26:09 -0700 (Tue, 10 Mar 2009)
New Revision: 3831
Modified:
trunk/liblwgeom/lwgunparse.c
Log:
Augment comment related to Paul's fix for GBT#130 as I'm bound to forget why we decided to do this at a later date...
Modified: trunk/liblwgeom/lwgunparse.c
===================================================================
--- trunk/liblwgeom/lwgunparse.c 2009-03-10 16:24:50 UTC (rev 3830)
+++ trunk/liblwgeom/lwgunparse.c 2009-03-10 16:26:09 UTC (rev 3831)
@@ -348,7 +348,12 @@
dimcount++;
}
- /* Check if they are the same... */
+ /* Check if they are the same...
+
+ WARNING: due to various GEOS bugs related to producing rings with incorrect
+ 3rd dimensions, the closure check here for outgoing geometries only checks on 2
+ dimensions. This is currently different to the parser! */
+
if (
(first_point[0] != last_point[0] || first_point[1] != last_point[1] ) &&
(current_unparser_check_flags & PARSER_CHECK_CLOSURE))
More information about the postgis-commits
mailing list