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

   The queries are expected to return three columns: id, tags, geom (in that 
order).
   
   Here is an exemple that should work (the WITH is here to test the query and 
should not be added to the tileset.json file):
   
   ```
   WITH Z9_roads_l AS (
       SELECT 1 as roadcode, '{"roadcode": "code"}'::jsonb as tags, 
st_point(1,1) as shape
   )
   SELECT roadcode::text as id, tags as tags, shape::geometry as geom FROM 
Z9_roads_l WHERE tags ? 'roadcode' 
   ```
   
   You could also get additional information by adding `--log-level DEBUG` to 
the command.


-- 
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