Create a tileset and build a basic visualization
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.
- 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.
- 2.From the Navigation Menu in the left panel, select Data Explorer.
- 3.Select the CARTO Data Warehouse connection and click on demo data > demo_tables from the collapsible tree.
- 4.Selected “inspire_buildings_madrid” and explore the preview of the map and the details of the table.
- 5.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.
- 6.Now from this interface will allow you to set the location and name of the output tileset in a directory within the
CARTO Data Warehousewhere the user has write permissions. In the case of the
CARTO Data Warehouseconnection for this user account the directory is
carto-dw-ac-t4cgd7ox.data. Once you have completed this configuration, click on Save here.
- 7.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.
- 8.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.
- 9.The last screen will show you a summary of the configuration of the tileset for your confirmation. Click on Create to confirm.
- 10.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).
- 11.Once the job has completed we can access the tileset in the Data Explorer and create a map visualization with all that data.
- 12.Click on Create map and this source will be added as a layer in Builder.
- 13.Now let’s style this layer as we want to build a cool visualization.
- 14.Finally we can change our basemap. Go to Basemaps tab and select “Dark matter” from Google Maps.
- 15.We can also make the map public and share it online with our colleagues. For more details, see Publishing and sharing maps.
- 16.Finally, we can visualize the result.