Questions tagged [osm2pgrouting]

osm2pgrouting is a command line tool that allows to import OpenStreetMap data into a pgRouting database.

Filter by
Sorted by
Tagged with
7
votes
3answers
13k views

How to extract primary and secondary roads from OSM data?

After importing my country roads from OSM data, I need to create a network ( roads connecting big cities ) for use with pgRouting. For this, I need the green, blue and red ones (http://www....
22
votes
4answers
6k views

How can I optimize pgrouting for speed?

I am using pgrouting on a postgis database created through osm2pgrouting. It performs very good on a limited dataset (3.5k ways, all shortest path A* searches < 20 ms). However since I have ...
10
votes
1answer
8k views

Computing Walking and Cycling Isochrone maps using QGIS & pgRouting?

Just installed QGIS as I believe I should be able to produce walking and cycling isochrones from a specified point. I have done this pretty easily before using ArcMap, however, I am really struggling ...
4
votes
2answers
383 views

Using pgRouting for 'multiple pedestrians' on an existing table of 'students'?

I'm trying to use the pgRouting sample for 'multiple pedestrians going to the same destination' to determine the 1) length and 2)geometry of students to their schools. Essentially I'm trying to write ...
5
votes
1answer
655 views

Using OSM data, pgRouting, and dummy data to develop an origin/destination travel matrix

Further to my previous question I was wondering if it is possible to add dummy node data without to do routing analysis. ISSUE I have a polygon layer that represents zonal attributes I created a ...
4
votes
1answer
4k views

How to install osm2pgrouting on Windows?

I've only done networking using ArcGIS, but am now trying to set up with OpenSource software in a Windows environment. I have PostGIS installed and found a Windows binary for pgRouting (although I'm ...
2
votes
2answers
2k views

osm2po vs osm2pgrouting: workshop pgRouting

As osm2po was a more reliable way to convert an .osm I went for that solution to load my date in postgres. In the workshop however the author points out to check the result after osm2pgrouting. The ...
3
votes
0answers
443 views

From pgRouting shortest_path back to osm node id

I'm successfully performing path finding queries like shortest_path on data imported with osm2pgrouting. The tables I have inside my pgrouting DB are the following: List of relations ...
1
vote
1answer
462 views

Ways and Vertices tables empty after osm2pgrouting tutorial

I've been following the osm2pgrouting tutorial, have compiled osm2pgrouting with necessary boost and expat libs installed, and built a postgresql db with support for postgis and pgrouting. Importing ...
0
votes
0answers
126 views

osm2pgrouting tables emtpy

When I use the osm2pgrouting I only get emtpy tables. I got my .osm file from this Wien.os.gz and use the mapconfig.xml from Github. I run the follwing command: ./osm2pgrouting -f path/Wien.osm -c ...
0
votes
1answer
630 views

Pgrouting functions and geoms type not found. Install failed?

I have installed a postgresql 9.1 and postgis 2.0 from source. I couldn't launch this : # Add pgRouting launchpad repository ("stable" or "unstable") sudo add-apt-repository ppa:georepublic/...