Giter Club home page Giter Club logo

osm2pgrouting's Introduction

Before you can use this tool for importing Openstreetmap data,
you need to install

1. postgresl
2. postgis
3. pgrouting
4. boost
5. expat

and to prepare a database.

See in the documentation of the pgrouting website for more informations:
http://pgrouting.postlbs.org/

For compiling this tool, you will need boost, libpq and expat:
Then just type: make


Start the program like this:

./osm2pgrouting -file your-OSM-XML-File.osm -conf mapconfig.xml -dbname routing -user postgres -clean

all available parameters are:

required: 
-file <file>  		-- name of your osm xml file
-dbname <dbname> 	-- name of your database
-user <user> 		-- name of the user, which have write access to the database
-conf <file> 		-- name of your configuration xml file

optional:
-host <host>  		-- host of your postgresql database (default: 127.0.0.1)
-port <port> 		-- port of your database (default: 5432)
-passwd <passwd> 	-- password for database access
-clean 				-- drop previously created tables
-skipnodes			-- do not load nodes into the node table (reduces runtime) 

osm2pgrouting's People

Contributors

dkastl avatar jordanderson avatar fhackenberger avatar peteryates avatar scw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.