[postgis-devel] [PostGIS] #408: Catch "Exception in LWGEOM2GEOS" in ST_IsValid
PostGIS
trac at osgeo.org
Thu Feb 4 12:57:58 PST 2010
#408: Catch "Exception in LWGEOM2GEOS" in ST_IsValid
-------------------------+--------------------------------------------------
Reporter: ddegasperi | Owner: pramsey
Type: enhancement | Status: new
Priority: medium | Milestone:
Component: postgis | Version: 1.4.X
Keywords: |
-------------------------+--------------------------------------------------
i've got following Exception:
{{{
NOTICE: IllegalArgumentException: point array must contain 0 or >1
elements, ERROR: Exception in LWGEOM2GEOS
}}}
by executing this query (or try to do anything else on it, except for
numpoints or geometrytype):
{{{
SELECT
isvalid('0105000020E0670000010000000102000020E06700000100000016DA52BA62A04141FFF3AD290B735241');
}}}
ST_IsValid should catch this Exception and return an appropriate result
(false)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/408>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list