Commits

Dane Springmeyer committed 178f589

remove slim command, confusing to explain to new users, and remove --style argument as a correctly installed osm2pgsql on linux will automatically find this file

Comments (0)

Files changed (1)

 To import data into postgis do::
 
     cd projects/osm-rendering/osm_extracts/
+    osm2pgsql --merc -d barcelona barcelona.osm
+
+.. note::
+
+    The osm2pgsql program should automatically read what is called the 'default.style' from `/usr/local/share/osm2pgsql/default.style`, the location it should have been installed to when you compiled and installed osm2pgsql. On windows you will need to pass the directory for where to find this file like `--style /path/to/default.style`. It can be downloaded from http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/default.style.
     
-    osm2pgsql --merc --slim -d barcelona barcelona.osm --style default.style
-
+    The --merc command means you want to import the data in Spherical Mercator projection, but you can leave this command off since that is the default.
+    
+    
 .. _osm2pgsql-ll:
 
 Import data in Lat Long (WGS84)
 
 For custom setups you may wish to import data in Lat Long (WGS84)::
 
-    osm2pgsql --latlong --slim -d barcelona barcelona.osm --style default.style
+    osm2pgsql --latlong -d barcelona barcelona.osm
 
 .. note::