[postgis-tickets] [PostGIS] #5241: ST_SnapToGrid crashes on multipolygon with an empty polygon
PostGIS
trac at osgeo.org
Thu Oct 27 08:20:02 PDT 2022
#5241: ST_SnapToGrid crashes on multipolygon with an empty polygon
----------------------+---------------------------
Reporter: robe | Owner: robe
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 3.0.8
Component: postgis | Version: 3.2.x
Resolution: | Keywords:
----------------------+---------------------------
Changes (by robe):
* owner: pramsey => robe
Old description:
> {{{
> SELECT ST_SnapToGrid(foo1.the_geom, 20.1, 20.1, 20.1, 20.1) As result
> FROM (
> (SELECT ST_GeomFromText('MULTIPOLYGON (((9 9, 9 1, 1 1, 2
> 4, 7 7, 9 9)), EMPTY)', 4326) As the_geom ) ) As foo1 LIMIT 10;
> }}}
>
> I tested this on 3.2.4dev, but assume it crashes on older
New description:
{{{
SELECT ST_SnapToGrid(foo1.the_geom, 20.1, 20.1, 20.1, 20.1) As result
FROM (
(SELECT ST_GeomFromText('MULTIPOLYGON (((9 9, 9 1, 1 1, 2
4, 7 7, 9 9)), EMPTY)', 4326) As the_geom ) ) As foo1 LIMIT 10;
}}}
I tested this on 3.2.4dev, but assume it crashes on older
--
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5241#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-tickets
mailing list