Skip to content

Harmonization of elevation data sources #558

@zod

Description

@zod

BRouter currently has four elevation sources

  • ConvertSrtmTile supports _1arc_v3_bil.zip which seem to support files in 1 deg tiles "Band Interleaved by Line" (BIL) format which is used by USGS for 1 arcsec global coverage. Data will be converted to 5 deg .bef tiles.
  • SrtmData supports "Ersi ASCII" format in 5 deg tiles which is used by CSI CGIAR for the SRTM v4.1 90m global dataset. BRouter supports converting to 5 deg .bef tiles or reading it directly into SrtmRaster
  • ConvertLidarTile supports "HGT" format in 1 deg tiles which is used by NASA for their SRTM Plus 30m global dataset or Sonny's LiDAR DTM. 1 deg 90m tiles can be converted into 5 deg .bef tiles and direct access via SrtmRaster allows 30m and 90m 1 deg tiles. Converted tiles need to use srtm_x_y.bef as filename

The .rd5 segments currently use two datasources

  • SRTM CSI CGIAR for global coverage (lat -60 till +60)
  • Sonny's LiDAR for northern europe (above lat +60)

As it's rather complicated (and undocumented) and uses some confusing names we should rename and remove some parts.

  • SrtmRaster should be renamed to ElevationRaster because it supports elevation data from sources other than SRTM
  • ConvertSrtmTile should be removed because the dataset it supports a dataset which is superseded by other SRTM datasets which are provided in different formats
  • SrtmData should be renamed to something different which indicates the "Ersi ASCII" format. It's not related to SRTM and other datasources could be converted to "Ersi ASCII" using gdal
  • ConvertLidarTile should support 30m resolution also for .bef conversion
  • .bef files should use the same naming scheme as .rd5 instead of mimicking as SRTM tiles
  • We should add documentation which also explains using the LiDAR tiles

Most of the information is from reading the source or older issues, so maybe @abrensch can confirm if I'm correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions