Usually DEM are not unsigned 8 bit but if you are asking for GDT_Byte, that is
what you will get.
You should change that RasterIO() parameter to GDT_Float32 for example.
> Date: Sat, 6 Jun 2015 01:31:59 -0700
> From: jawaha...@hotmail.com
> To: gdal-dev@lists.osgeo.org
> Subject: [gdal-dev] get
Sorry,
This was the correct answer but for the wrong user list
Nicolas Cadieux M.Sc.
Les Entreprises Archéotec inc.
8548, rue Saint-Denis Montréal H2P 2H2
Téléphone: 514.381.5112 Fax: 514.381.4995
www.archeotec.ca
On Jun 6, 2015 10:34, Nicolas Cadieux wrote:
>
> Hi,
>
> There is the " val
Hi,
There is the " value tool plugin" that you can install. That will give you the
values when you move your mouse across the raster. For more points, install
the "point sampling tool" plugin.
Nicolas Cadieux M.Sc.
Les Entreprises Archéotec inc.
8548, rue Saint-Denis Montréal H2P 2H2
Télépho
Hi,
I have a geotiff dem. How can I get the height information given a pixel
coordinate? I tried to get the data using
gdErr = poDataset->GetRasterBand(1)->RasterIO(
GF_Read, 0, 0, poDataset->GetRasterXSize(),
poDataset->GetRasterYSize(),