Skip to content

length, cost and reverese cost is not a valid distance #275

@Langlaeufer

Description

@Langlaeufer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions