Re: Re-sampling a 32 bit geotif



Here is the output:
C:\Users\deadpickle\Desktop\UAS\GRRUVI2_uc>convert -depth 24 NED_52181266.tif NE
D_52181266.24bit.tif
convert: NED_52181266.tif: unknown field with tag 33550 (0x830e) encountered. `T
IFFReadDirectory' @ tiff.c/TIFFWarnings/526.
convert: NED_52181266.tif: unknown field with tag 33922 (0x8482) encountered. `T
IFFReadDirectory' @ tiff.c/TIFFWarnings/526.
convert: NED_52181266.tif: unknown field with tag 34735 (0x87af) encountered. `T
IFFReadDirectory' @ tiff.c/TIFFWarnings/526.
convert: NED_52181266.tif: unknown field with tag 34737 (0x87b1) encountered. `T
IFFReadDirectory' @ tiff.c/TIFFWarnings/526.

Though in Arcmap the new geotif wont load. I got these from the USGS seamless server. Its the only place I can think of to get geotiffs. If anyone knows somewhere else that would help.



On Sun, Mar 8, 2009 at 12:16 AM, Brian Manning <elspicyjack gmail com> wrote:
2009/3/7 Jamie Lahowetz <jlahowetz gmail com>:
> I tried to make a test script but it crashes when trying to read the geotif.
> Any ideas?

Try ImageMagick from the command line?

convert -depth 24 NED_52181266.tif NED_52181266.24bit.tif

If it crashes there, then you need to find some other tool to convert
it.  You may get some usable error output however.  Does the program
that created those TIFF files have some kind of bit depth option you
can use?

Thanks,

Brian

>> 2009/3/7 Jamie Lahowetz <deadpickle gmail com>:
>> > I am trying to display a geotif using Gtk2::Gdk::Pixbuf but the geotif
>> > is 32
>> > bits and only a 24 bit image can be read in. I want to know if there is
>> > a
>> > way to resample the geotif so that it can be loaded into my Perl
>> > program.
>>
>> I imagine Imagemagick is your friend...
>>
>> Regards
>>
>> Jeff
>
>
>
> --
> Jamie Ryan Lahowetz
> University of Nebraska - Lincoln
> Graduate Student - Geosciences
> 402.304.0766
> jrl9262 huskers unl edu
>
> _______________________________________________
> gtk-perl-list mailing list
> gtk-perl-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-perl-list
>
>



--
Jamie Ryan Lahowetz
University of Nebraska - Lincoln
Graduate Student - Geosciences
402.304.0766
jrl9262 huskers unl edu


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]