[PostGIS] #6145: ST_AsMVTGeom: skip wagyu for polygons that stay simple in the tile
PostGIS
trac at osgeo.org
Sun Nov 15 01:54:57 PST 2026
#6145: ST_AsMVTGeom: skip wagyu for polygons that stay simple in the tile
------------------------------+---------------------------
Reporter: johncarmack1984 | Owner: pramsey
Type: enhancement | Status: closed
Priority: medium | Milestone: PostGIS 3.8.0
Component: postgis | Version: 3.6.x
Resolution: fixed | Keywords: mvt
------------------------------+---------------------------
Changes (by John Carmack <johncarmack@…>):
* resolution: => fixed
* status: new => closed
Comment:
In [changeset:"6e93142a89140e1d01cd7cb1a5546011d73c8337/git" 6e93142/git]:
{{{#!CommitTicketReference repository="git"
revision="6e93142a89140e1d01cd7cb1a5546011d73c8337"
Skip wagyu in ST_AsMVTGeom for polygons that stay simple in the tile
ST_AsMVTGeom sent every polygon through wagyu, including the single
rings inside the tile that wagyu hands back unchanged apart from
their orientation, collinear vertices and start vertex: rings that
are still simple after the snap to the tile grid and whose edges
stay clear of every other vertex's pixel.
mvt_clip_and_validate now finds those rings first, with exact int64
tests, and writes them the way wagyu would. Everything else goes to
wagyu as before, and the output is the same byte for byte.
Closes #6145
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6145#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