[postgis-tickets] [PostGIS] #4550: st_asmvtgeom sometimes returns null for valid geometries (postgis 2.5.3)
PostGIS
trac at osgeo.org
Fri Oct 18 01:22:17 PDT 2019
#4550: st_asmvtgeom sometimes returns null for valid geometries (postgis 2.5.3)
----------------------+---------------------------
Reporter: anneb | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.5.4
Component: postgis | Version: 2.5.x
Resolution: | Keywords: st_asmvtgeom
----------------------+---------------------------
Comment (by Algunenano):
This is a known limitation that comes from the interaction between the MVT
transformation and the validation process. It might happen that the MVT
transformation produces an invalid polygon and the validation step changes
its coordinates to decimal to fix it, which requires us to go back the
transformation step again. No matter how much I've tuned the process
(changed parameters, reorder operations, etc) there are some,situations
that we can't fix, so we return NULL.
This has been addressed in the 3.0 release by using a different backend
(Wagyu), which not only fixes this problem but it also can give 30x
performance in cases like this.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4550#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