Byway street-map tiles

These files are the street network the Byway app uses to make routes on the phone. They are a database derived from OpenStreetMap data.

Map data © OpenStreetMap contributors. This database is made available under the Open Database License (ODbL) 1.0. You may copy, use and adapt it under that license, keeping this notice.

What is here

How it was made

From each extract we keep highway ways of these types: primary, secondary, tertiary (with their links), residential, unclassified, living_street, road, service, footway, path, pedestrian, steps, cycleway and track. Ways tagged foot=no or area=yes are left out, and so are access=private or access=no ways unless foot allows walking. Connected pieces of street shorter than 500 m in total are dropped. Each street segment is stored in the tile that holds its midpoint. Coordinates are rounded to 1e-7 degrees.

Formats

BWT1 (a zlib stream; inside, integers are little-endian and varints are unsigned LEB128, signed ones zigzag-encoded): the bytes BWT1; zoom, x and y as int32; the node count, then each node's latitude and longitude in 1e-7 degrees as zigzag varint deltas, starting from the tile's south-west corner; the line count, then per line one byte for the street type (the index in the list above, primary to track, plus 0x80 for sidewalk=no and 0x40 for bicycle=no or dismount), a node count, and the node indexes as zigzag varint deltas starting from 0.

BWC1 (a zlib stream): the bytes BWC1, the zoom as int32, then the sorted list of tiles with their byte sizes.

Contact

MintCL · 6gsmake@gmail.com