View a Gist

or GitHub GeoJSON

Docs


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.

Gists

Gists are accessed by adding the id to /gist/:gist_id, and optionally the Feature Service metadata or query. For example:

Github

Files from Github are accessed with the endpoint /github/:username/:repository/:path

Previews

Koop can preview any gist or github file using the simple view endpoints:

Spatial Queries

  • http://koop.dc.esri.com/github/smartchicago/chicago-atlas/db::import::zipcodes/FeatureServer/0/query?geometry=-180,-90,180,90
  • Filter Queries

  • http://koop.dc.esri.com/github/smartchicago/chicago-atlas/db::import::zipcodes/FeatureServer/0/query?where=ZIP=60647
  • Query parameters

    * the params is specific to koop and is not part of the FeatureService spec specifies what field to use as the ObjectID field
    returns only the features that match a given objectId
    if true, returns only the count of features that would be returned based on other query params
    returns only the Ids of the feature that would be returned based on other params
    sets a geometry filter and returns only features that are within the given geometry