[GRASS-dev] Re: r.external

Markus Neteler neteler at osgeo.org
Wed Aug 27 09:54:51 EDT 2008


On Wed, Aug 27, 2008 at 3:20 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> Markus Neteler wrote:
>
>> I found a problem with FP maps:
>>
>> gdalinfo /tmp/geodata2_originals_raid5/pat_DTM_5m_derived_LIDAR_UTM_WGS84/pat_DTM_2008_derived_5m_UTM_WGS84.tif
>> ..
>> Band 1 Block=23522x1 Type=Float32, ColorInterp=Gray
>> ...
>>
>> File size (if that matters): 2458610122
>>
>> GRASS 7.0.svn (patUTM):~/grass70 > r.external
>> in=/tmp/geodata2_originals_raid5/pat_DTM_5m_derived_LIDAR_UTM_WGS84/pat_DTM_2008_derived_5m_UTM_WGS84.tif
>> out=pat_dtm_5m
>> Projection of input dataset and current location appear to match
>> <pat_dtm_5m> created
>> r.external complete.
>>
>> GRASS 7.0.svn (patUTM):~/grass70 > d.rast pat_dtm_5m
>> PNG: GRASS_TRUECOLOR status: FALSE
>> PNG: collecting to file: map.png,
>> GRASS_WIDTH=640, GRASS_HEIGHT=480
>> WARNING: Unable to find
>>          '/home/neteler/grassdata/patUTM/neteler/cell_misc/pat_dtm_5m/f_format'
>
> Try r33119.
>
> I didn't set the lzw_compression_bits field; AFAICT, nothing uses it
> (even for normal maps).

This helps.

> Is the f_quant file also necessary?

Good question:

 GRASS_VERSION (patUTM):~ > d.rast pat_dtm_5m
PNG: GRASS_TRUECOLOR status: FALSE
PNG: collecting to file: map.png,
GRASS_WIDTH=640, GRASS_HEIGHT=480

WARNING: quantization file [pat_dtm_5m] in mapset [neteler] missing
 100%
display map.png

.... looks good.

BTW: could GRASS_TRUECOLOR status be TRUE per default?

thanks,
Markus


More information about the grass-dev mailing list