[postgis-users] Intersection doesn't work on some data

strk strk at keybit.net
Wed Mar 24 10:11:04 PST 2004


This is what I get with postgis-CVS:

SRID=-1;MULTILINESTRING((-121.33193 41.18388,-121.34693 41.18388),
(-121.34693 41.18388,-121.36293 41.18388),(-121.36293 41.18388,
-121.36545 41.18388),(-121.36545 41.18388,-121.37179 41.18388),
(-121.37179 41.18388,-121.37608 41.18402),(-121.37608
41.18402,-121.44594 41.18385))

This is what you reported as the correct answer:

MULTILINESTRING ((-121.331929 41.18388, -121.34693 41.18388),
(-121.34693 41.18388, -121.36293 41.18388), (-121.36293 41.18388,
-121.36544 41.18388), (-121.36544 41.18388, -121.37179 41.18388),
(-121.37179 41.18388, -121.37608 41.18401), (-121.37608
41.184019, -121.44593 41.18384))

There is a 0.00001 displacement, but I think the bug you reported 
has already been fixed. What version of postgis are you running ?

--strk;

On Wed, Mar 24, 2004 at 07:02:20PM +0100, strk wrote:
> On Wed, Mar 24, 2004 at 09:40:28AM -0800, David Blasby wrote:
> > David,
> > 
> > Thanks for your excellent bug report - it should be "easy" to track down 
> > whats causing this problem given all your information.
> > 
> > Its almost certainly involving the conversion between postgis and GEOS - 
> > this usually occurs if there's a missed byte somewhere.
> > 
> > Unfortunately, I dont have time to look at this until the beginning of 
> > April - perhaps strk could?
> > 
> > dave
> 
> Yes. I'll take this.
> 
> --strk;
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list