2,123 reputation
137
bio website osm2po.de
location Hamburg, Germany
age
visits member for 2 years, 9 months
seen Apr 4 at 9:34

Apr
4
revised Extracting restrictions with osm2po
added 90 characters in body
Apr
4
revised Extracting restrictions with osm2po
added 90 characters in body
Apr
4
answered Extracting restrictions with osm2po
Apr
3
awarded  Tag Editor
Apr
3
revised osm2po wiki excerpt
deleted 10 characters in body
Apr
3
suggested approved edit on osm2po tag wiki excerpt
Apr
3
comment Extracting restrictions with osm2po
For a pgRouting graph?
Mar
20
answered osm2po network access
Mar
11
comment Getting all possible directions from a geo point in osm2po
Then it's a misunderstanding. I asked if it is sufficient to find crossings (see above). To find the closest edge, your first approach was already correct. node.snap(...) returns the needed information, namely exactly one edge (forward). To find the reverse edge (if exists) call graph.findReverseEdge(...) as you did. In some rare cases a vertex is closer than an edge. Therefore call node.isOnVertex() and/or node.isOnEdge() before and fallback to graph.findOutgoingEdges(node.getId()) if necessary.
Mar
5
comment osm2po cycle routes
No, not interesting ... it's daily OSM-nuisance. Would like to know which tags are missing or even new ... or self invented or beta or whatever.
Mar
3
comment osm2po cycle routes
Relations cannot be handled as easy as ways. They totally differ in how to interpret them. Think of restrictions, routes or even boundaries. The only thing you can do is to overwrite some standard behavior in the osm2po-API to transport your special interpretation into the routing. The validate()-Method is the meeting point where all the things get to together. Here you can influence osm2po's default behavior.
Mar
3
comment osm2po cycle routes
Which version do you use? Try 5.0.0. Did you pass the params on the commandline? If so, remove blanks.
Mar
2
answered osm2po cycle routes
Feb
26
answered Getting all possible directions from a geo point in osm2po
Feb
25
comment Getting all possible directions from a geo point in osm2po
are you looking for outgoing edges of real crossings only or rather random, even virtual locations somewhere on arbitrary edges?
Feb
24
comment Routing with osm2po - starting from middle of the street
In order to get the id call tp.getId()
Feb
24
comment Routing with osm2po - starting from middle of the street
Ok. Here is quick diff: first call OverlayNode tp = new OverlayNode(lat, lon); and then tp.snap(graph, null)). This replaces TouchPoint.create(...) . Finally insert the snapped point into the graph with overlayGraph.insertNode(tp); which returns an id you can pass to the router.
Feb
24
comment Routing with osm2po - starting from middle of the street
Please open a new thread, so I can give an official answer instead of a hidden comment.
Jan
30
revised Use osm2po to extract additional tags
edited body
Jan
30
comment Use osm2po to extract additional tags
Either modify the osm2po.config (hopefully not that one inside the jar) or overwrite parameters on the commandline. For more complex deviations you can indeed use a parameter to point to another config. config=path/to/special.config You can also hold different configs in one by using wayTogResolver.prefix