Skip to content

Add CartoDB layer to Qgis Project

Michael Salgado edited this page Mar 15, 2016 · 4 revisions

Once the CartoDB plugin is enabled, you can add a CartoDB layer or an SQL CartoDB layer.

Adding CartoDB Layer

  • From the CartoDB toolbox (located on the QGIS Web Toolbar) or from the Layers Toolbar in QGIS >= 2.12 (Left side), click Add CartoDB Layer

    Add CartoDB Layer icon

    The Add CartoDB Layer dialog box opens, displaying a list of your datasets.

  • Select a dataset name from the list, or search for a table name to filter the list, and click OK

Select Dataset Name

Your CartoDB dataset is downloaded and appears in the QGIS Layers Panel.

QGIS Layers Panel

Adding SQL CartoDB Layer

  • From the CartoDB toolbox (located on the QGIS Web Toolbar), click Add SQL CartoDB Layer

Add SQL Layer

The Add CartoDB SQL Layer dialog box opens, displaying a list of your datasets and the associated column names from each dataset.

Add CartoDB SQL Layer

  • You can write and test SQL queries before adding the layer.

Tip: You can use the QGIS filter option to open the Query Builder, if you need help creating an SQL query.

  • Click Add Layer

    The SQL layer is downloaded and appears in the QGIS Layers Panel.

SQL Layers Panel