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.
/v1/coverage.bin: the list of every tile in this database (format BWC1 below)./v1/13/{x}/{y}.bwt: one file per Web Mercator tile at zoom 13 (format BWT1 below). Together the tiles are the entire database./v1/sources.json: the OpenStreetMap extracts each area was built from, with file sizes, MD5 sums and data dates.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.
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.
MintCL · 6gsmake@gmail.com