[postgis-devel] st_isvalid linestring and multilinestring
strk
strk at keybit.net
Tue Mar 2 12:32:36 PST 2010
I've found the bug in GEOS, but also unused code in JTS
which probably confused the porting process.
In IsValidOp.java you're using an 'isChecked' private
boolean which you then never use.
I guess it used to be used before like it is in GEOS,
only it prevents (in GEOS) checking validity of any
component past the first of any MULTI* !!!
Haven't checked in previous versions but the fact
neither JTS nor GEOS contained *any* testcase for
invalid geoms being after first one is pretty scary.
--strk;
Share. It's fair.
http://iwouldntsteal.net
More information about the postgis-devel
mailing list