CARTO User Manual

CARTO User Manual

Create a tileset and build a basic visualization

Context

Understanding the urban areas has important implications in a wide range of geospatial analysis, for example, to inform decision-makers in sectors such as urban planning.

In this example we are creating a tileset in which each building in Madrid is represented by a polygon and each of them is assigned a graduated color from the lowest to the highest value of the gross floor area. This visualisation allows us to represent at a glance how the surface area in Madrid is distributed.

Steps To Reproduce

  1. Go to the CARTO signup page.

    • Click on Log in.
    • Enter your email address and password. You can also log in with your existing Google account by clicking Continue with Google.
    • Once you have entered your credentials: click Continue.

    Log in Email and password

  2. From the Navigation Menu in the left panel, select Data Explorer.

    Menu features data explorer

  3. Select the CARTO Data Warehouse connection and click on demo data > demo_tables from the collapsible tree.

    Data Explorer content carto data warehouse

  4. Selected “inspire_buildings_madrid” and explore the preview of the map and the details of the table.

    Data Explorer map prewiew

    Data Explorer data prewiew

  5. This table due to its size, and current constraints in Builder, cannot be added to a Builder map without subsampling the number of rows.

    Therefore, in order to build a visualization with this table, we need to create a tileset by clicking on the Create > Create tileset button on the top. This will open the table as a layer on a CARTO Builder map. Check Creating a tileset from your data to get started.

    Data Explorer create tileset

  6. Now from this interface, you need to select the tileset zoom levels, choose the geometry column and give a location for the output table in a directory within the CARTO Data Warehouse where the user has write permissions. In the case of the CARTO Data Warehouse connection for this user account the directory is carto-dw-ac-t4cgd7ox.data. Once you have completed this configuration, click on Continue.

    Data Explorer create tileset settings

  7. From the next screen, you can select the attributes of your table that will be included in the tileset. After completing this step, click on Continue.

    Data Explorer create tileset attributes

  8. The last screen will show you a summary of the configuration of the tileset for your confirmation. Click on Create to confirm.

    Data Explorer create tileset confirmation

  9. Tilesets take a while to process. Once the process is completed you will see the message in the “Processing jobs” tab on the top right corner of the screen (blue tab).

    Data Explorer processing running

  10. Once the job has completed we can access the tileset in the Data Explorer and create a map visualization with all that data.

    Data Explorer processing successfully

  11. Click on Create map and this source will be added as a layer in Builder.

    Data Explorer create map from new tileset

    Map created from new tileset

  12. Now let’s style this layer as we want to build a cool visualization.

    Map fill based on

  13. We can also make the map public and share it online with our colleagues. For more details, see Publishing and sharing maps.

    Map public map

  14. Finally, we can visualize the result.