[Gdal-dev] GDAL error exporting grass raster to Gtiff
Frank Warmerdam
warmerdam at pobox.com
Mon Nov 6 10:53:28 EST 2006
Yves Jacolin wrote:
> Hi,
>
> I tried to export raster data from GRASS to GTiff with r.out.gdal, I get this
> error message :
> GRASS 6.2.0RC1 (Lambert2Nord):~ > r.out.gdal input=C03r type=Byte
> output=C03.tiff
> Writing format: GTiff
> Writing type: Byte
> Input file size is 2159, 1574
> 0Warning 1: Lost metadata writing to GeoTIFF ... too large to fit in tag.
> ...10...20...30...40...50...60...70...80...90...100 - done.
> /usr/local/grass-6.2.0RC1/scripts/r.out.gdal: line 136: 25674 Erreur de
> segmentation gdal_translate -of $FORMAT -ot $TYPE $CREATEKEY $METAKEY
> $CELLHD $OUTPUT
>
> I posted a message in the grass list but I got no answer. Have you got any
> ideas ? Thank you.
Yves,
I would guess that there is a large color table associated with the input
raster and it is overflowing the size of a TIFF tag. I don't know why
this is resulting in a segmentation fault in r.out.gdal though.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the Gdal-dev
mailing list