GitHub - pickpj/Big-B-Router: Ipynb to edit out ALPR exposed roads from PBF files. This can then be converted into an OBF file for use in OsmAnd. Enabling, offline and mobile, map routing and navigation that avoids ALPRs.

1 min read Original article ↗

Offline Anti-ALPR routing and navigation for your phone.

Ipynb to edit out ALPR exposed roads from PBF files. This can then be converted into an OBF file for use in OsmAnd.

Finished OBF file demo

bigbrouter.webm

OsmAnd is available for iOS as well, although I have not tested.

Requirements

cli tool:

python environment:

  • jupyter-notebooks
  • geopandas
  • folium
  • pyrosm
  • pyosmium

Usage

After downloading the Requirements,

  • Download pbf map data of the state from geofabrik or from other providers
  • Prep the pbf data with the pbf-prep.ipynb
  • Process the data with big-b-router.ipynb
  • Plug in the output to OsmAndMapCreator
  • Transfer OBF file to phone and import with OsmAnd

Credits

  • Impossible without OpenStreetMap data & contributors
  • pyosmium / osmium - nothing else worked for editing osm data and keeping/returning it as a pbf
  • OsmAnd and OsmAndMapCreator
  • pyrosm for reading pbfs to geopandas

fIock