0

I want to download a digital elevation model for a major part of Europe.

Last time I tried it with the "NASA NASADEM Digital Elevation 30m", wich can be found here: https://developers.google.com/earth-engine/datasets/catalog/NASA_NASADEM_HGT_001#description

However, I encounter the problem, that the northern part of the map extend is completely cut off, as you can see in the picture below. When I download the DEM TIF data like this, the pixels of the entire cut-off-region only contain the value "0", respectively an elevation of zero.

screenshot of my GEE windor after running the code

Here is the code I use:

// Import the dataset and select the elevation band.
var dataset = ee.Image('NASA/NASADEM_HGT/001');
var elevation = dataset.select('elevation');

// Add a white background image to the map.
var background = ee.Image(1);
Map.addLayer(background, {min: 0, max: 1});

// Set elevation visualization properties.
var elevationVis = {
  min: 0,
  max: 2000,
};

// Set elevation <= 0 as transparent and add to the map.
Map.addLayer(elevation.updateMask(elevation.gt(0)), elevationVis, 'Elevation');

Export.image.toDrive({ 
  image: elevation, 
  description: 'elevation', 
  folder: 'Digital Elevation Model Europe', 
  scale: 100, 
  region: geometry, 
  maxPixels: 5e9 // --> change the maxPixels for different resolution
})
2
  • 1
    This is due to the data and not due to Google Earth Engine. Try another DEM that covers the entire earth.
    – JonasV
    Commented Nov 8, 2023 at 10:14
  • ah seriously?! I have tried it with an other one before, but it looks like that got the same weird map extend. Thanks for the quick answer though!
    – Mark
    Commented Nov 8, 2023 at 10:41

1 Answer 1

2

As pointed out by @JonasV, it's the data. SRTM only covers the globe from 56°S to 60°N as shown here and described here:

srtm near-global coverage

1
  • alright, thanks mate!
    – Mark
    Commented Nov 8, 2023 at 13:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.