Changes between Version 30 and Version 31 of RenderingOsmData
- Timestamp:
- Nov 18, 2011, 1:35:15 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RenderingOsmData
v30 v31 16 16 == Importing !OpenStreetMap Data == 17 17 18 This howto will take australian data as an example. 18 This 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. 19 19 20 20 === Download === … … 180 180 psql -U postgres -d osm -c "vacuum analyze" 181 181 }}} 182 183 == Using an existing database == 184 185 If 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 191 to reflect your database port, name, user name and user password. 192 182 193 == Creating the Mapfile == 183 194