Google Earth Engine (GEE) scripts for downloading and analyzing geospatial data by province in Turkey. Each script is ready to use in the GEE Code Editor — just change the province name and run.
TR: Türkiye il bazında DEM, arazi örtüsü, uydu görüntüsü ve yangın riski analizi için Google Earth Engine scriptleri. Her script GEE Code Editor'da doğrudan çalıştırılabilir.
| # | Script | Description | Data Source |
|---|---|---|---|
| 01 | DEM Export | Export 30m DEM for any Turkish province with elevation stats | SRTM 30m |
| 02 | Slope & Aspect | Terrain analysis with slope classification for land use planning | SRTM 30m |
| 03 | Land Cover | Land cover mapping with area statistics per class | ESA WorldCover 10m |
| 04 | Sentinel-2 Composite | Cloud-free composites with NDVI and NDWI | Sentinel-2 L2A |
| 05 | NDVI Time Series | Monthly NDVI charts and seasonal vegetation analysis | Sentinel-2 L2A |
| 06 | Forest Fire Risk | Multi-factor fire risk assessment (NDVI + LST + Slope + Land Cover) | Multi-source |
- Open Google Earth Engine Code Editor
- Copy any script from the
scripts/folder - Change
PROVINCE_NAMEto your target province (e.g.,'Istanbul','Izmir','Trabzon') - Click Run
- Check the Tasks tab to start exports to Google Drive
// Example: Change this line in any script
var PROVINCE_NAME = 'Ankara'; // ← Replace with your provinceExports SRTM 30m elevation data clipped to a province boundary. Prints min/max/mean elevation statistics.
Calculates slope, aspect, and hillshade from DEM. Classifies slope into 5 categories (Flat → Very Steep) and reports area per class. Useful for forestry road planning and erosion assessment.
Uses ESA WorldCover 10m (2021) to map land cover classes. Calculates area (hectares) per class and forest cover percentage. Supports CSV export of statistics.
Creates median composites from Sentinel-2 imagery with SCL-based cloud masking. Generates true color, false color, NDVI, and NDWI layers. Includes NDVI histogram.
Generates monthly NDVI time series charts for monitoring vegetation phenology. Creates seasonal composites (Spring, Summer, Autumn, Winter) and calculates seasonal change maps.
Combines four risk factors with weighted scoring:
- NDVI (30%) — vegetation dryness
- Land Surface Temperature (25%) — MODIS LST
- Slope (20%) — terrain steepness
- Land Cover (25%) — fuel type classification
Outputs a continuous risk index (0–1) and classified risk map (5 levels).
| Dataset | Resolution | Provider |
|---|---|---|
| SRTM DEM | 30m | NASA / USGS |
| ESA WorldCover | 10m | ESA |
| Sentinel-2 SR | 10m | Copernicus |
| MODIS LST | 1km | NASA |
| FAO GAUL | — | FAO |
- Google Earth Engine account (free for research & education)
- Web browser with access to GEE Code Editor
This project is open source and available under the MIT License.