pgRouting

Changeset 233

Show
Ignore:
Timestamp:
09/22/08 17:44:31 (2 months ago)
Author:
anton
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/workshop/FOSS4G2008/Docs/10_osm2pgrouting.chapter

    r222 r233  
     1Before you can use this tool for importing Openstreetmap data, 
     2you need to install 
     3 
     41. postgresl 
     52. postgis 
     63. pgrouting 
     74. boost 
     85. expat 
     9 
     10and to prepare a database. 
     11 
     12For compiling this tool, you will need boost, libpq and expat: 
     13Then just type: make 
     14 
     15Start the program like this: 
     16 
     17./osm2pgrouting -file your-OSM-XML-File.osm -conf mapconfig.xml -dbname routing -user postgres -clean 
     18 
     19all available parameters are: 
     20 
     21required:  
     22-file <file>  -- name of your osm xml file 
     23-dbname <dbname> -- name of your database 
     24-user <user> -- name of the user, which have write access to the database 
     25-conf <file> -- name of your configuration xml file 
     26optional: 
     27-host <host>  -- host of your postgresql database (default: 127.0.0.1) 
     28-port <port> -- port of your database (default: 5432) 
     29-passwd <passwd> --  password for database access 
     30-clean -- drop peviously created tables