-
Notifications
You must be signed in to change notification settings - Fork 13
Tile server update
trolleway edited this page Nov 18, 2014
·
4 revisions
Instruction for update map style and OSM data in current server.
-
Drop tables in database, except spatial_ref_sys
-
Start an script in your computer. osm2pgsql know when it should promt for password.]
#!/bin/bash wget -N http://data.gis-lab.info/osm_dump/dump/latest/RU-MOW.osm.pbf wget -N http://data.gis-lab.info/osm_dump/dump/latest/RU-SPE.osm.pbf osm2pgsql --create --multi-geometry -H gis-lab.info --database metro4all_osm --username Svetlov --style metro4all.style RU-MOW.osm.pbf RU-SPE.osm.pbf
- git clone https://github.com/nextgis/metro4all_cartostyle - it is a tilemill project. Check tilemill version required for this style
- Open it in tilemill, export to Mapnik XML.