[GRASS-user] howto make my srtm-dem jump the GIS gap
William Kyngesburye
woklist at kyngchaos.com
Fri Aug 11 23:44:09 EDT 2006
Ah, as an image format, I didn't realize GeoTIFF could store float
values. But I see it now, tucked away in the sample format tag of
the tiff spec.
On Aug 11, 2006, at 6:12 PM, Maciej Sieczka wrote:
> William Kyngesburye napisa?(a):
>> On Aug 9, 2006, at 4:51 AM, Rudolf Maurer wrote:
>>
>>> Will try William and Macieks r.out.gdal suggestions, but did not
>>> do it
>>> yet. When I export TIF I am losing the height data, right?
>>>
>> That's why you use the Int16 data type, so it can store the full
>> range
>> of elevations. So it only works for integer elevations. Floats
>> would
>> need another method, like the ascii grid export from GDAL. Or
>> scaling
>> the data up a number of decimal places so an integer could be used.
>
> That is not correct. You can specify type=float32 or float64 to store
> floating points values.
>
> Maciek
-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/
"Time is an illusion - lunchtime doubly so."
- Ford Prefect
More information about the grass-user
mailing list