Changes between Version 17 and Version 18 of RenderingOsmData
- Timestamp:
- Dec 10, 2010, 7:03:23 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RenderingOsmData
v17 v18 72 72 }}} 73 73 74 ===== On a windows system =====74 ===== On a windows system (Option A: Using pgAdmin) ===== 75 75 1. If you haven't installed it yet - install PostgreSQL for windows with PostGIS extension (you can select to add PostGIS during the PostgreSQL setup). 76 76 … … 100 100 101 101 Leave the "Query tool" on - you will need it later to run more queries. 102 103 ===== On a windows system (Option B: Using Commandline) ===== 104 1. Make sure the 'C:/Program Files/PostgreSQL/xx/bin/' directory is added to your PATH environment variable 105 106 2. These instructions assume that you already have a 'postgres' user 107 108 3. createdb -E utf8 -U postgres osm 109 110 4. psql -U postgres -d osm -f "C:\Program Files\PostgreSQL\8.4\share\contrib\postgis-1.4\postgis.sql" 111 112 5. psql -U postgres -d osm -f "C:\Program Files\PostgreSQL\8.4\share\contrib\postgis-1.4\spatial_ref_sys.sql" 113 114 6. createuser -U postgres -P www-data 115 116 enter 'www-data' for password for new user 102 117 103 118 ==== Importing the OSM data ====