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.

@LionelZoubritzky-IGN
LionelZoubritzky-IGN marked this pull request as ready for review October 7, 2026 09:08
@esgn esgn mentioned this pull request Oct 8, 2026
4 tasks done
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