
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
-
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.
-
From the Navigation Menu in the left panel, select Data Explorer.
-
Select the CARTO Data Warehouse connection and click on demo data > demo_tables from the collapsible tree.
-
Selected “inspire_buildings_madrid” and explore the preview of the map and the details of the table.
-
This table, due to its size and current constraints in Builder, can be added to Builder by using the dynamic tile generation or creating a tileset.
Therefore, in order to build a visualization with this table, we are going to create a tileset by clicking on the Create > Create a tileset button on the top. This will open the table as a layer on a CARTO Builder map.
-
Now from this interface will allow you to set the location and name of the output tileset in a directory within the
CARTO Data Warehouse
where the user has write permissions. In the case of theCARTO Data Warehouse
connection for this user account the directory iscarto-dw-ac-t4cgd7ox.data
. Once you have completed this configuration, click on Continue. -
In the next screen, you need to select the tileset zoom levels and choose the geometry column. Once you have completed this configuration, click on Continue.
-
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.
-
The last screen will show you a summary of the configuration of the tileset for your confirmation. Click on Create to confirm.
-
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).
-
Once the job has completed we can access the tileset in the Data Explorer and create a map visualization with all that data.
-
Click on Create map and this source will be added as a layer in Builder.
-
Now let’s style this layer as we want to build a cool visualization.
-
Finally we can change our basemap. Go to Basemaps tab and select “Dark matter” from Google Maps.
-
We can also make the map public and share it online with our colleagues. For more details, see Publishing and sharing maps.
-
Finally, we can visualize the result.