[gdal-dev] Resample elevation GeoTiff to 1 meter resolution.

Jukka Rahkonen jukka.rahkonen at maanmittauslaitos.fi
Tue Feb 16 01:53:11 PST 2016


Ilanit Karpassi <ilanit <at> defensoft.com> writes:


> Hi,
> 
> I
> need to resample any resolution GeoTiff with Z heights, to 1 meter per
pixel GeoTiff.  I
> need a Z value in each pixel according to the algorithm 
> 
>  If
> I use GDAL_Warp, .  (using the C++ code)  it seems that it does that with 0
> values to all pixels. 
> 
> Can
> you give me a good advice please? 

So you have written an algorithm in C++ and it converts all Z values into
zeroes? Why not to show your code? As a non-programmer I would resample the
GeoTIFF first with "gdalwarp -tr 1 1" and continue then with gdal_calc.py
http://www.gdal.org/gdal_calc.html

-Jukka Rahkonen-


More information about the gdal-dev mailing list