News for hackers. Stuff that matters.

alohec

Re:A new way to make maps with OpenStreetMap on Friday April 23, 2021 @05:37PM (#26919516)
At least for simple GeoJSON you can use tippecanoe (https://github.com/mapbox/tippecanoe) with --output-to-directory to get individual .pbf tiles. Most rendering clients will have some scheme where you can provide a root url and then the tiles need to be stored in some defined structure beneath that (e.g. root/z/x/y.pbf)

(posted something similar to another response)

Re:A new way to make maps with OpenStreetMap on Friday April 23, 2021 @05:32PM (#26919455)
You can use tippecanoe (https://github.com/mapbox/tippecanoe) with the --output-to-directory flag to output the individual .pbf tiles instead of a single MBTiles file. These tiles can then be hosted on something like s3 and your map-rendering client can query the necessary tiles, no server required.