[postgis-users] New within problem (was:(URGENT BUGFIX (was: twodifferent geometries with the same Astext))

strk at refractions.net strk at refractions.net
Thu Jul 28 09:38:27 PDT 2005


On Thu, Jul 28, 2005 at 08:43:17AM -0700, Martin Davis wrote:
> Strk, running the given test case in JTS returns g1.within(g1) = true.
> I'm pretty sure this is the correct answer.    Converting the geometries
> to LineStrings gives the same result.
> 
> So there does seem to be a discrepancy between PostGIS and JTS here...

g1.within(g1) always returns true, I confirm this
(I was wrong about definition of within).
I did not notice any discrepancy between GEOS and JTS.

This is one of the cases in which having hex-wkb parsing
capability in JTS would help (read my other message for
details)...

--strk;




More information about the postgis-users mailing list