Загрузка...

Upload Shape files/Geo-tiff files in GEE Assets and filter to ROI

This gives you options to upload GeoTiff, Shapefiles, CSV Files, or Image Collection or Folder. Navigate to your folder and upload the files that you want. It might take a while to upload your file. Once your files are uploaded to Assets, you can import an asset to your script by hovering over the asset name in the Asset Manager and clicking the arrow_forward icon. After that, you can filter the area of interest/ROI from uploaded feature collection/assets.

Here is the script:
//load asset geometry
var province_1 = ee.FeatureCollection('users/adhikarikapildev/province1');
//load feature collection into map canvas
Map.addLayer(province_1, {}, 'Province_1');

//filter area of interest/ROI from FC/assets
var filter = ee.Filter.inList('DISTRICT', ['SUNSARI', 'MORANG', 'JHAPA']);
var filtered_area = province_1.filter(filter);
Map.addLayer(filtered_area, {color: 'blue'}, 'Terai');

//define filtered area as ROI
var Terai = filtered_area;

//zoom to ROI
Map.centerObject(Terai);

Видео Upload Shape files/Geo-tiff files in GEE Assets and filter to ROI канала Kapil Adhikari
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять