Skip to content

Command line tools to create Black Rock City geo files and geocode forward and reverse

License

Notifications You must be signed in to change notification settings

iBurnApp/BlackRockCityPlanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Black Rock City Planner Build Status

This is a collection of command line tools and scripts that generate GeoJSON. The GeoJSON is then used in the iBurn app.

Geo Data Generator

What we can create:

  • 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

What we can't create:

  • Gate Road
  • Camp polygons (can geocode addresses).
  • Art locations (can geocode addresses).
  • Locations of important POI like first-aid, ranger and ice.
  • Airport

Install

npm install or npm install -g

Use

Generate all the files at once

node src/cli/generate_all.js -d [SOMETHING]/iBurn-Data/data/2017

Streets

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
Toilets

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

API

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

About

Command line tools to create Black Rock City geo files and geocode forward and reverse

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •