[PostGIS] #5844: ST_AsMVTGeom producing null results on valid geoms

PostGIS trac at osgeo.org
Wed Jan 29 17:40:02 PST 2025


#5844: ST_AsMVTGeom producing null results on valid geoms
------------------------+-------------------------------
  Reporter:  pratishta  |      Owner:  pramsey
      Type:  defect     |     Status:  new
  Priority:  medium     |  Milestone:  PostGIS Packaging
 Component:  postgis    |    Version:  3.2.x
Resolution:             |   Keywords:
------------------------+-------------------------------
Comment (by robe):

 When you say even when they are running at the same version, by that do
 you mean they are running exactly the same

 GEOS, PROJ, and PostGIS versions?

 I tried tests both on my 3.6.0dev and 3.4.5dev


 {{{
 PGSQL="170" GEOS="3.13.0-CAPI-1.19.0" PROJ="8.2.1 NETWORK_ENABLED=OFF
 URL_ENDPOINT=https://cdn.proj.org LIBPROTOBUF="1.2.1" WAGYU="0.5.0
 (Internal)
 }}}

 and for both
 no records returned for this query.  I unfortunately don't have a 3.2
 version readily handy

 {{{
 WITH a AS (SELECT
         id,
         ST_AsMVTGeom(mercator_fill, ST_TileEnvelope(10, 301, 385), 4096,
 64, true) as geomFill
 FROM city_council_district
 WHERE ST_Intersects(mercator_fill, ST_TileEnvelope(10, 301, 385)) )
 SELECT * FROM a WHERE geomfill IS NULL
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5844#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