Skip to content

Repository files navigation

amgraph

Graph Check Latest graph

One routing graph for AM-licence vehicles across all supported countries. Belgium and the Netherlands participate in the same build and release, on equal terms. Country-specific rules, primary sources and retrieval dates are documented per country under docs/countries/.

The build enriches each country's OpenStreetMap extract with its own authority data, audits every input, and merges the results by OSM identity and official territory. Ways and junctions carry their own country attribution. A supported border crossing must satisfy every applicable country's rules; territory with no verified rules stays closed. Conflicting source versions stop the merge.

A class borrows a stock Valhalla access bit. The carrier stays stable across these countries:

Carrier Belgium Netherlands Valhalla costing
moped bromfiets_klasse_a snorfiets motor_scooter
motorcycle bromfiets_klasse_b bromfiets motorcycle
taxi speed_pedelec speed_pedelec taxi
truck lichte_vierwieler brommobiel truck

Identifiers retain their statutory language. A carrier is storage for a vehicle's access decision; it does not give that vehicle the rights of a taxi, truck or motorcycle. Consumers must use the matching rules package for vehicle selection, speeds and powertrain-dependent legal zones.

Documentation

Licence

The code is Copyright Rashad Ansari under the PolyForm Noncommercial License 1.0.0: free for study, research, hobby projects and noncommercial organisations, and not licensed for commercial use by anyone else. Ask if you want that.

The published graph is derived from OpenStreetMap, © OpenStreetMap contributors, so it is offered under the Open Database License 1.0 and may be used commercially by anyone with attribution and share-alike. ODbL does not permit a derived database to carry extra restrictions, and this does not try to. Rijkswaterstaat's Wegkenmerkendatabase and the Kadaster BRK boundaries are public domain.

NOTICE.md sets out both in full, and why they differ.

About

One routing graph for AM-licence vehicles in Belgium and the Netherlands: mopeds, speed pedelecs and microcars. The access rules, and the evidence that they hold

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages