Skip to main content
edited tags
Link
csk
  • 25.1k
  • 3
  • 33
  • 72
deleted 17 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

I am trying to visualize NDVI for a specific boundary that I have imported from ArcMap. When I filter the NAIP imagery by the boundary it works perfectly, but when I try and filter the MODIS by the boundary I only receive an output of the NDVI values for the entire dataset (world). This causes problems later on when I need to use the .map function to add the 'NDVI' band to the clipped Naip imagery.

Below is a segment of my code where geom references the imported polygon. I

I am new to gee and any help would be appreciatedGoogle Earth Engine.

var geom = table2 
var naip = ee.ImageCollection("USDA/NAIP/DOQQ")
  .filterDate('2011-07-03','2011-08-12')
  .filterBounds(geom);
Map.addLayer(naip);
var mod = ee.ImageCollection("MODIS/006/MOD13A2")
  .filterDate('2011-07-03','2011-08-12')
  .filterBounds(geom)
  .select('NDVI'); 
Map.addLayer(mod);  

I am trying to visualize NDVI for a specific boundary that I have imported from ArcMap. When I filter the NAIP imagery by the boundary it works perfectly, but when I try and filter the MODIS by the boundary I only receive an output of the NDVI values for the entire dataset (world). This causes problems later on when I need to use the .map function to add the 'NDVI' band to the clipped Naip imagery.

Below is a segment of my code where geom references the imported polygon. I am new to gee and any help would be appreciated.

var geom = table2 
var naip = ee.ImageCollection("USDA/NAIP/DOQQ")
  .filterDate('2011-07-03','2011-08-12')
  .filterBounds(geom);
Map.addLayer(naip);
var mod = ee.ImageCollection("MODIS/006/MOD13A2")
  .filterDate('2011-07-03','2011-08-12')
  .filterBounds(geom)
  .select('NDVI'); 
Map.addLayer(mod);  

I am trying to visualize NDVI for a specific boundary that I have imported from ArcMap. When I filter the NAIP imagery by the boundary it works perfectly, but when I try and filter the MODIS by the boundary I only receive an output of the NDVI values for the entire dataset (world). This causes problems later on when I need to use the .map function to add the 'NDVI' band to the clipped Naip imagery.

Below is a segment of my code where geom references the imported polygon.

I am new to Google Earth Engine.

var geom = table2 
var naip = ee.ImageCollection("USDA/NAIP/DOQQ")
  .filterDate('2011-07-03','2011-08-12')
  .filterBounds(geom);
Map.addLayer(naip);
var mod = ee.ImageCollection("MODIS/006/MOD13A2")
  .filterDate('2011-07-03','2011-08-12')
  .filterBounds(geom)
  .select('NDVI'); 
Map.addLayer(mod);  
added 40 characters in body
Source Link
MrXsquared
  • 35.6k
  • 22
  • 71
  • 121

I am trying to visualize NDVI for a specific boundary that I have imported from ArcMap. When I filter the NAIP imagery by the boundary it works perfectly, but when I try and filter the MODIS by the boundary I only receive an output of the NDVI values for the entire dataset (world). This causes problems later on when I need to use the .map function to add the 'NDVI' band to the clipped Naip imagery.

Below is a segment of my code where geom references the imported polygon. I am new to gee and any help would be appreciated.

var geom = table2 var naip = ee.ImageCollection("USDA/NAIP/DOQQ") .filterDate('2011-07-03','2011-08-12') .filterBounds(geom); Map.addLayer(naip); var mod = ee.ImageCollection("MODIS/006/MOD13A2") .filterDate('2011-07-03','2011-08-12') .filterBounds(geom) .select('NDVI'); Map.addLayer(mod);

var geom = table2 
var naip = ee.ImageCollection("USDA/NAIP/DOQQ")
  .filterDate('2011-07-03','2011-08-12')
  .filterBounds(geom);
Map.addLayer(naip);
var mod = ee.ImageCollection("MODIS/006/MOD13A2")
  .filterDate('2011-07-03','2011-08-12')
  .filterBounds(geom)
  .select('NDVI'); 
Map.addLayer(mod);  

I am trying to visualize NDVI for a specific boundary that I have imported from ArcMap. When I filter the NAIP imagery by the boundary it works perfectly, but when I try and filter the MODIS by the boundary I only receive an output of the NDVI values for the entire dataset (world). This causes problems later on when I need to use the .map function to add the 'NDVI' band to the clipped Naip imagery.

Below is a segment of my code where geom references the imported polygon. I am new to gee and any help would be appreciated.

var geom = table2 var naip = ee.ImageCollection("USDA/NAIP/DOQQ") .filterDate('2011-07-03','2011-08-12') .filterBounds(geom); Map.addLayer(naip); var mod = ee.ImageCollection("MODIS/006/MOD13A2") .filterDate('2011-07-03','2011-08-12') .filterBounds(geom) .select('NDVI'); Map.addLayer(mod);

I am trying to visualize NDVI for a specific boundary that I have imported from ArcMap. When I filter the NAIP imagery by the boundary it works perfectly, but when I try and filter the MODIS by the boundary I only receive an output of the NDVI values for the entire dataset (world). This causes problems later on when I need to use the .map function to add the 'NDVI' band to the clipped Naip imagery.

Below is a segment of my code where geom references the imported polygon. I am new to gee and any help would be appreciated.

var geom = table2 
var naip = ee.ImageCollection("USDA/NAIP/DOQQ")
  .filterDate('2011-07-03','2011-08-12')
  .filterBounds(geom);
Map.addLayer(naip);
var mod = ee.ImageCollection("MODIS/006/MOD13A2")
  .filterDate('2011-07-03','2011-08-12')
  .filterBounds(geom)
  .select('NDVI'); 
Map.addLayer(mod);  
Source Link
Loading