read from a global dem via the warper and do a correlation test? :)
On Sat, Apr 30, 2022 at 11:11 AM Nyall Dawson <nyall.daw...@gmail.com> 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 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@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Michael Sumner Software and Database Engineer Australian Antarctic Division Hobart, Australia e-mail: mdsum...@gmail.com
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev