A a converter and a routing engine for Openstreetmap data
0
votes
1answer
27 views
Will osm2po or other tools simplify links between nodes?
To make this clearer, I'm going to use the the word "section" to mean a length of road between two junctions/intersections.
I think it is true that osm2po (under default user options) creates a graph ...
1
vote
2answers
50 views
How to create a suitable filtered .osm for osm2po using OpenStreetMap Overpass API?
I successfully created a (.osm) set suitable for routing in a desktop GIS over a large custom area thus keeping only primary network (way object) using the Overpass API (see below).
I'm trying this ...
0
votes
1answer
39 views
How to customize logic for defining default speed limits for roads in osm2po
I need to customize osm2po logic in defining possible speed limits of ways. osm2po takes into account only class of road while I need to consider one more parameter: is road inside or outside some ...
0
votes
1answer
32 views
what is the main idea of new (since osm2po ver 4.7.7) MultiLevelGridRouter
in the new osm2po v4.7.7 release notes I see that there is new MlgRouter (MultiLevelGridRouter) "which is an at least five times faster DefaultRouter". Could someone clarify why it's so fast (what ...
2
votes
2answers
35 views
Load surface to SQL using osm2po
Does anyone know, if it is possible to make osm2po able to load extra road data into SQL file, such as the surface tag? [1] I know it is not much used, but when it is, it would be nice to know if the ...
3
votes
1answer
74 views
Don't route through bollards, concrete blocks, etc with osm2po
Is it possible to prevent road segments being used when these are blocked by bollards, concrete blocks or the like?
I have one example where there the road Solhøjvej is blocked with a so called ...
1
vote
0answers
60 views
How to use OSM2PO for transit routing?
I'm using OSM2PO (4.6.9) for "classic" routing, I mean highway network and everything works fine.
Now, I want to use it to route in a "transport" network, a bus network for instance. But I want the ...
0
votes
2answers
60 views
Some highways segments ignored by osm2po?
Where i can read why some roads/segments are disappear from routing? We are trying to comment all "wtr.deny" rules in config file, but nothing changed.
Examples added as links bellow.
Screenshot1
...
1
vote
2answers
116 views
How to speed up osm2po when using as java lib?
I'am trying to utilize osm2po as java lib for calculation of distances matrix between some set of points (lat/lon) and for each pair of points I call the following method that code is based on sample ...
1
vote
1answer
186 views
Unreachable vertex
I'm developing an application for academic purposes that mainly gives to the user a recommended itinerary for a previously introduced preferences (Gastronomy, Leisure,etc.).
For this purpose, I use ...
0
votes
2answers
79 views
error while loading osm2po routing sql-script into PostgreSQL
please advice what could be wrong in my situation:
I succesfully generated sql-file using osm2po
I tried to run it within PostgreSQL and got the following error:
********** Error **********
ERROR: ...
1
vote
1answer
48 views
Custom osm2po postprocessor to generate a node file and a way file
For a software component were using we need to provide 2 input files. One with a list of nodes (nodeId, lat, lon) and one with ways (fromNodeId, toNodeId, oneway, maxSpeed, lenght).
To create these ...
2
votes
1answer
156 views
Updating routing graph based on GIS changes in DB
I am using Osm2PO for route finding which reads a graph file created from a pbf file downloaded from OpenStreetMap.
I have my own GIS database where updates may be applied to the data. I would like ...
0
votes
1answer
85 views
How are the speed limits set in osm2po?
Using osm2po I found a problem. In the configuration file "osm2po.config" I can set the various values of speed limits for each road type but for example for this type of street ...
3
votes
3answers
397 views
How do I apply Dijkstra's algorithm in Python with PostGIS data?
I have currently parsed OSM data, from a PBF file, into a pgRouting database with the use of osm2po, an excellent parsing tool. I don't however want to use the algorithms provided by pgRouting and ...
1
vote
2answers
80 views
How to change the function of cost of osm2po?
As the column 'kmh' shows speed limits wrong for my city, and I didn't want to modify the configuration file of osm2po for each type of road, is there a way to change the cost function? I wish:
cost= ...
2
votes
2answers
94 views
Is it possible to get the points used for the convex hull in osm2po?
I have a non-convex hull algorithm that I want to use for an app. With OSM2PO, it's possible to get a convexHull, but is there a way to get the points before the hull is constructed?
More, it would ...
1
vote
2answers
82 views
Why won't osm2po setup table correctly?
OK, I have no idea what's going on. I'm using a Mac and successfully installed pgRouting. I used osm2po on some data, which created a sql file. I imported the sql file into a pgRouting database and ...
1
vote
1answer
64 views
How do I configure osm2po.config to parse both car and foot routes?
I have tried to play around with the osm2po.config file, to parse both car and foot routes but have had little success. Could someone please tell me how to do it?
Thanks
1
vote
1answer
98 views
calculate costs based on way difficulty
I am using Osm2Po to find routes between two points.
I am trying to find routes based on the difficulty specified by the user.
Basically, I would like to calculate the cost based on some parameter ...
0
votes
1answer
64 views
osm2po “show option”
The "show expansion" option in the web interface, how do i invoke that from the command line. I am trying something like this...with "debugExpansion=true"...
...
4
votes
1answer
87 views
finding routes just for cyclists
I have created a PostGIS DB using osm2po and I am using pgrouting to calculate the routes.
The application I am creating should find routes for cyclists so I want the route finder to prefer roads ...
1
vote
1answer
68 views
osm2po service with custom router
I want to make custom router which while calculating route costs, would take into account additional features.
Here is the use case:
Lets imagine paid motorway. Lets suppose there are 2 toll points. ...
1
vote
1answer
47 views
Is OSM_ID also part of osm2po graph?
I would like to use osm2po as a routing engine/library. My problem is that in geojson response, there is no osm_id value returned, only id field which, if I assume correctly is not a fixed value. I ...
0
votes
0answers
50 views
how to group interconnected edges inside a table?
Given a table and a random set of edges with source and target columns, how can I find out which edges connect with each other and then group them together using PostgreSQL?
0
votes
1answer
60 views
Does this routable network include oneways information?
I successfully imported osm road data using osm2po. I visualized the routable road network using Qgis. The table of the layer includes the following attributes: ...
1
vote
1answer
42 views
Column “osm_meta” in osm2po 4.6.9
What's the utility of *osm_meta* column in osm2po (Version: 4.6.9) generated data?
Thanks in advance!
1
vote
0answers
39 views
given sets of vehicle passing on each edge, how to get most used vehicle to avoid transition?
I have two tables: one, the resulting table from converting osm.xml via osm2po so I can use pgRouting, and another one that contains information on what edges each public vehicle passes through ...
2
votes
1answer
54 views
turn osm2po vertex table restrictions column into turn cost for shooting star pgrouting?
i found this thread
Does OSM2PO take into consideration turn restrictions?
but im kind of new to sql and database so me, making my own query or sp to achieve the above suggestion by myself is kind ...
3
votes
2answers
94 views
How Does Directed and has_reverse_cost Arguments when set to [true, false] and [true, true] Affect Routing?
What will be the difference on the routing behaviour when I try to play with the directed and has_reverse_cost arguments on all the three routing algorithms?
Example: the following SQL queries give ...
1
vote
1answer
94 views
Do vertex IDs stay the same every time I run osm2po?
Does anybody knows if vertex (source, target columns) in osm2po tables are always the same?
I have my dr_2po_4pgr table with routing data and dr_matrix with routes already made. In this table I have ...
2
votes
1answer
104 views
How to get different clazz/flags for roundabout?
I'm using osm2po to import Open Street Map data. I want to get information about roundabouts. In the final SQL file I need to know if a road is part of a roundabout or not.
The only way to get this ...
1
vote
1answer
112 views
Is OSM2PO ignoring some ways?
Recently I've started playing with OSM2PO and pgRouting but I've stumbled upon a weird problem which I'm not really sure where it comes from…
I've installed OSM2PO on Ubuntu, with no errors, and I've ...
1
vote
1answer
148 views
Does OSM2PO take into consideration turn restrictions?
It is supposed that for using Shooting star function in pgrouting, we need to have RULE and TO_COST fields in our table, but OSM2PO hasn't created those fields. what must i do for OSM2PO takes into ...
1
vote
1answer
143 views
How to control what kind of tags / flags are imported with osm2po?
With the help of osm2po, I have successfully inserted the contents of the italian files (italy.osm.pbf) in a pgrouting-enabled database (postgresql 8.4)
It displays fine in Qgis, using rule based ...
1
vote
1answer
94 views
How to include highways type track or service in osm2po?
What must I do for osm2po to take into consideration highways type track or service? I have processed one file and in the results with QGIS I can't see those types of highways. Thanks!
9
votes
3answers
351 views
How to add offsets to the route?
Edited:
I want to ilustrate my question. Suppose that you're in "Point A" and want to go to "Point B". This points wouldn't be in "at_2po_4pgr" table cause aren't source/targets nodes.
Then, I ...
2
votes
1answer
99 views
Can I Start and End an OSM2PO route in the middle of a road segment?
I need to be able to start and end a route in the middle of a road segment as opposed to a vertex/intersection. I know that you can disable snapping when stating your start/end but the route still ...
1
vote
3answers
132 views
Is it possible to change the projection used in OSM2PO?
Is it possible to change the projection used in OSM2PO? I used the following command to generate a SQL file which I loaded into my database:
java -jar osm2po-core-4.2.30-signed.jar prefix=at ...
1
vote
4answers
148 views
Can't determine what parameters to pass to a OSM2PO SOAP call
I've been experimenting with OSM2PO which is a great little peace of software. Right now though, I'm fumbling with the SOAP WS which I'm trying to use from a JEE web application. I'm not having any ...
0
votes
1answer
193 views
PostGIS Out of Memory during bulk insert
I am attempting to import OSM road data using an SQL file generated by OSM2PO. However I keep getting the following error:
ERROR: out of memory
SQL state: 53200
Detail: Failed on request ...
1
vote
1answer
150 views
How are link costs calculated from osm.pbf?
I imported osm.pbf data into postgis using osm2po. The table I obtained (at_2po_4pgr) includes cost data. I would like to know how these costs have been calculated. thank you
4
votes
2answers
291 views
Can I also import road type using osm2po?
I have imported the entire UK OSM dataset using the excellent osm2po. The metatdata of the imported table is shown below and my question is whether any of the columns map to ROAD TYPE. If not may I ...
2
votes
2answers
438 views
How to find the Shortest Path between two coordinates points using pgrouting A-Star?
In PostGIS I have two tables: an osm road network and a table that contains the start and end coordinate points of each path (i.e. userid, start_x1, start_y1, end_x2, end_y2). I would like to know:
1) ...
1
vote
3answers
262 views
Why is pgRouting shortest route function complaining about wrong source and target IDs?
This question is somewhat linked to underdark post, but I think here it would more helpful:
https://underdark.wordpress.com/2011/12/18/osm2po-part-2-pgrouting-on-osm-the-easy-way/#comment-2636
I ...
9
votes
3answers
315 views
What's the best way to implement routing through areas such as parking lots?
I'm using OSM2PO to route for walking directions and I've noticed a lot of the OSM walking paths are not ideally setup.
For example there are many paths which get divided up by parking lots, which ...
2
votes
1answer
108 views
How do you ignore one-ways osm2po?
I've been using OSM2PO and it's a great system so far.
However, in version 4.5.2, I can't seem to ignore the one-way restrictions for calculating walk distances.
In the browser version, I check on ...
2
votes
2answers
112 views
What is geom_way column in osm2po generated data?
Could anybody tell me the meaning of geom_way column generated by osm2po?
0
votes
1answer
478 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 ...
5
votes
1answer
251 views
Is PostGis suitable for Global data routing?
I'm searching quite some time now...
Is it possible to load the global routing data into PostGis?
What can I expect from a performance point of view?
It's for routing purposes only.
I've downloaded ...


