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

2022-05-09 Thread Matt.Wilkie
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 On Behalf Of Nyall Dawson Sent: April 29, 2022 6:11 PM To: gdal dev Subject: [gdal-dev] Hints that a raster band

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

2022-05-02 Thread Even Rouault
Hi Nyall, you didn't miss anything. There's no standardized metadata to figure out if a band is DEM. A few drivers (at least USGSDEM, DTED, SRTMHGT, BLX, BT, Leveller, Terragen, SIGDEM, HF2) convey exclusively height related data, but most others can convey anything, often without a distincti

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

2022-04-29 Thread Michael Sumner
read from a global dem via the warper and do a correlation test? :) On Sat, Apr 30, 2022 at 11:11 AM Nyall Dawson wrote: > 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 surf

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

2022-04-29 Thread Nyall Dawson
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 may