OpenStreetMap Helpers for Rescape projects


License
MIT
Install
npm install rescape-osm@0.1.272

Documentation

rescape-apollo

Apollo utilities for Rescape projects

This library runs tests against a graphql server. Thus you must add the following username and password to server in order for tests to pass:

You must store a Google API key in your environment in order to use the Google API features of this libary

export GOOGLE_API_KEY='...'

Export the comma-separated urls of the servers you wish to use for openstreetmap/overpass

export OSM_SERVERS='https://lz4.overpass-api.de/api/interpreter, https://mytrustyosm.com/api/interpreter'

Run a graphql server at 127.0.0.1:8000 with a user setup with these credentials: {username: "test", password: "testpass"}

With Django: manage.py createsuperuser