Git Product home page Git Product logo

koop-ckan's Introduction

CKAN Provider for Koop


This provider makes it possible to access ckan's JSON API as either GeoJSON or an Esri FeatureService. This is particular useful for making maps and doing analysis on the web.

Installation

To install/use this provider you first need a working installation of Koop. Then from within the koop directory you'll need to run the following:

  npm install https://github.com/chelm/koop-ckan/tarball/master

Register CKAN Hosts

Once this provider's been installed you need to "register" an instance of CKAN with your Koop instance. To do this you make POST request to the /ckan endpoint like so:

  curl --data "host=https://catalog.data.gov&id=datagov" localhost:1337/ckan

What you'll need for that request to work is an ID and a the URL of the ckan instance. The ID is what you'll use to reference datasets that come from ckan in Koop.

To make sure this works you can visit: http://localhost:1337/ckan and you should see all of the register hosts.

Access CKAN Data

To access a dataset hosted in CKAN you'll need a "dataset id" from CKAN which could be referenced in Koop like so:

http://koop.dc.esri.com/ckan/rwlabs/ourairports-ind

Examples

Here's a few examples of data hosted in ckan and accessed via Koop

koop-ckan's People

Contributors

chelm avatar jgravois avatar schlomm avatar

Watchers

Tim Wisniewski avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.