Converter and Routing Engine for Openstreetmap.

learn more… | top users | synonyms

0
votes
0answers
13 views

osm2po v5.1.0 concave shapes

According to release notes version 5.1.0 is capable of generating concave shapes. However, I cannot find any information on how to use this new feature. Has anyone had any luck with this?
0
votes
1answer
37 views

osm2po highways and surfaces

Is it possible in osm2po to additionally consider surfaces as edge weights along with the highways? I've tried the following: wtr.tag.highway.pedestrian = 1,1,5, foot wtr.tag.highway.footway = 1,1,...
1
vote
1answer
28 views

Does Osm2Po support administrative boundary extraction?

I already used osm2po for ways extraction, but still cannot understand how to get administrative boundaries with osm2po. There is relationTagResolver in config section and v.5.1.0 description says, ...
1
vote
1answer
44 views

Deny steps with count more than 3 in osm2po

wtr.tag.highway.steps = 1, 1, 1, foot In osm2po I can deny stairs with count 3 steps like this: wtr.deny.step_count.3 = foot But, I would like to prohibit stairs with a number of stages over ...
0
votes
1answer
24 views

Why can't osm2po router find vertexIds when I use Graph.SUPPORT_EDGEFLAGS?

I am using the Osm2po.router in Java, trying to find the clazz of roads from this Get road type (clazz) in osm2po. When I am using the router without any supports, I am able to find the vertex Ids. ...
2
votes
0answers
43 views

Cannot parse walking routes in Osm2po

I really am at a loss with trying to figure out how to parse only walking routes using OSM2PO. I've modified the config file to add foot to the routes which can be walked along, as follows: wtr.tag....
0
votes
1answer
30 views

pgr_drivingdistance returning no results

I've imported the latest North America OSM extract into postgres using osm2po so that I can use the pgr_drivingDistance function of pgRouting to create a drive-time polygon. I'm at the final step, ...
1
vote
1answer
43 views

Constructing a weighted graph a.k.a. a road network with distances for a specific area

Pardon my ignorance in GIS/Routing tools as I'm new to it: I have a map in OSM format and wanted to build a routable graph out of it ( to experiment a searching algorithm I have in my PhD thesis). ...
0
votes
1answer
42 views

pgRouting - How get all pubs that are less than x meters from a point

I'm building a Mobile App to discover all pubs that are less than 2 km away from my position! First I obtained all the roads of a town using Open Street Maps "osm2po" Next I obtained all ...
1
vote
1answer
24 views

osm2po custom node tag resolver problem

I try to implement a custom node tag resolver to make a railway stations exported with specific clazz value. I used this article How to extend OSM2PO with ferry durations? as manual. Class compiled ...
1
vote
1answer
74 views

PostGIS: How can I improve the response time for getting the routed distance between addresses?

I need the ability to calculate the driving distance between two addresses for possibly hundreds of thousands of records. I have decided on PostGIS because it can geocode and perform routing all in ...
6
votes
2answers
142 views

How can I know why an OSM way cannot be used for routing, and how can I fix it

Background I use osm2po in an application that needs to calculate distances, times and path between locations. In short, I take data from Geofabrik as input to osm2po to output a directed graph with ...
2
votes
1answer
50 views

Parameters for osm2po web service to route for walking

I have started the osm2po web service using the jar file. In the configuration file, I could see different parameters related to walking but not sure what each one does. I am trying to call the web ...
0
votes
2answers
47 views

Not able to create postgres Sql file using Osm2po

I am newbie to the GIS community. After downloading the osm2po jar file, I have run following the instructions from underdark tutorial. Also, from Carsten's answer in gis stack exchange, I have ...
2
votes
3answers
67 views

QGIS Pgrouting layer plugin error

I followed the instructions for loading OSM data into pgrouting found here: http://anitagraser.com/2011/12/18/osm2po-part-2-pgrouting-on-osm-the-easy-way/ Everything works fine using osm2po to ...
0
votes
2answers
95 views

Routing using OSM data, osm2po, and pgrouting: strange route produced

I downloaded latest data from Geofabrik and ran the data through osm2po. osm2po web service works fine. I tried to find the route from node 103843 to 170597 and got the following route: However, ...
0
votes
1answer
34 views

osm2po routing problem with bridge

How can i add a bridge as a normal street in the config of osm2po 5.1.0? When i try to calculate the route from "333842" to "291763" using austria-latest.osm.pbf an error occurs about failing to ...
0
votes
1answer
60 views

osm2po > PostGIS > QGIS/pgRoutingLayer Extension Issue

I've just been testing osm2po and everything worked fine and straightforward until it comes to the QGIS pgRoutingLayer Extension. Selecting the Database and selecting source and target node works fine ...
0
votes
2answers
55 views

successful import of osm2po results

I would like to know if my import of some osm2po results into a PostgreSQL database have been successful or not. Is there something like: 'Import successful' or a simple 'Done'? All I got was: ...
1
vote
1answer
102 views

OSM2PO Postgres to graph for A*

I have created a directed graph from the nodes stored within my Postgres db but the resulting graph doesn't seem to be fully connected and as a result my shortest path algorithm is not able to find a ...
2
votes
1answer
310 views

How to make osm2po 5.1 write an SQL file?

With osm2po 5.1, I can get the osm2po router running D:\osm2po-5.1.0>java -Xmx1024m -jar osm2po-core-5.1.0-signed.jar prefix=vie ..\vienna_austria.osm.pbf but the resuting vie folder only ...
0
votes
0answers
57 views

Is it possible to convert osm2postgres table to pgrouting with osm2po?

I have already imported osm files with osm2psql in postgres. I would like to know if it's possible to convert osm data from this postgres table to pgrouting directly in the database with osm2po? Or ...
0
votes
1answer
27 views

SAXParseException in OSM2PO

I am getting the following error message when trying to utilise an osm pbf from the Geofabrik (latest Europe file): org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not ...
0
votes
0answers
45 views

Adding Special Nodes to OSM Data for pgRouting

I am currently creating a system to route pedestrian to open areas. I used OSM data and osm2po to parse the data for pgRouting. Now, I want to create new nodes with an additional attribute or flag to ...
0
votes
1answer
44 views

My osm2po java program compiles but gives a runtime error

I need road distances and I'm trying to use osm2po to do this. After downloading the OSM files and converting them to gph format, using the osm2po program, I start at the very beginning with the ...
0
votes
1answer
46 views

osm2po traffic signals -128

Using osm2po to extract traffic signal in the vertices used to provide the value 1 in the clazz column of the vertex table: Add vertices costs to postgresql routable network For some reason I keep ...
0
votes
1answer
35 views

The format of the result TSP at OSM2PO

Good day! I use JavaScript to work with the program OSM2PO. I want to solve the problem of TSP. I need to get the order Vertex Ids and array waypoints in one query. Is it possible in the format Json? ...
0
votes
1answer
50 views

Adding detailled costs in osm2po

I want to improve my bike routing. I know, that I can change the "costs" by changing the speed in the config file, but for me it's not detailed enough. A small subset of my config file looks like that:...
0
votes
1answer
36 views

Speed limits osm2po

I ran into the problem, that in the US there are very different speed limits depending on each state. So using default values from osm2po.config does not really help (or am I wrong?). For some areas I'...
0
votes
1answer
95 views

Parameters start_id and end_id when calling http://localhost:8888/Osm2poService?cmd=ft&tsp=

Good day! How to pass parameters start_id and end_id when calling http://localhost:8888/Osm2poService?cmd=ft&tsp=1,2,3,4,5?
-1
votes
1answer
136 views

I need detailed direction to use osm2po or osm2pgrouting

I am a very beginner with osm2po and osm2pgrouting. I read lots of materials (e.g., http://anitagraser.com/2011/12/15/an-osm2po-quickstart/) regarding these two software, but I can't even start how to ...
2
votes
2answers
138 views

I import map from file osm.pbf using osm2po. Why the low speed function call pgr_dijkstra in database Postgresql?

Good day! I import map from file russia.osm.pbf using osm2po. Why the low speed function call pgr_dijkstra in database Postgresql (>2 minute)? My steps: java -Xmx6g -jar osm2po-core-5.0.0-signed.jar ...
1
vote
1answer
66 views

Extracting car-ferry routes with osm2po

I am building a routable network from OpenStreetMap using osm2po (v5.0.0). I would like to include ferry routes, but limit them to car ferries only. I am using the following config (excerpt): wtr....
1
vote
1answer
74 views

Get all streets within a certain radius with osm2po

I'm trying to get all street segments out of osm2po graph, given a geo point and a certain radius. Right now I just do a breadth first search out of the street that's closest to my point, but is there ...
0
votes
1answer
44 views

Which OSM2PO method returns segment speed?

In OSM2PO, RoutingResultSegment has a getH() method - what values does it return? I was looking for a method that returns kmh, similarly to what is stored in the DB, but it doesn't seem like getH() ...
0
votes
2answers
335 views

Encoding error when importing to PostgreSQL using osm2po SQL file

After running osm2po on a pbf file for Europe I am importing the resulting files into a PostGIS and pgRouting enabled database. During the import psql it reporting many encoding errors because the ...
3
votes
1answer
136 views

osm2po to import whole planet

My point is to use pgrouting with planet data. osm2pgrouting fails at importing whole planet, so I tried osm2po. Looked fine, it generated sql file in around 2,5h. After importing it to the db though ...
0
votes
1answer
55 views

Get road type (clazz) is osm2po 5.0.0

I looked into using getFlags() for this as described here, Get road type (clazz) in osm2po but for some reason I'm getting 65551 instead of 15, and 65557 instead of 21. Seems like if I unset the 16th ...
0
votes
1answer
53 views

Importing map information with osm2pgrouting

I'm importing the cartography of Spain with osm2pgrouting. I want to import address information, that is, the tag addr = *. I modified the file mapconfig.xml follows: <type name="junction" id="...
0
votes
1answer
79 views

Add columns with information OSM by osm2po?

I imported the europa.osm network within my spatial database thanks to the osm2po tool. I use this with pgrouting. My problem is that I need to know the information provided by the tag address (city, ...
1
vote
1answer
62 views

Osm2po missing some streets in SF

I recently used osm2po (v 5.0.0) on SF with these parameters: java -Xmx8g -jar osm2po-core.jar cmd=tjspg prefix=sf tileSize=x california-latest.osm.pbf and everything looks great in the whole city ...
1
vote
3answers
233 views

Getting route segments from OSM data and assigning ETA for them

I have a problem of assigning possible ETA for a route. So far, I have the following: OSM data for a city. I have open source data of taxi trails for the same city. Now, I am planning to divide ...
0
votes
0answers
52 views

OSM2PO get all nodes included in a segment

We have been working with osm2po tool to load data to a Postgis Database. We would need all the nodes included in a segment not just the source and target node. Is there any way to change the ....
1
vote
1answer
146 views

Extracting restrictions with osm2po

I am trying to create a complex routable graph with osm2po. For this I need to extract relations (restrictions for example) and attach them to my graph. Does anyone know what I need to override/extend ...
1
vote
1answer
63 views

osm2po network access

How can i access osm2po Webservice in my local network? I can access http://localhost:8888/Osm2poService but if i try (on the same machine) to use the assigned ip adress with http://192.168.1.5:8888/...
1
vote
1answer
95 views

osm2po cycle routes

I'd like to use osm2po for a little bike routing planner. Is there a way I can mark those edges that are part of some national, regional or local bike network? It would be nice to give them a higher ...
0
votes
1answer
93 views

start osm2po without parsing osm.pbf

I use the demo batch to start osm2po java -Xmx1408m -jar osm2po-core-5.0.0-signed.jar prefix=hh tileSize=x,c map.osm.pbf How can i start the webserver without parsing all the data again (because i ...
0
votes
1answer
123 views

Getting all possible directions from a geo point in osm2po

Wanted to share some of my code I use to get all possible routes from a random geopoint in osm2po. Graph graph = loadGraph(); OverlayNode node = new OverlayNode(lat, lon); if (node.snap(graph, (...
1
vote
1answer
111 views

Use osm2po to extract additional tags

We would like to improve our bike routing to also incorporate, for example, the information on the surface of the used streets. I don't quiet get how I should use the Osm2Po plugin in mechanism. I've ...
0
votes
1answer
56 views

osm2po street IDs

Is it somehow possible to always get the same IDs in the _2po_4pgr table and in the routing graph when it's run on newer version on the map? So if I ran it on OSM from today, and then on the same area ...