Skip to content

Releases: Datawheel/geoservice-api

v0.3

07 Aug 15:45
Compare
Choose a tag to compare
v0.3 Pre-release
Pre-release

This release marks the first move towards a generalized geoservice, that works independent of US geographies.

  • Removes US-specific dependencies
  • Includes distance endpoint

Installation steps

  1. Download the attached geoservice-api_0.0.3_all.deb package
  2. Run sudo dpkg -i geoservice-api_0.0.3_all.deb
  3. Configure /etc/default/geoservice-api as follows:
NODE_ENV="production"
GSA_DB_NAME=DB_HERE
GSA_DB_PW=PASSWORD_HERE
GSA_DB_USER=USER_HERE
GSA_DB_HOST=HOST_HERE
GSA_DB_PORT=5432
GSA_USER_CONFIG_FILE=/path/to/my_levels.json
PORT=8080

(Feel free to set PORT as desired)

  1. Run
sudo systemctl daemon-reload
sudo service geoservice-api restart`

And you should be good to go! You can check the service status by running
sudo service geoservice-api status

And you can test the API via:

curl http://localhost:8080/api

(Note you may need to open ports -- if desired -- via Google Cloud's firewall to access this remotely or use a reverse proxy from nginx)

v0.2

08 Mar 20:02
0c65fc4
Compare
Choose a tag to compare
v0.2 Pre-release
Pre-release
  • Adds expanded ACS support for MSAs and PUMAs
  • Allows variable name column per level
  • Groups results for related endpoint by geographic level

v0.1

08 Mar 13:18
Compare
Choose a tag to compare
v0.1 Pre-release
Pre-release

Initial version of the Census geography API service. Include support for:

  • Dynamic computation of nested geographies
  • Neighboring geographies