Skip to content

Add GpfItineraryLayer tool - #191

Open
LionelZoubritzky-IGN wants to merge 4 commits into
144/3/isoline_filterfrom
145/route-tool
Open

LionelZoubritzky-IGN wants to merge 4 commits into
144/3/isoline_filterfrom
145/route-tool

Conversation

@LionelZoubritzky-IGN

@LionelZoubritzky-IGN LionelZoubritzky-IGN commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

Add an itinerary layer tool, which returns the GeoJSON and the associated distance and travel time.

Related issues

Close #145

Motivation

Test: "Show me the route from Dunkirk to Menton"

Implementation

Reuse the existing navigation/itinerary machinery.
Input constraints:

  • when asking for pedestrian mode, departure and arrival must not be more than 200 km apart. This reflects an upstream limit (maybe more around 250 km upstream? I don't see it in the documentation but it happens in practise);
  • no crow-flies distance limit for car mode, as the Dunkirk-Menton example above illustrates (it works in a few seconds);
  • departure and arrival must be within the bbox accepted by bdtopo-valhallala.

Testing

npm run build && npm run verify -> 642+4+35 tests all green.

Checklist

  • The PR is focused and of a reasonable size.
  • The commit history is clean.
  • Relevant documentation has been updated.
  • Relevant tests have been added or updated.

@mborne mborne added this to the v0.12.x - New Geospatial Tools milestone Sep 7, 2026
@LionelZoubritzky-IGN
LionelZoubritzky-IGN force-pushed the 145/route-tool branch 3 times, most recently from a1b3994 to a9ee0a9 Compare September 22, 2026 12:25
@LionelZoubritzky-IGN
LionelZoubritzky-IGN changed the base branch from 144/isoline-tool to 144/3/isoline_filter October 6, 2026 16:01
@LionelZoubritzky-IGN
LionelZoubritzky-IGN added this pull request to stack #213 October 6, 2026 16:01
@LionelZoubritzky-IGN
LionelZoubritzky-IGN marked this pull request as ready for review October 7, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add route calculation tool

2 participants