Skip to content

Length of trail segments #4

@kylebarron

Description

@kylebarron

It would be cool to have lengths of trail between trail junctions. Something like:
image
(From naturalatlas.com) Caltopo has it too.

It looks like it's relatively easy to get the length of the LineString in PostGIS: https://gis.stackexchange.com/a/170828

The hard part would be trying to split trails at vertices. I would expect that if you ran ST_Length on the existing path data, it would include the length of the full original OSM way, which would be longer than the sections between trail junctions, though I should test this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions