Skip to content
trolleway edited this page Nov 18, 2014 · 4 revisions

Instruction for update map style and OSM data in current server.

Map data update

  • 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 `

Map style update