kopia lustrzana https://github.com/osm2vectortiles/osm2vectortiles
1.5 KiB
1.5 KiB
| layout | title | published |
|---|---|---|
| page | Maps rendered from Vector Tiles | true |
Introduction
This tutorial describes how to get a raster tile map with OSM Vector Tiles as data source.
Kitematic
Preparation
Install Kitematic
- Download and install Kitematic.
- Start a new container by searching for
klokantech/tileserver-mapnikand click create.
Add MBTiles File and Style
Click on the volume /data and add the downloaded mbtiles file and style project.
Click on web preview and you should see the map.
Command Line
If you want to get started very quickly, just use the following commands.
wget https://osm2vectortiles-downloads.os.zhdk.cloud.switch.ch/v1.0/extracts/zurich.mbtiles
git clone https://github.com/mapbox/mapbox-studio-osm-bright.tm2.git
docker run -v $(pwd):/data -p 8080:80 klokantech/tileserver-mapnik
Note: The webserver is is now accessible on port 8080. To access it you need to figure out the ip address of the container. (docker-machine env default)



