Skip to content

matthewblain/qgis-cartodb

 
 

Repository files navigation

Logo

CartoDB Plugin for QGis. It allows to view, create, edit or delete data from your CartoDB account using your favorite opensource desktop GIS: QGIS.

Features

QGis CartoDB

  • Manage CartoDB connections.
  • Add CartoDB layers to QGis projects.
  • Add features to CartoDB tables.
  • Edit data and update CartoDB tables.
  • Edit data and update geometries.
  • Delete features.

Supported Versions

Minimum QGIS version: 2.4

Install

From QGIS repositories

  • Go to "Plugins -> Manage and Install Plugins"
  • Search for "CartoDB Plugin" in "Search"

From git repository

Downloading release code

  • Download the code from here
  • Extract from zip file.
  • Rename folder to QgisCartoDB
  • Copy the plugin folder to $HOME/.qgis2/python/plugins/

Cloning repo (for Linux/Mac users)

  • Open a terminal.
  • Execute:
    • git clone https://github.com/gkudos/qgis-cartodb.git
    • cd qgis-cartodb
    • make install

Enabling plugin

  • Open QGIS
  • Go to "Plugins"=>"Manage and install plugins"
  • Click on "Installed" and enable "CartoDB Plugin"

Quick Use

After enabled plugin, click on CartoDB username: Connections

This open dialog:

Dialog 1

Creating new connection

Click on "New" button.

Dialog 2

Add your CartoDB account. Your api key is in:

https://[youraccount].cartodb.com/your_apps

Click on "Save" button.

Adding layers

Click on the icon: Icon or on the web menu item "CartoDB Plugin" => "Add CartoDB Layer"

This open dialog:

Dialog 3

Select any table and click on "OK" button.

Voilá !!!!

Voilá

Adding SQL CartoDB layer

Click on the icon: Icon or on the web menu item "CartoDB Plugin" => "Add SQL CartoDB Layer"

Dialog 3

Testing

Open a terminal and execute into project folder:

python setup.py test

Dependencies

  • CartoDB
  • oauth2
  • simplejson
  • certifi

Limitations

  • Add new attributes.
  • Get visualizations or CartoCSS styles.

Help Wanted

Any idea, issue or comment?, Please open an issue with related label. Do You want to contribute? Fork this project and get to work. Your time and help is greatly appreciated.

Please check our Contributing Guide

Licence

This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Icons designed by:

From the Noun Project:

Calculator by Ricardo Augusto Cherem
Accounting by Scott Lewis

Packages

No packages published

Languages

  • Python 74.4%
  • C 24.4%
  • Other 1.2%