Exporting terrain (elevation) raster data and output is not specified pixel size using Google Earth Engine

I am new to Google Earth Engine, and this is likely a simple solution, but I cannot seem to figure it out. I am using Google Earth Engine to export a 30m elevation raster tiff file bounded by my area of interest. Within the Export.image.toDrive() function, I set the scale to 30, maxPixels to 1e12 since the area of interest exceeds the maximum GEE has set, yet my output has a cell size of 0.00026949459. From GEE video tutorials and StackExchange posts, I haven’t seen anyone add additional functions or discuss steps to ensure the cell size stays as specified to export terrain raster datasets. My end goal is to have an exported raster tiff file of my area of interest with a 30-meter cell size.

My GEE code:

var elevation = ee.Image("USGS/NED");

// Create a geometry representing an export region. [R, B, L, T]
var aoi = ee.Geometry.Rectangle([-106.067341, 41.725516, -111.162722, 45.050258]);

// Export the image, specifying scale and region.
  image: elevation,
  description: 'DEM30_ned',
  scale: 30,
  maxPixels: 1e12,
  region: aoi,

Geographic Information Systems Asked on November 21, 2021

1 Answers

One Answer

Your code seems to be working correctly. The exported image has a resolution of 30m (see attached image) in GCS_North_American_1983 Spatial Reference which approximates to 0.000269 decimal degrees in a cylindrical projection.

enter image description here

Answered by kkrao on November 21, 2021

Add your own answers!

Related Questions

Getting my data to be focused on one state

1  Asked on December 16, 2020 by parker


Merging multiple raster files incorrect value in ArcGIS

0  Asked on December 16, 2020 by approachable


sentinelsat vs sentinelhub

2  Asked on December 16, 2020


Focal regression 3×3 group of cells

0  Asked on December 16, 2020 by user97103


Assessing relative positional error in a DEM

0  Asked on December 16, 2020


kml network link styling

1  Asked on December 16, 2020 by matthew-snape


Assign raster values based on polygon intersection

1  Asked on December 16, 2020 by c-ashley


Geocode input glitch ArcGIS Pro

0  Asked on December 16, 2020 by sofia


Preparing raster Image for correlation in ENVI 5.5

1  Asked on December 15, 2020 by tunde


Ask a Question

Get help from others!

© 2021 All rights reserved.