Skip to content

Routing metadata (distance, time, elevation) is lost when saving to note #376

@Tusgah

Description

@Tusgah

When I calculate a route using the GraphHopper API, the Map View UI correctly displays all the routing statistics (distance, duration, ascent/descent).

However, when I save this route to a note, only the geometry (coordinates) is saved. None of the calculated metadata is preserved in the resulting GeoJSON/block.

Expected Behavior: The saved GeoJSON should automatically include these statistics within the properties object (e.g., distance, time, elevation), so they can be displayed or queried later without needing to manually edit the file.

Is it possible to pass the RoutingResult data into the GeoJSON properties upon saving?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions