[gdal-dev] Hints that a raster band represents a DEM?

Matt.Wilkie at yukon.ca Matt.Wilkie at yukon.ca
Mon May 9 12:44:26 PDT 2022


If you decide to add an elevation metadata keyword for things you generate let us know and I at least will follow suit. ;-)

-Matt

-----Original Message-----
From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> On Behalf Of Nyall Dawson
Sent: April 29, 2022 6:11 PM
To: gdal dev <gdal-dev at lists.osgeo.org>
Subject: [gdal-dev] Hints that a raster band represents a DEM?

[You don't often get email from nyall.dawson at gmail.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification.]

Hi list,

I'm looking for any tips on potential approaches I could use to automagically guess that a particular band from a data source represents an elevation surface.

I haven't been able to find any common metadata components in the files I've investigated which could help indicate this, but maybe I'm missing something. Right now the best approach I can think of would be to test if the layer's CRS has a vertical component (but unfortunately even among DEM layers I think this will be rare!).

Any suggestions?
Nyall
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org


More information about the gdal-dev mailing list