[postgis-tickets] [PostGIS] #4314: ST_AsMVTGeom: IllegalArgumentException
PostGIS
trac at osgeo.org
Wed Jan 30 08:39:09 PST 2019
#4314: ST_AsMVTGeom: IllegalArgumentException
-------------------------+---------------------------
Reporter: Algunenano | Owner: Algunenano
Type: defect | Status: assigned
Priority: high | Milestone: PostGIS 2.4.7
Component: postgis | Version: 2.4.x
Resolution: | Keywords:
-------------------------+---------------------------
Comment (by Algunenano):
According to the manual for ST_ClipByBox2D:
{{{
Topologically invalid input geometries do not result in exceptions being
thrown.
}}}
On the other hand `lwgeom_clip_by_rect` might call `GEOS_FAIL` and
`GEOS_FREE_AND_FAIL`, which calls `lwerror` throwing an exception.
I think the proper action here would be to call `lwdebug` or `lwnotice`
instead and return NULL.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4314#comment:2>
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-tickets
mailing list