aws.osml.photogrammetry.srtm_dem_tile_set module

class aws.osml.photogrammetry.srtm_dem_tile_set.SRTMTileSet(prefix: str = '', version: str = '1arc_v3', format_extension: str = '.tif')[source]

Bases: DigitalElevationModelTileSet

A tile set for SRTM content downloaded from the USGS website.

find_tile_id(geodetic_world_coordinate: GeodeticWorldCoordinate) str | None[source]

This method creates tile IDs that match the file names for grid tiles downloaded using the USGS Earth Eplorer. It appears they are following a <latitude degrees>_<longitude degrees>_<resolution>_<version><format> convention. Examples:

  • n47_e034_3arc_v2.tif: 3 arc second resolution

  • n47_e034_1arc_v3.tif: 1 arc second resolution

Parameters:

geodetic_world_coordinate – the world coordinate of interest

Returns:

the tile path or None if the DEM does not have coverage for this location