Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
task_categories:
|
| 4 |
+
- other
|
| 5 |
+
tags:
|
| 6 |
+
- elevation
|
| 7 |
+
- srtm
|
| 8 |
+
- geotiff
|
| 9 |
+
- dem
|
| 10 |
+
- terrain
|
| 11 |
+
size_categories:
|
| 12 |
+
- extra-extra-large-1M+
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# SRTM 30m Global Digital Elevation Model
|
| 16 |
+
|
| 17 |
+
NASA Shuttle Radar Topography Mission (SRTM) 30m resolution global DEM, converted to Cloud Optimized GeoTIFF format.
|
| 18 |
+
|
| 19 |
+
## Dataset Details
|
| 20 |
+
|
| 21 |
+
- **Source:** NASA SRTM GL1 v3 (Global 1 arc-second, ~30m resolution)
|
| 22 |
+
- **Coverage:** 80% of land surface between 56°S and 60°N
|
| 23 |
+
- **Resolution:** ~30 meters (1 arc-second)
|
| 24 |
+
- **Format:** GeoTIFF with Deflate compression, 16-bit signed integer
|
| 25 |
+
- **Files:** 14,296 tiles, ~65 GB total
|
| 26 |
+
- **Tile naming:** `N{lat}E{lon}.tif` or `S{lat}W{lon}.tif` (1°×1° tiles)
|
| 27 |
+
- **Internal tiling:** 256×256 pixels, 15×15 grid per file (225 internal tiles)
|
| 28 |
+
- **NoData value:** -32768
|
| 29 |
+
- **Horizontal datum:** WGS 84
|
| 30 |
+
|
| 31 |
+
## Usage
|
| 32 |
+
|
| 33 |
+
### Via OpenZenith API
|
| 34 |
+
|
| 35 |
+
```
|
| 36 |
+
GET https://openzenith.pages.dev/api/elevation?lat=28.5&lon=96.5
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
### Direct download
|
| 40 |
+
|
| 41 |
+
```python
|
| 42 |
+
from huggingface_hub import hf_hub_download
|
| 43 |
+
path = hf_hub_download("aliasfox/srtm30m", "N28E096.tif", repo_type="dataset")
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
### HTTP Range requests
|
| 47 |
+
|
| 48 |
+
Each GeoTIFF file supports HTTP Range requests. The first ~4KB contains the IFD (Image File Directory) with tile offsets. Each 256×256 internal tile can be fetched individually (~3-53 KB compressed).
|
| 49 |
+
|
| 50 |
+
## File Structure
|
| 51 |
+
|
| 52 |
+
Each file covers a 1°×1° area:
|
| 53 |
+
- Image size: 3601×3601 pixels
|
| 54 |
+
- Pixel values: elevation in meters (Int16)
|
| 55 |
+
- Compression: Deflate (zlib)
|
| 56 |
+
- Internal tiles: 256×256 (225 tiles per file)
|