aspected-routing
v0.3.1
Published
Calculates a score based on a .Json-file which contains an Aspected-Routing function. This is a (partial) javascript port
Downloads
3
Readme
Aspected Routing interpreter
CLI program that generates a score based on OpenStreetMap-properties and a small 'program' defined in a .json-file. See AspectedRouting
Installation
npm i aspected-routing
How to use
Example tags:
{
"cyclestreet": "yes",
"highway": "residential", // Expect "yes"
"maxspeed": "30",
"surface": "asphalt"
}
Guidelines on JSON Ruleset (from AspectedRouting)