[postgis-devel] [PostGIS] #712: ST_IsValidDetail and ST_IsValidReason POLYGON CRASH (was: ST_IsValidDetail POLYGON CRASH)
PostGIS
trac at osgeo.org
Wed Dec 15 04:00:58 PST 2010
#712: ST_IsValidDetail and ST_IsValidReason POLYGON CRASH
---------------------+------------------------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Comment(by robe):
SELECT ST_IsValidReason(ST_GeomFromText('POLYGON EMPTY',4326))
also crashes.
{{{ --this works as long as you don't introduce POLYGON EMPTY
SELECT ST_IsValidReason(geom), ST_IsValidDetail(geom)
FROM (SELECT ST_GeomFromText('POINT EMPTY',4326)
UNION ALL SELECT ST_GeomFromText('MULTIPOINT EMPTY',4326)
UNION ALL SELECT ST_GeomFromText('MULTIPOLYGON
EMPTY',4326)
UNION ALL SELECT ST_GeomFromText('LINESTRING EMPTY',4326)
UNION ALL SELECT ST_GeomFromText('MULTILINESTRING EMPTY',4326) )
As foo(geom);
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/712#comment:1>
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