GithubHelp home page GithubHelp logo

rafakingazi / osm2pgrouting Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pgrouting/osm2pgrouting

0.0 2.0 0.0 1.49 MB

Import tool for OpenStreetMap data to pgRouting database

Home Page: http://www.pgrouting.org

License: GNU General Public License v2.0

osm2pgrouting's Introduction

osm2pgrouting

Requirements

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

  1. postgresql
  2. postgis
  3. pgrouting
  4. boost
  5. expat
  6. cmake

and to prepare a database.

Documentation

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

Installation

For compiling this tool, you will need boost, libpq, expat and cmake: Then just type the following in the root directory:

cmake -H. -Bbuild
cd build/
make
make install

How to use

Start the program like this:

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

A complete list of arguments 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)
-prefixtables <prefix> 	-- add at the beginning of table names
-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 geosanak avatar hsylvio avatar plutoz01 avatar benjajaja avatar fhackenberger avatar peteryates avatar scw avatar

Watchers

James Cloos avatar Raphael Kingazi 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.