kopia lustrzana https://github.com/osm2vectortiles/osm2vectortiles
				
				
				
			Fix gl-light command and update link in create own vector tiles tutorial
							rodzic
							
								
									519d5397e7
								
							
						
					
					
						commit
						ac5089dea2
					
				|  | @ -28,7 +28,7 @@ curl -o zurich.mbtiles https://osm2vectortiles-downloads.os.zhdk.cloud.switch.ch | |||
| Start the tileserver in the same directory. | ||||
| 
 | ||||
| ```bash | ||||
| tileserver-gl-light | ||||
| tileserver-gl-light zurich.mbtiles | ||||
| ``` | ||||
| 
 | ||||
| ## Display a map in your browser | ||||
|  |  | |||
|  | @ -76,7 +76,7 @@ Optional: Merge lower zoom levels (z0 to z5) into extract (prerequisite: sqlite3 | |||
| Download lower zoom level extract. | ||||
| 
 | ||||
| ```bash | ||||
| wget -P ./export/ https://osm2vectortiles-downloads.os.zhdk.cloud.switch.ch/v1.0/extracts/world_z0-z5.mbtiles | ||||
| wget -P ./export/ https://osm2vectortiles-downloads.os.zhdk.cloud.switch.ch/v2.0/planet_z0-z5.mbtiles | ||||
| ``` | ||||
| 
 | ||||
| Download the `patch.sh` script from [the Mapbox mbutil project](https://github.com/mapbox/mbutil){:target="_blank"}. | ||||
|  | @ -89,7 +89,7 @@ chmod +x patch | |||
| Merge lower zoom levels into extract. | ||||
| 
 | ||||
| ```bash | ||||
| ./patch "./export/world_z0-z5.mbtiles" "./export/zurich.mbtiles" | ||||
| ./patch "./export/planet_z0-z5.mbtiles" "./export/zurich.mbtiles" | ||||
| ``` | ||||
| 
 | ||||
| Serve the tiles as raster tiles from `export` directory. | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Manuel Roth
						Manuel Roth