Hi,<br>I am trying to convert this GIF <a href="http://aviationweather.gov/data/products/swl/ll_12_0_cl_new.gif" target="_blank">https://picasaweb.google.com/izzybitsie/GDALImage?feat=directlink</a> to gtiff.<br>I used this command after assuming projection was lcc:<br>
<b>gdal_translate -of GTiff -a_srs '+proj=lcc +lon_0=-95 +lat_0=25 lat_1=25' -a_ullr $ulx $uly $lrx $lry ../maps/my_image.gif ../maps/my_image.tif </b><br><br>If I try to view the image using ImageMagick I can see it but I get a warning about TiffReadDirectory field tag 42112 encountered. If I try to view the same image with a proprietary software then, I get the same warning but I am not able to see the image.<br>
I used GDAL 1.6.0dev, FWTools 2.0.6, released 2008/02/03.<br><br>The info for my_image.tif:<br><br>Input file size is 864, 526<br>0...10...20...30...40...50...60...70...80...90...100 - done.<br>[isidora@SJC1871DVML PY]$ display<br>
[isidora@SJC1871DVML PY]$ gdalinfo my_image.tif<br>
Driver: GTiff/GeoTIFF<br>Files: my_image.tif<br>Size is 864, 526<br>Coordinate System is:<br>PROJCS["unnamed",<br> GEOGCS["WGS 84",<br> DATUM["unknown",<br> SPHEROID["unnamed",6378137,298.2572235629972]],<br>
PRIMEM["Greenwich",0],<br> UNIT["degree",0.0174532925199433]],<br> PROJECTION["Lambert_Conformal_Conic_1SP"],<br> PARAMETER["latitude_of_origin",25],<br> PARAMETER["central_meridian",-95],<br>
PARAMETER["scale_factor",1],<br> PARAMETER["false_easting",0],<br> PARAMETER["false_northing",0],<br> UNIT["metre",1,<br> AUTHORITY["EPSG","9001"]]]<br>
Origin = (-135.000000000000000,44.000000000000000)<br>Pixel Size = (0.070601851851852,-0.045627376425856)<br>Metadata:<br> AREA_OR_POINT=Area<br>Image Structure Metadata:<br> INTERLEAVE=BAND<br>Corner Coordinates:<br>Upper Left (-135.0000000, 44.0000000) ( 95d 0'4.81"W, 25d 0'1.43"N)<br>
Lower Left (-135.0000000, 20.0000000) ( 95d 0'4.81"W, 25d 0'0.65"N)<br>Upper Right ( -74.0000000, 44.0000000) ( 95d 0'2.64"W, 25d 0'1.43"N)<br>Lower Right ( -74.0000000, 20.0000000) ( 95d 0'2.64"W, 25d 0'0.65"N)<br>
Center (-104.5000000, 32.0000000) ( 95d 0'3.73"W, 25d 0'1.04"N)<br>Band 1 Block=864x9 Type=Byte, ColorInterp=Palette<br> Metadata:<br> GIF_BACKGROUND=0<br> Color Table (RGB with 256 entries)<br>
0: 0,0,0,255<br> 1: 0,255,255,255<br> 2: 153,153,102,255<br> 3: 204,204,204,255<br> 4: 255,0,0,255<br> 5: 51,153,204,255<br> 6: 51,204,51,255<br> 7: 255,255,255,255<br> 8: 255,255,0,255<br> 9: 0,0,255,255<br>
10: 0,0,0,255<br> 11: 0,0,0,255<br> 12: 0,0,0,255<br> 13: 0,0,0,255<br> 14: 0,0,0,255<br> 15: 0,0,0,255<br> 16: 0,0,0,255<br> 17: 0,0,0,255<br> 18: 0,0,0,255<br> 19: 0,0,0,255<br> 20: 0,0,0,255<br>
21: 0,0,0,255<br>
22: 0,0,0,255<br> 23: 0,0,0,255<br> 24: 0,0,0,255<br><br><br><br>.......<br>and the color table keeps going here<br><br>I cannot upload this image to Picasa, but if needed I'll look for a file server.<br><br><br>
Q1: is there any easy way to find out if this warning is caused because I am using the wrong projection?<br>Q2: Does the command I am using look OK?<br>Q3: How do I get rid of the warning to try viewing the image with the proprietary software?<br>
<br>Thanks<br><br>