Coder Social home page Coder Social logo

4estone / qgis-ckan-browser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bergwerkgis/qgis-ckan-browser

0.0 0.0 0.0 2.42 MB

Download and display Open Data from CKAN Metadata Servers

License: MIT License

Python 93.92% Shell 1.51% Makefile 4.57%

qgis-ckan-browser's Introduction

QGIS CKAN-Browser

QGIS PlugIn to load and display Open Data from CKAN enabled data portals.

Sponsors:

Change log

DISCLAMER

This plugin has been tested with various CKAN servers (API v3 supported only), but each and everyone has its own quirks which might result in failed downloads.

The plugin queries the provided CKAN server, parse its response and tries to download resources according to the links provided in the response. If the provided metadata contains invalid links the plugin of course fails to download the selected resources.

Before opening an issue about a failed download please try to download the failing resource with a browser. If the download works in the browser then it might be a bug in the plugin.

  1. Click on the resource
  2. Click to copy resource link
  3. Paste into browser and check if download works

Bonus points for including log messages in the issue: CKAN Browser Settings -> Miscellaneous -> Check "Show debug information in the 'Log Messages' panel"

Install

Within QGIS

Plugins -> Manage and Install Plugins -> All -> Search: CKAN-Browser -> Install plugin

From Zip

  • Download CKANBrowser.zip
  • QGIS -> Manage and Install Plugins -> Install from ZIP
  • Select downloaded file ...
  • Install Plugin

From Source

git clone https://github.com/BergWerkGIS/QGIS-CKAN-Browser.git
cd QGIS-CKAN-Browser/CKAN-Browser
make clean
make derase
make deploy

Use

After successful install there is a new toolbar available (click on Settings):

CKAN Browser Toolbar

Settings

  1. Select a local directory where downloaded data will be cached
  2. Edit authentication settings if necessary
  3. Check debug messages - only necessary when reporting bugs
  4. Save settings and close

CKAN Browser Settings

Open CKAN Browser

  1. Select the CKAN Server to use (see below)
  2. Enter your search term and press <ENTER> or click on 3
  3. Search: query server with search term
  4. List of data sets found, click to get more details in 5, 6 and 7
  5. Description of selected data set (if provided by server)
  6. Resources associated with selected data set (if supported by server) 6.1. Click on resource to see resource URL 7 and copy to clipboard in case automatic download does not work 6.2. Check the box of the resource (or several, if supported by server) to select for download
  7. Resource url and copy url button if the resource cannot be downloaded (eg link to webpage or an unsupported file format)
  8. Load Data to download the selected resources and automatically open them
  9. List all data available sets
  10. List of categories/groups available on the selected CKAN server (if supported by server) 10.1. Check to limit your search to one or several group(s). 10.2. Double click on a group to get all data sets associated with that group

Open Data (CKAN) Browser

Add Custom CKAN Server Instance

The list of available CKAN server intances gets prepopulated on every start from https://ckan.org/about/instances/ but is limited to those which provide an API URL.

Custom CKAN server instances can be added manually as well.

  1. Enter the CKAN endpoint, including trailing v3/
  2. Test the connection
  3. If the connection succeeded, name the instance and add it to the list
  4. To select an instance for use check the box
  5. Custom instances are marked by a blue background. 5.1. Right click on a custom instance brings up the Delete context menu to remove the instance from the list. Only custom instances can be deleted.

Custom CKAN Server instances

qgis-ckan-browser's People

Contributors

cavalcantelb avatar jqnatividad avatar wilhelmberg avatar yoichigmf 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.