[GRASS-user] GeoTIFF output question (number of bytes divisible by 8?)

Markus Metz markus.metz.giswork at googlemail.com
Mon Aug 9 10:36:10 EDT 2010


stephen sefick wrote:
> If anyone is interested I had to export the files in AAIGrid format

Why did export directly to GeoTIFF not work?

> with a no data value =0 (elevations well above sea level) and then use
> gdal_translate to turn this into a geotiff.
>
> #GRASS out
> r.out.gdal input=fcms at PERMANENT output=/home/ssefick/Desktop/fcms
> nodata=0 format=AAIGrid
>
> #translate to goetiff
> gdal_translate -of GTIFF fcms fcms_g.tiff
>
> then tauDEM command line functions seem to work fine.
>
> If I am missing something please inform me.
>
> Again, thanks for all of the help!
>
> Stephen Sefick
>
> On Mon, Aug 9, 2010 at 8:06 AM, stephen sefick <ssefick at gmail.com> wrote:
>> Thank you- I will figure all of this out one day...  I thank you all
>> for your kind support.
>> kindest regards,
>>
>> Stephen Sefick
>>
>> On Mon, Aug 9, 2010 at 8:05 AM, Markus Metz
>> <markus.metz.giswork at googlemail.com> wrote:
>>> stephen sefick wrote:
>>>> I am using
>>>>
>>>> r.out.tiff -t input=fcms at PERMANENT output=/home/ssefick/Desktop/fcms.tiff
>>>>
>>> Use
>>> r.out.gdal input=fcms at PERMANENT output=/home/ssefick/Desktop/fcms.tiff
>>>
>>>> for input into the tauDEM pitremove function (compiled from source)
>>>
>>> BTW, with r.out.tiff you get a standard tiff image with color values
>>> (0 - 255, 3 bands for RGB), not elevation values.
>>>
>>> Markus M
>>>
>>
>>
>>
>> --
>> Stephen Sefick
>> ____________________________________
>> | Auburn University                                   |
>> | Department of Biological Sciences           |
>> | 331 Funchess Hall                                  |
>> | Auburn, Alabama                                   |
>> | 36849                                                    |
>> |___________________________________|
>> | sas0025 at auburn.edu                             |
>> | http://www.auburn.edu/~sas0025             |
>> |___________________________________|
>>
>> Let's not spend our time and resources thinking about things that are
>> so little or so large that all they really do for us is puff us up and
>> make us feel like gods.  We are mammals, and have not exhausted the
>> annoying little problems of being mammals.
>>
>>                                 -K. Mullis
>>
>
>
>
> --
> Stephen Sefick
> ____________________________________
> | Auburn University                                   |
> | Department of Biological Sciences           |
> | 331 Funchess Hall                                  |
> | Auburn, Alabama                                   |
> | 36849                                                    |
> |___________________________________|
> | sas0025 at auburn.edu                             |
> | http://www.auburn.edu/~sas0025             |
> |___________________________________|
>
> Let's not spend our time and resources thinking about things that are
> so little or so large that all they really do for us is puff us up and
> make us feel like gods.  We are mammals, and have not exhausted the
> annoying little problems of being mammals.
>
>                                 -K. Mullis
>


More information about the grass-user mailing list