Tag Info

New answers tagged

0

After analyzing my dataset more with QGIS I think I've found most of the differences. Using osm2pgrouting with mapconfig_for_cars.xml still includes vertices related to pedestrian interaction, whereas osm2po with wtr.finalMask = car does not. Here is a view of OSM of an intersection with crosswalks... Here is a view of my dataset (which is roads ...


1

In case you haven't tried it yet, the pgRouting Workshop is always a good place to get started. When you used osm2po to convert your OSM data, then source and target attributes are already there and ready to use. Sometimes the vertices table, that contains all source and target ID's, is useful to find the nearest vertex from a geographic point. The osm2po ...


0

Hmmm... no answers here ... Ok... look for this line inside the config and comment it out: postp.1.class = de.cm.osm2po.plugins.PgVertexWriter This will give you an additional table of vertices. Look for the ref_count-column. A value of "0" indicates dead ends or "no crossing". But what are you going to interpret in your example above if it's composed of ...


0

The default config reflects a standard car-routing-topo. Hence it should not take footways or sth. similar into account. finalMask=car means that only ways which are drivable will be included and converted. But be careful. Paths or tracks and even ferries may be tagged with motorcar=yes. This indicates an alternative potential type of transport for cars ...


0

I seemed to have solved the problem by taking this approach: 1) perform create table highwaysinglegeom as select st_union(the_geom) from analysis.po_highway 2) perform the update query above using the single geometry highway table as the intersection layer rather than separate multilinestrings from my network.


0

So, after following Carsten's suggestion from the comments, I could finally generate a routing database for the entire world. The catch was to use the tileSize command line argument from osm2po. The actual values that I used were java -Xmx8192m -jar osm2po-core-4.8.8-signed.jar prefix=world tileSize=10x10,1.0 planet-140430.osm.pbf in case you are wondering ...



Top 50 recent answers are included