[geos-devel] Re: [GEOS] #239: Bug in GEOSEquals predicate
GEOS
geos-trac at osgeo.org
Sun Mar 15 03:21:43 EDT 2009
#239: Bug in GEOSEquals predicate
------------------------+---------------------------------------------------
Reporter: pleroux | Owner: geos-devel at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 3.1.0
Component: Default | Version: 3.0.3
Severity: Unassigned | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by pleroux):
I think it is a more general problem, linked to the intersection
geometry.[[BR]]
With the same variable names as in the script above :
{{{
>>> p1.contains(inter)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/Shapely-1.0.11-
py2.5.egg/shapely/predicates.py", line 34, in __call__
return bool(self.fn(self.context._geom, other._geom))
File "/usr/lib/python2.5/site-packages/Shapely-1.0.11-
py2.5.egg/shapely/predicates.py", line 21, in errcheck
raise PredicateError, "Failed to evaluate %s" % repr(self.fn)
shapely.geos.PredicateError: Failed to evaluate <_FuncPtr object at
0x8a8a984>
>>>
>>> p2.contains(inter)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/Shapely-1.0.11-
py2.5.egg/shapely/predicates.py", line 34, in __call__
return bool(self.fn(self.context._geom, other._geom))
File "/usr/lib/python2.5/site-packages/Shapely-1.0.11-
py2.5.egg/shapely/predicates.py", line 21, in errcheck
raise PredicateError, "Failed to evaluate %s" % repr(self.fn)
shapely.geos.PredicateError: Failed to evaluate <_FuncPtr object at
0x8a8a984>
}}}
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/239#comment:1>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list