Different Types of Image Export in GEE || Google Earth Engine ||

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025
  • var srtm = ee.Image("USGS/SRTMGL1_003")
    Please Subscribe this RUclips Channel. You will be helpful with this channel. Please like and share the videos. And comment me if any query or any suggestion. Thank you.
    Codes
    //Step 1 *****************************************************************
    // Load the SRTM DEM dataset
    var srtm = ee.Image("USGS/SRTMGL1_003");
    //Step 2 *****************************************************************
    // Load the Chamoli district boundary from your assets
    var roi = ee.FeatureCollection('users/ursgisag159/Chamoli_District_Shp');
    // Center the map on Chamoli
    Map.centerObject(roi, 9);
    // Clip the SRTM DEM to the Chamoli district boundary
    var srtmChamoli = srtm.clip(roi);
    // Add Chamoli district boundary to the map
    Map.addLayer(roi, {color: 'red'}, 'Chamoli District');
    //Step 3 *****************************************************************
    // Define visualization parameters for SRTM DEM
    var visParams = {
    min: 800,
    max: 7000,
    palette: ['0000FF', '00FFFF', '00FF00', 'FFFF00', 'FF0000', 'FFFFFF']
    };
    // Add the SRTM DEM layer to the map
    Map.addLayer(srtmChamoli, visParams, 'SRTM DEM over Chamoli');
    // //Step 4 *****************************************************************
    // Export the image to Google Drive
    Export.image.toDrive({
    image: srtmChamoli,
    description: 'SRTM_DEM_Chamoli',
    folder: 'EarthEngineExports', // Google Drive folder (optional)
    fileNamePrefix: 'srtm_dem_Chamoli', // File name prefix
    region: roi, // The region to export
    scale: 30, // Export resolution (SRTM is 30 meters)
    maxPixels: 1e9, // Maximum allowed pixels for export
    });
    // Export the image to Earth Engine Asset
    Export.image.toAsset({
    image: srtmChamoli,
    description: 'SRTM_DEM_Asset',
    assetId: 'users/ursgisag159/SRTM_DEM_Chamoli',
    region: roi,
    scale: 30,
    maxPixels: 1e9
    });
    // Export the image to Google Cloud Storage
    Export.image.toCloudStorage({
    image: srtmChamoli,
    description: 'SRTM_DEM_GCS',
    bucket: 'your-bucket-name', // Change to your Google Cloud Storage bucket
    region: roi,
    scale: 30,
    maxPixels: 1e9
    });
    ArcMap Fundamentals
    • ArcMap Fundamentals
    Google Earth
    • Google Earth
    Google Earth Engine
    • Google Earth Engine
    Research Methodology
    • Research Methodology
    R STUDIO
    • R STUDIO
    Hydraulics
    • Hydraulics
    Excel Fundamentals
    • MS Excel
    Topographical Map
    • Topographical Map
    Shapefile Editing
    • Shapefile Editing
    MS Word
    • MS Word
    Data Downloading
    • Data Downloading
    #ursgisg
    #gee
    #imageexport
    #googleearthengine
    #rsgis

Комментарии • 2