length is calculated with pythagoras function for planar metric coordinates. osm data has geographic coordinates (angles).
The distance function gives wrong values for distance, because the distance between meridians gets smaller from equator to pole. the length value is also used in the colums cost and reverse_cost.
maybe it is included to use with A* ?
otherwise it may be better to remove this wrong distances.
please add columns const_m and resverse_const_m to the table.