"gdal_translate -scale 0 1 0 factor in out" could also be used. As a
bonus point, this works with VRT as an output if you don't want to
materialize the intermediate file.
Even
Le 18/03/2021 à 12:20, Evert Etienne (SITEMARK) a écrit :
For reference, I decided to go for a simple gdal_calc with
`f"--calc=A*{factor}”`
On 12 Mar 2021, at 20:43, Evert Etienne (SITEMARK) <evert.etie...@sitemark.com>
wrote:
Hello all,
I was wondering what the best or recommended way was to convert the vertical
unit of a DEM/DSM. I am able to use gdal_translate, gdal_calc.py, GDAL python
bindings or rasterio. I will afterwards be tiling using gdal2tiles.
Any pointers would be appreciated.
Greetings
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgdal-dev&data=04%7C01%7Cevert.etienne%40sitemark.com%7C6c3aa10464d049460cdb08d8e58f2fb1%7Cfc89adff07ac47008853b7b7e906068e%7C0%7C0%7C637511750448796572%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TPf74UL%2B%2FL%2FyfIRFrJDDPZ0wy8ZxDOx6MTDQFPVOiwU%3D&reserved=0
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev