okffi/membermap

Name: membermap

Owner: Open Knowledge Finland

Description: A map of the spatial distribution of OKFFI members

Created: 2015-04-29 07:05:01.0

Updated: 2016-05-05 21:17:43.0

Pushed: 2016-05-05 21:17:42.0

Homepage: null

Size: 266

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

membermap

Visualize the municipalities where the members of OKFFI reside.

Dependencies
Data
Publishing
Clone the repository
clone https://github.com/okffi/membermap
embermap
Prepare the municipal boundaries
  1. Download and extract the data into a specific directory. Peek into gml_to_geojson.sh for the path.
  2. Run ./gml_to_geojson.sh to transform the municipal boundaries from GML to GeoJSON and into the right spatial reference system.
  3. Copy the transformed file into leaflet/app/data/.
Prepare the member list
  1. Download the data into a specific file. Peek into member_csv_to_json.sh for the filename.
  2. Run ./member_csv_to_json.sh to transform the CSV file into a JSON file.
  3. Copy the transformed file into leaflet/app/data/.
Build and publish the map
  1. Run the following:
    eaflet
    install
    r install
    _modules/.bin/gulp
    
  2. Publish the contents of dist/. The directory contains static files only.
Note
Todo

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.