[Gdal-dev] GDAL error exporting grass raster to Gtiff
Yves Jacolin
yjacolin at free.fr
Mon Nov 6 11:01:41 EST 2006
Le Lundi 6 Novembre 2006 16:53, Frank Warmerdam a écrit :
> 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,
Thank you Frank,
The files are really created but the color are not good ! You are right.
Do you think if I change the color table in GRASS, I can sucess to export
them ? The raster came from tif files extracted from PDF files and
georeferenced inside GRASS.
Thank you,
Y.
--
Yves Jacolin
---
http://yjacolin.gloobe.org
More information about the Gdal-dev
mailing list