สอน Google Earth Engine
============================
GIS4Dev : GIS for beginners
QGIS for beginners, QGIS tutorial, GIS tutorial, GIS web services tutorial, WMS tutorial, WMTS tutorial,
WFS tutorial, WCS tutorial, Google Earth Engine tutorial, ESRI ArcGIS tutorial, Postgresql tutorial, Postgres tutorial,
PostGIS tutorial, GeoServer tutorial for beginners, GeoServer tutorial, OGC, open source software, Google Maps, How to use Google Maps, Google Map tutorial
============================
Contact: [email protected]
Website: http://www.gis4dev.com
Facebook: / gis4dev-101058764633058
Twitter: / pattrawuth4
============================
Credit Music: Chee Zee Beach Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
http://creativecommons.org/licenses/b...
============================
#GIS #GoogleEarthEngine #BigData
********************************************************************************
************************** Code Here (6_01_Export) ************************
********************************************************************************
var l8 = ee.ImageCollection('LANDSAT/LC08/C01/T1_SR') //Load LC8 Images
.filterDate('2018-1-1', '2018-4-30') //Filter by date
.select(['B5','B4']) //Select Bands 5,4
.filterMetadata('CLOUD_COVER', 'less_than', 2) //Filter by cloud less than 20%
.filterBounds(geometry) //Filter by geometry
.median(); //If some ares has more than 1 LC8 image, do median for calculate new DN.
var NDVI = l8.normalizedDifference(['B5', 'B4']); //NDVI Formula ( NIR-RED/NIR+RED )
Map.setCenter(100.36, 14.62, 10); //set map center
Map.addLayer(NDVI, { min: -1, max: 1 }, 'NDVI (ANG THONG)'); //Add NDVI layer to map
Export.image.toDrive({ image: NDVI, description: 'NDVI_ANGTHONG', scale: 30, region: geometry });
Информация по комментариям в разработке