This project provides geo-json that highlights the buildings on UNL's campuses currently utilizing either NRDStor or Swan.
We assume that anyone contributing to this repo will be working in their Swan account.
The program, generate_geojson.py
takes map_data.json
and map_groups_to_departments.csv
as input and generates an output file called geojson.json
.
map_data.json
contains the original campus map geo-json found on https://maps.unl.edu/
.
map_groups_to_departments.csv
contains a mapping between UNL departments and buildings.
- Clone the repository:
git clone https://github.com/unlhcc/hcc-campus-maps.git
- Navigate to project directory:
cd hcc-campus-maps
- Run
make
. This will create a virtual python environment and install all necessary libraries found inrequirements.txt
. The python program will then be run, andgeojson.json
will be generated as output.make
Take the geojson generated in geojson.json
and place it in https://geojson.io/#map=2/0/20
. You should now see the UNL campus buildings either highlighted or not depending on if they're using NRDStor or Swan.