Skip to content

Re-writes multiple deprecated but still present OpenStreetMap tags for routing engines

License

Notifications You must be signed in to change notification settings

mapbox/osrm-tag-rewriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osrm-tag-rewriter

Rewrites OpenStreetMap tags for example from motorway junction nodes to its ramps. Mainly for easier handling in our routing engine.

Continuous Integration

Building

A recent libosmium is getting downloaded to third_party by invoking the ./deps.sh script.

./deps.sh
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .

Using Mason

You can build this project using packages bundled with mason:

./masonize.sh
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_MASON=On
cmake --build .

Running

./osrm-tag-rewriter in.osm.pbf out.osm.pbf

Tests

See the tests directory.

pushd tests
./check.sh
popd

Rewriters

Destination Tags

Rewrites OpenStreetMap exit_to= Node tags on highway=motorway_junction to destination= tags on the adjacent way when possible to do so without ambiguity.

Exit Numbers

Rewrites OpenStreetMap ref= Node tags on highway=motorway_junction to junction:ref= tags on the adjacent way when possible to do so without ambiguity.

License

Copyright © 2017 Mapbox

Distributed under the MIT License (MIT).

About

Re-writes multiple deprecated but still present OpenStreetMap tags for routing engines

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •