Ask or search…
Comment on page

Build a 3D map with a tileset


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 favor 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 created 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. 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. 2.
    From the Navigation Menu in the left panel, select Data Explorer.
  3. 3.
    Select the CARTO Data Warehouse connection and click on demo data > demo_tilesets from the collapsible tree.
  4. 4.
    Selected “nasadem_glo_quadgrid15” and explore the details and metadata of the tileset.
  5. 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.
  6. 6.
    Change layer name to “NASADEM elevation”.
  7. 7.
    Click on Layer style to start styling the layer.
  8. 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.
  9. 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.
    You can change the height using the height slider or by directly inputting the height in the text input.
  10. 10.
    Finally, modify the map visualization to be in 3D by clicking on the “cube” icon in the top bar.
  11. 11.
    We can also make the map public and share it online with our colleagues. For more details, see Publishing and sharing maps.
  12. 12.
    Finally, we can visualize the result.