GeoTiff : tiff + custom tags

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
jlm

GeoTiff : tiff + custom tags

Post by jlm »

Hi!
I would like to use imageMagick /Magick++ to create/modify some geotiff format
at this time writing

Code: Select all

$identify ASTGTM_N44E005_dem.tif 
ASTGTM_N44E005_dem.tif TIFF 3601x3601 3601x3601+0+0 16-bit Grayscale DirectClass 25.96MB 0.000u 0:00.039
identify: ASTGTM_N44E005_dem.tif: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
identify: ASTGTM_N44E005_dem.tif: unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
identify: ASTGTM_N44E005_dem.tif: unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
identify: ASTGTM_N44E005_dem.tif: unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704.
how can I retrieve those tags? how can I write those tags?
thanks and regards
JLM
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: GeoTiff : tiff + custom tags

Post by fmw42 »

I am not an expert on this, but I am pretty sure that IM does not currently support GeoTiff tags. Someone could contribute the code to do so as a number of people have asked about this on the forum.
Post Reply