[pgrouting-users] osm2pgrouting Question

John Williams jdwilliams1982 at gmail.com
Thu Dec 22 09:28:40 EST 2011

I've been using osm2po to load osm data into the database. osm2po creates a
to_cost and a reverse_cost value for each way. I recently switched to
osm2pgrouting so I could use the generated "classes" table to give more
weight to roads like highways in my driving directions. However, the ways
table that osm2pgrouting generates has a to_cost column, but all the values
in it are null. For kicks, I tried using the reverse_cost as the to_cost
and it seems to work, but I wanted to ask about this... is that normal? Am
I supposed to generate the to_costs some other way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20111222/b4e15ac3/attachment.html

More information about the Pgrouting-users mailing list