[GRASS-user] GRASS export GeoTiff adventure :-)
Markus Metz
markus_metz at gmx.de
Sat Aug 2 15:14:59 EDT 2008
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.
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?
> 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