Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bertrandom/uber-map
Generate a GeoJSON of your Uber trips for a year
https://github.com/bertrandom/uber-map
Last synced: about 1 month ago
JSON representation
Generate a GeoJSON of your Uber trips for a year
- Host: GitHub
- URL: https://github.com/bertrandom/uber-map
- Owner: bertrandom
- Created: 2015-01-05T09:28:23.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-05-19T09:53:47.000Z (over 6 years ago)
- Last Synced: 2023-04-17T14:00:29.970Z (over 1 year ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
uber-map
========Generate a GeoJSON of your Uber trips for a year
## usage
Pull in the dependencies:
```
npm install
```Open https://riders.uber.com/trips in Google Chrome. Sign-in as necessary.
Wait a few seconds.
Run
```
node index
```and it will output GeoJSON to stdout.
Save it to a file:
```
node index > uber.geojson
```
You can open it as a source in [Mapbox Studio](https://www.mapbox.com/mapbox-studio/) to create an image like this:![image](https://farm8.staticflickr.com/7582/16202979362_102925ff95_b.jpg)
[https://www.flickr.com/photos/bertrandom/16202979362/](https://www.flickr.com/photos/bertrandom/16202979362/)