Changes between Version 30 and Version 31 of RenderingOsmData


Ignore:
Timestamp:
Nov 18, 2011, 1:35:15 PM (12 years ago)
Author:
fake
Comment:

add note how to use existing dbs

Legend:

Unmodified
Added
Removed
Modified
  • RenderingOsmData

    v30 v31  
    1616== Importing !OpenStreetMap Data ==
    1717
    18 This howto will take australian data as an example.
     18This howto will take australian data as an example. Note: if you already have imported OSM data, see the section named "Using an existing database" below.
    1919
    2020=== Download ===
     
    180180  psql -U postgres -d osm -c "vacuum analyze"
    181181}}}
     182
     183== Using an existing database ==
     184
     185If you already have a postgis database with OSM data imported, all there is left to do (besides compiling mapserver with postgis support) is editing generate_style.py, around. line 72 change
     186
     187{{{
     188'db_connection': '"host=localhost dbname=osm user=osm password=osm port=5432"'
     189}}}
     190
     191to reflect your database port, name, user name and user password.
     192
    182193== Creating the Mapfile ==
    183194