This is a collection of command line tools and scripts that generate GeoJSON. The GeoJSON is then used in the iBurn app.
- The centerlines of all the streets inside the fence.
- The trash fence pentagon.
- All the plazas and portals.
- An outline of all the streets at proper width combined with plazas and portals (used for good looking rendereing).
- Toilets as points or polygons
- Gate Road
- Camp polygons (can geocode addresses).
- Art locations (can geocode addresses).
- Locations of important POI like first-aid, ranger and ice.
- Airport
npm install
or npm install -g
node src/cli/generate_all.js -d [SOMETHING]/iBurn-Data/data/2017
node src/cli/layout.js -f [layout file] -o [output file] -t [type]
- layout file: path to the layout file. Use the latest year to see the proper format.
- output file: (optional) The output GeoJSON destination. Results from 2016
- type:
streets
,polygons
,outline
,fence
,dmz
node src/cli/toilet.js -f [layout file] -t [toilet layout file] -o [output file]
- layout file: path to the layout file. Use the latest year to see the proper format.
- toilet layout file: path to the toilet layout file.
- output file: (optional) The output GeoJSON destination. Here are results for 2016
This geocodes the a string in an API JSON file and outputs full API result + lat/lon.
node src/cli/api.js -l [layout file] -f [API JSON] -k [key string to geocode] -o [output file]
e.g.
node src/cli/api.js -l ../../data/2022/layouts/layout-single-letter.json -f ../../data/2022/APIData/camp.json -k location_string -o ../../data/2022/APIData/camp-location.json