Koop serves both GeoJSON and GeoServices Feature Service from shared Gists and public GitHub repositories. This allows you to Query, Map, or Analyze GeoJSON files just like they were a full API service.
For more information, check out the documentation or visit the github organization.
Gists are accessed by adding the id to /gist/:gist_id
, and optionally the Feature Service metadata or query. For example:
Files from Github are accessed with the endpoint /github/:username/:repository/:path
path
parameter uses "::" as the sub-directory seperator. So for example if the file is at github.com/chelm/grunt-geo/tree/master/samples/bower.geojson
then the Koop path would look like:
/github/chelm/grunt-geo/samples::bower
Koop can preview any gist or github file using the simple view endpoints: