I downloaded the nyc osm metro extract from Mapzen. I then used osm2pgrouting to import that data into postgis, pgrouting and now I have all these columns cost and reverse_cost, but I'm not sure how they were computed. I want to do a special form of routing by modifying the cost columns, but first I want to understand how these quantities were computed. Is it based on the length of the streets?
[GIS] How are cost and reverse cost computed in pgrouting
osm2pgroutingpgrouting
Best Answer
For osm2pgrouting V2.1: