You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by "zvikara (via GitHub)" <gi...@apache.org> on 2023/03/17 00:46:40 UTC

[GitHub] [incubator-baremaps] zvikara opened a new issue, #600: support js file in baremaps map export ---tileset=tileset.js

zvikara opened a new issue, #600:
URL: https://github.com/apache/incubator-baremaps/issues/600

   I don't know how to export the basemap tiles:
   It seems that "baremaps map export" only accepts --tileset=tileset.json
   But the basemap is using a js file (tileset.js).
   Can we please support using a js file with "baremaps map export ---tileset=tileset.js"


-- 
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: commits-unsubscribe@baremaps.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-baremaps] bchapuis commented on issue #600: support js file in baremaps map export ---tileset=tileset.js

Posted by "bchapuis (via GitHub)" <gi...@apache.org>.
bchapuis commented on issue #600:
URL: https://github.com/apache/incubator-baremaps/issues/600#issuecomment-1520134589

   Sorry, I missunderstood your original description of the problem. JS files were not supported by the export 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: commits-unsubscribe@baremaps.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-baremaps] bchapuis closed issue #600: support js file in baremaps map export ---tileset=tileset.js

Posted by "bchapuis (via GitHub)" <gi...@apache.org>.
bchapuis closed issue #600: support js file in baremaps map export ---tileset=tileset.js
URL: https://github.com/apache/incubator-baremaps/issues/600


-- 
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: commits-unsubscribe@baremaps.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-baremaps] bchapuis commented on issue #600: support js file in baremaps map export ---tileset=tileset.js

Posted by "bchapuis (via GitHub)" <gi...@apache.org>.
bchapuis commented on issue #600:
URL: https://github.com/apache/incubator-baremaps/issues/600#issuecomment-1500926025

   Thank you for your patience, I missed the notification. The tileset.json file describes how the tiles are built from the database. The export command takes a second parameter for the tile repository as follow:
   
   ```
   baremaps map export \
     --database 'jdbc:postgresql://localhost:5432/baremaps?user=baremaps&password=baremaps' \
     --tileset 'tileset.json' \
     --repository 'tiles/'
   ```
   
   This will generate a directory called tiles in which you will have the actual vector tiles.
   
   ```
   ls -R tiles
   12 13 14
   
   tiles/12:
   2155 2156 2157
   
   tiles/12/2155:
   1437.mvt 1438.mvt 1439.mvt
   
   tiles/12/2156:
   1436.mvt 1437.mvt 1438.mvt 1439.mvt
   
   tiles/12/2157:
   1436.mvt 1437.mvt 1438.mvt 1439.mvt
   ```
   
   Here is the documentation for this examples:
   https://baremaps.apache.org/documentation/examples/serve-vector-tiles


-- 
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: commits-unsubscribe@baremaps.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org