[geos-devel] [GEOS] #275: Topology Exception on valid geometries

Martin Davis mbdavis at refractions.net
Mon Jul 6 14:04:32 EDT 2009


strk,

I'm unable to login to the GEOS trac right now, so I'm following up on 
the list.

I didn't build an actual test case, I just tried it in the TestBuilder.  
But adding this as a test case is a good idea!

strk wrote:
> On Mon, Jul 06, 2009 at 09:44:40AM -0700, Martin Davis wrote:
>   
>> This works in JTS.
>>     
>
> It works in trunk too when converted to an XML testcase.
> I'll update the trac issue ASAP. Martin: I'd appreciate if
> you could follow up there. TIA.
>
> --strk;
>
>
>   
>>> #275: Topology Exception on valid geometries
>>> ------------------------+---------------------------------------------------
>>> Reporter:  yabo        |       Owner:  geos-devel at lists.osgeo.org
>>>     Type:  defect      |      Status:  new                       
>>> Priority:  major       |   Milestone:  3.1.1                     
>>> Component:  Default     |     Version:  svn-trunk                 
>>> Severity:  Unassigned  |    Keywords:                            
>>> ------------------------+---------------------------------------------------
>>> Hi,
>>>
>>> I've encoutered a situation where two valid geometries (as stated by
>>> IsValidOp) throw a Topology Exception when being unioned. The first
>>> geometry is a MultiPolygon and the second a Polygon. Unfortunately I
>>> couldn't shrink the geometries down to a human-parsable size.
>>>
>>> I have this problem with both geos-3.1.0 and geos-svn-trunk.
>>>
>>> The reported error is :
>>> {{{
>>> TopologyException: found non-noded intersection between -3138.99 39.9929,
>>> -3195.93 131.777 and -3145.05 62.5969, -3138.99 39.9929 -3138.99 39.9929
>>> }}}
>>>
>>> I've attached the test program source to the ticket.
>>>
>>> Thanks,
>>>
>>>  
>>> ------------------------------------------------------------------------
>>>       
>
>   

-- 
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022



More information about the geos-devel mailing list