Skip to content

unlhcc/hcc-campus-maps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Campus Swan & NRDStor Usage

This project provides geo-json that highlights the buildings on UNL's campuses currently utilizing either NRDStor or Swan.


Getting Started

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.

Installation

  1. Clone the repository:
    git clone https://github.com/unlhcc/hcc-campus-maps.git
    
  2. Navigate to project directory:
    cd hcc-campus-maps
    

Execution

  1. Run make. This will create a virtual python environment and install all necessary libraries found in requirements.txt. The python program will then be run, and geojson.json will be generated as output.
    make
    

Testing

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published