BRouter profiles tester

Here are some test cases to check BRouter profiles and help with development of new profiles.

Important: beware that the map tiles used are the live map tiles (using up to date OSM data) contrary to the BRouter segments4 test files which are using a fixed dump of OSM data. Then, the map background may come out of sync with the data used by BRouter and are only there as an eyeguide.

The map show the route computed with the selected profile (in blue), the route computed by the reference profile (in grey) as well as a route computed by a human (in green). Note that the human route is not necessarily the best one or the unique valid solution.

The tests assume the BRouter instance uses these segments4 files which are built from the Geofabrik.de extracts of metropolitan France, New York state (US) and Sachsen state (Germany) from the 10th of November, 2018. The profiles2 folder used to build the segments4 files is available here (including the lookups.dat file). The SRTM data used to build the segments4 are available here.

Settings

Your BRouter instance should provide CORS headers. Otherwise, you can use an extension such as CORS Everywhere.

Summary