osm2pgrouting (#24) - Simple question A* with OSM data (#346) - Message List

Simple question A* with OSM data

Hello to all,

I want to ask a naive question. A* uses the euclidean distance from expanded node to goal node + the actual cost from start node. Since OSM data is in degrees, should not the coordinates first be converted to meters, before they are used for routing? Technically if the edge length is in degrees also, A* will give correct results but using road hierarchies (with speeds) will be very hard to implement on a degrees basis

A.

  • Message #1447

    As far as I know the unit pgRouting takes into account (degree or meter) is always the unit of your projection in the database (see geometry column) - Anton, please correct me if I'm wrong.