CARTO User Manual

CARTO User Manual

Build a 3D map with a tileset

Context

A geospatial analysis of land use dynamics has special relevance for the management of many phenomena, such as the assessment of the loss of soil due to erosion or the reduction of rural land in favour of the built-up areas. In this regard, Digital elevation Models (DEM) are important inputs to quantify the characteristics of the land surface.

In this example we are building a map from a tileset createad by CARTO from a new NASA Digital Elevation Model (NASADEM). We are going to represent the distribution of land elevation by using a gradual color palette and then build a 3D visualization by assigning heights to polygons.

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_tilesets from the collapsible tree.

    Data Explorer content carto data warehouse

  4. Selected “nasadem_glo_quadgrid15” and explore the details and metadata of the tileset.

    Data Explorer map prewiew

    Data Explorer data prewiew

  5. Create a map by clicking on the Create map button on the top. This will open the tileset as a layer on a CARTO Builder map. Check Creating a tileset from your data to get started.

    Data Explorer create map from tileset

  6. Change layer name to “NASADEM elevation”.

    Map layers rename

  7. Click on Layer style to start styling the layer.

    Map layers options

    Map layers style

  8. Click on the “three dots” icon in the Fill Color section and select “Color Based On” feature elevation. Select a sequential color palette for this type of feature.

    Map fill style based on field

  9. In order to be able to visualize this data on a 3D map, we need to detail what feature should be used to obtain the “height” information. Click on the “three dots” icon in the Height section and in the field “Height Based On” pick the feature elevation with a linear scale.

    Map height

    You can also change the height using the height slider or by directly inputting the height in the text input.

    Map height slider

  10. Finally, modify the map visualization to be in 3D by clicking on the “cube” icon in the top bar.

    Map 3D map icon

    Map 3D map

  11. 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

  12. Finally, we can visualize the result.