vector-tile-builder
: Hosting of vector tile web maps in environments without Internet access
#20
Closed
yuiseki
started this conversation in
Show and tell
Replies: 1 comment
-
Thank you @yuiseki for sharing your experience! The following may not be necessary for you, but let me share my thoughts just for your information:
Thank you once again for kindly sharing your experience. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to show you one of my repository:
I have today achieved to hosting of vector tile web maps in environments with no internet access.
This is one of the truly
portable
vector tile web maps now.What I should achieved is followings:
maplibre-gl
to display vector tile web mapsmaplibre-gl
requirestyle.json
, a Mapbox Style Specification format filestyle.json
requiretile.json
, a TileJSON format filetile.json
require zxy orderd PBF files like:/{z}/{x}/{y}.pbf
with absolute URIstyle.json
requiresprite
andglyphs
with absolute URIHere is the approach I took:
Geofabrik
, Download OpenStreetMap snapshot of specific region as PBF format fileregion.pbf
tilemaker
, Convert PBF format file to a MBTiles format fileregion.mbtiles
tippecanoe
, Split MBTiles format file to zxy orderd PBF files/{z}/{x}/{y}.pbf
fortile.json
mbtiles2tilejson
, Generate a TileJSON format file from a MBTiles format filetile.json
forstyle.json
charites
, Geenrate a Mapbox Style Specification format filestyle.json
openmaptiles
projectsprite
andglyphs
instyle.json
This repository contains a Dockerfile with all the required software packages.
This Dockerfile also works on Raspberry Pi 4 Model B.
Raspberry Pi 4 Model B has capability as Wi-Fi AP mode.
I am now able to connect to my Raspberry Pi, which is disconnected from the internet and acting as a Wi-Fi AP, and display the map on browser.
That is all. Please give me your feedback!
Beta Was this translation helpful? Give feedback.
All reactions