root/tools/osm2pgrouting/trunk/README

Revision 216, 0.9 KB (checked in by anton, 2 years ago)

osm2pgrouting: expat added to README

Line 
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
12See in the documentation of the pgrouting website for more informations:
13http://pgrouting.postlbs.org/
14
15For compiling this tool, you will need boost, libpq and expat:
16Then just type: make
17
18
19Start the program like this:
20
21./osm2pgrouting -file your-OSM-XML-File.osm -conf mapconfig.xml -dbname routing -user postgres -clean
22
23all available parameters are:
24
25required:
26-file <file>  -- name of your osm xml file
27-dbname <dbname> -- name of your database
28-user <user> -- name of the user, which have write access to the database
29-conf <file> -- name of your configuration xml file
30optional:
31-host <host>  -- host of your postgresql database (default: 127.0.0.1)
32-port <port> -- port of your database (default: 5432)
33-passwd <passwd> --  password for database access
34-clean -- drop peviously created tables
Note: See TracBrowser for help on using the browser.