[postgis-tickets] [PostGIS] #4744: St_AsMVT Errors on Some Polygons with Inner Rings
PostGIS
trac at osgeo.org
Tue Aug 18 08:18:07 PDT 2020
#4744: St_AsMVT Errors on Some Polygons with Inner Rings
--------------------------+---------------------------
Reporter: reyemtm | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.1.0
Component: postgis | Version: 3.0.x
Keywords: vector tiles |
--------------------------+---------------------------
This is possibly related to issue #3712. I have an impervious surface
layer which is a multipolygon layer with many inner rings. Above zoom
level 18, so 0-17, the "holes" get filled in using Mapbox GL JS, while the
GeoJSON export of this layer when used directly draws with minimal
artifacts. It would seem like this is due to simplification, not sure. I
did try to use the ST_AsMVT(ST_MakeValid(geom)) but that did nothing.
For an example picture see the issue I made on the pg_tileserv repo -
https://github.com/CrunchyData/pg_tileserv/issues/48. This has a link to
the GeoJSON data as well.
If there is anything I should try or other tricks let me know.
Thanks
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4744>
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