Weltstaat commented on issue #538:
URL: 
https://github.com/apache/incubator-baremaps/issues/538#issuecomment-1318350749

   If I wrap the extended query from debug mode into a sql script and run it 
via baremaps execute it too runs sucessfully. 
   ```
   WITH H597232234 AS (SELECT id, (tags || hstore('geometry', 
lower(replace(st_geometrytype(geom), 'ST_', '')))) as tags, ST_AsMvtGeom(geom, 
ST_MakeEnvelope(1878516.4071364915, 3287403.712488861, 2035059.4410645326, 
3443946.7464168984, 3857), 4096, 256, true) AS geom FROM (SELECT id as id, tags 
as tags, geom as geom FROM Z8_RD) AS q WHERE ST_Intersects(geom, 
ST_MakeEnvelope(1878516.4071364915, 3287403.712488861, 2035059.4410645326, 
3443946.7464168984, 3857))) SELECT ST_AsMVT(mvt_geom, 'roads', 4096) FROM 
(SELECT id, hstore_to_jsonb_loose(tags), geom FROM H597232234) as mvt_geom
   ```
   I also tried different versions of baremaps: latest, 0.6.5, 0.6.0, 0.5.3


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to