[postgis-tickets] [PostGIS] #4556: st_asmvtgeom sometimes produces leaking polygons (postgis 3.0)
PostGIS
trac at osgeo.org
Tue Oct 22 08:36:02 PDT 2019
#4556: st_asmvtgeom sometimes produces leaking polygons (postgis 3.0)
----------------------+---------------------------
Reporter: anneb | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.0.0
Component: postgis | Version:
Resolution: | Keywords:
----------------------+---------------------------
Comment (by Algunenano):
It seems this happens because the polygon becomes invalid after the calls
to simplify it:
{{{
/* Remove all non-essential points (under the output resolution)
*/
lwgeom_remove_repeated_points_in_place(lwgeom, res);
lwgeom_simplify_in_place(lwgeom, res, preserve_collapsed);
}}}
Before doing anything the polygon is valid, and if I remove these lines
the output is correct (see mvt_default.png vs mvt_nosimplification.png).
Maybe it's time to revisit https://trac.osgeo.org/postgis/ticket/4149 and
maybe remove the simplification step for wagyu at least.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4556#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