[postgis-devel] st_isvalid linestring and multilinestring

strk strk at keybit.net
Tue Mar 2 12:17:17 PST 2010


On Mon, Mar 01, 2010 at 06:40:28PM +0100, strk wrote:
> On Mon, Mar 01, 2010 at 09:37:23AM -0800, Martin Davis wrote:
> > JTS reports both of these as invalid, because of the LineString which 
> > has only a single effective point.
> > 
> > I think this is according to the letter of the SFS spec, but you could 
> > argue that they are being too restrictive.... 
> 
> I wasn't intending to argue anything, just noticing there is a bug
> in GEOS if JTS reports both as invalid (ouch).

Martin, would you mind adding the testcase to JTS testsuite ?
Just so GEOS and JTS can share those testcases (we already share
all of the general/*Valid* ones...

--strk;

  Share. It's fair.
  http://iwouldntsteal.net



More information about the postgis-devel mailing list