[GRASS-user] GRASS export GeoTiff adventure :-)
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Sat Aug 2 16:15:52 EDT 2008
Thank you for you patience :-)
On Sat, 2008-08-02 at 21:14 +0200, Markus Metz wrote:
> Forgot to cc...
>
> Sorry for the sloppy looking up, here is the solution for INTERLEAVE=PIXEL.
> It is only supported for mulitband images, exporting or translating a
> single band will always give INTERLEAVE=BAND. A look at the gdal source
> code told me that this is apparently a gdal feature, not a bug.
That's useful info.
>
> Nikos Alexandris wrote:
> >>> 4. The createopt="INTERLEAVE=PIXEL" is not respected by r.out.gdal (?)
> >>>
> > Well, the original photos are "INTERLEAVE=PIXEL" and I suppose, from
> > what I read, it's a requirement for "limited" viewers (!) [2][3].
> > Exporting single maps gives "INTERLEAVE=BAND"!
> >
> [...]
> > Exporting a group gives "correctly" something like:
> > [...]
> >
> What does INTERLEAVE say here? Did you try "INTERLEAVE=PIXEL" here?
Yes, it's:
Image Structure Metadata:
INTERLEAVE=PIXEL
> > Band 1 Block=2500x1 Type=Byte, ColorInterp=Red
> > Metadata:
> > COLOR_TABLE_RULES_COUNT=1
> > COLOR_TABLE_RULE_RGB_0=0.000000e+00 2.550000e+02 0 0 0 255 255 255
> > Band 2 Block=2500x1 Type=Byte, ColorInterp=Green
> > Metadata:
> > COLOR_TABLE_RULES_COUNT=1
> > COLOR_TABLE_RULE_RGB_0=0.000000e+00 2.550000e+02 0 0 0 255 255 255
> > Band 3 Block=2500x1 Type=Byte, ColorInterp=Blue
> > Metadata:
> > COLOR_TABLE_RULES_COUNT=1
> > COLOR_TABLE_RULE_RGB_0=0.000000e+00 2.550000e+02 0 0 0 255 255 255
> >
More information about the grass-user
mailing list