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

David Mitchell david.mitchell at telogis.com
Wed Mar 24 14:46:43 PST 2004


Brilliant, installing postgis 0.8.1 and postgres 7.4 fixed the problem 
perfectly. Thanks guys

David Mitchell wrote:
> I'm running Redhat 9.0 with Postgres 7.4 and Postgis 0.8.0 (ok, so not 
> latest version).
> 
> I'll try on latest versions and see how I fare,
> 
> Thanks
> 
> David
> 
> Paul Ramsey wrote:
> 
>> And what platform are you running on?
>>
>> strk wrote:
>>
>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> postgis-users mailing list
>>> postgis-users at postgis.refractions.net
>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
>>
>>
>>
> 
> 


-- 
David Mitchell
Software Engineer
Telogis

NOTICE:
This message (including any attachments) contains CONFIDENTIAL
INFORMATION intended for a specific individual and purpose, and
is protected by law.  If you are not the intended recipient,
you should delete this message and are hereby notified that any
disclosure, copying, or distribution of this message, or the
taking of any action based on it, is strictly prohibited.



More information about the postgis-users mailing list