https://github.com/sharedstreets/sharedstreets-sample-data
SharedStreets Sample Data
https://github.com/sharedstreets/sharedstreets-sample-data
Last synced: about 1 month ago
JSON representation
SharedStreets Sample Data
- Host: GitHub
- URL: https://github.com/sharedstreets/sharedstreets-sample-data
- Owner: sharedstreets
- Created: 2018-02-01T17:07:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-02T02:25:29.000Z (over 8 years ago)
- Last Synced: 2025-01-25T10:28:01.247Z (over 1 year ago)
- Size: 46.7 MB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SharedStreets - Sample Data
This directory contains protocol buffer encoded SharedStreets sample data using the 2018-01-14 draft of the specification and preview release [v0.1.3](https://github.com/sharedstreets/sharedstreets-builder/releases/tag/0.1.2) of the [SharedStreets Builder](https://github.com/sharedstreets/sharedstreets-builder) application.
The files are named using spherical mercator [z-x-y] tile coordinates, and are encoded using [length delimited protobuf messages](https://developers.google.com/protocol-buffers/docs/techniques#streaming). Features that span a tile boundary are encoded in both tiles.
To convert PBF files to JSON, one can use [`sharedstreets-pbf`](https://github.com/sharedstreets/sharedstreets-pbf) to decode PBF to JSON using [Node.js](https://nodejs.org/en/) or directly from your Web browser.
## Sample Data URL
These sample data PBF files are hosted via GitHub pages:
**URL Pattern**
```
https://sharedstreets.github.io/sharedstreets-sample-data/{dataset}/{zoom}-{x}-{y}.{type}.pbf
```
**URL Example**
```
https://sharedstreets.github.io/sharedstreets-sample-data/nyc/11-602-769.geometry.pbf
```