hello! i would to know how osm2pgrouting calculates the length of geometries, i did not find it in the code. the reason for that is that the column length of table ways shows a different value as postgis's ST_length(length). try this: select ST_length(the_geom), length from ways can anyone explain that to me? thanks, Bryan