Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indexed GeoTIFF raster displays grayscaled #10392

Closed
qgib opened this issue Oct 4, 2006 · 5 comments
Closed

indexed GeoTIFF raster displays grayscaled #10392

qgib opened this issue Oct 4, 2006 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Oct 4, 2006

Author Name: Redmine Admin (Redmine Admin)
Original Redmine Issue: 333

Redmine category:rasters
Assignee: Tim Sutton


I am using the Windows version of v0.8 "Titan" Preview 2.

The [[GeoTIFF]] file is an 8-bit color raster that has an indexed palette, but it tries to display it as grayscaled values.

My [[GeoTIFF]] Specs from tiffinfo

$ tiffinfo.exe  O34086-G7.TIF
TIFFReadDirectory: Warning, O34086-G7.TIF: unknown field with tag 33550 (0x830e) encountered.
TIFFReadDirectory: Warning, O34086-G7.TIF: unknown field with tag 33922 (0x8482) encountered.
TIFFReadDirectory: Warning, O34086-G7.TIF: unknown field with tag 34735 (0x87af) encountered.
TIFFReadDirectory: Warning, O34086-G7.TIF: unknown field with tag 34737 (0x87b1) encountered.
TIFF Directory at offset 0x522f48
  Image Width: 4774 Image Length: 5784
  Resolution: 1, 1 (unitless)
  Bits/Sample: 8
  Sample Format: unsigned integer
  Compression Scheme: [[PackBits]]
  Photometric Interpretation: min-is-black
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 1
  Planar Configuration: single image plane
  Color Map: (present)
  Software: IMAGINE TIFF Support
Copyright 1991 - 1999 by ERDAS, Inc. All Rights Reserved
@(#)$RCSfile: etif.c $ $Revision: 1.11 $ $Date$
  Tag 33550: 2.400000,2.400000,0.000000
  Tag 33922: 0.000000,0.000000,0.000000,511424.042000,3859011.495000,0.000000
  Tag 34735: 1,1,0,6,1024,0,1,1,1025,0,1,1,1026,34737,236,0,3072,0,1,26716,3073,
34737,209,236,3076,0,1,9001
  Tag 34737: IMAGINE [[GeoTIFF]] Support
Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved
@(#)$RCSfile: egtf.c $ $Revision: 1.11.2.3 $ $Date: 2004/11/24 09:12:56EST $
Projection Name = NAD_1927_UTM_Zone_16N
Units = meters
[[GeoTIFF]] Units = meters|IMAGINE [[GeoTIFF]] Support
Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved
@(#)$RCSfile: egtf.c $ $Revision: 1.11.2.3 $ $Date: 2004/11/24 09:12:56EST $
UTM Zone 16N
Ellipsoid = Clarke 1866
Datum = NAD27|


@qgib
Copy link
Contributor Author

qgib commented Oct 4, 2006

Author Name: Redmine Admin (Redmine Admin)


Sample is available upon an email request. It is about 1.8MiB Zipped.

@qgib
Copy link
Contributor Author

qgib commented Nov 6, 2006

Author Name: Gavin Macaulay - (Gavin Macaulay -)


It displays fine for me under Linux with gdal 1.3.2. I suspect that the problem is with gdal rather than qgis - hopefully the next windows package of qgis will use 1.3.2 and should fix the problem.

@qgib
Copy link
Contributor Author

qgib commented Nov 8, 2006

Author Name: Gavin Macaulay - (Gavin Macaulay -)


With gdal 1.3.1 under linux the file also displays incorrectly, so this appears to be a gdal problem that is resolved in 1.3.2. The next windows build of qgis should then fix this ticket.

@qgib
Copy link
Contributor Author

qgib commented Nov 9, 2006

Author Name: Gavin Macaulay - (Gavin Macaulay -)


The preview of the windows preview 3 version of qgis, which uses gdal 1.3.2, fixes this problem.


  • resolution was changed from to fixed
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Aug 21, 2009

Author Name: Anónimo (Anónimo)


Milestone Version 0.8 deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant