<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>What version of ArcMap?</DIV><DIV>&nbsp;</DIV><DIV>GDAL created geoTiffs are not always compatible with ArcMap. At ArcMap 9.3 and <STRONG>lower</STRONG>, ESRI used the ERDAS raster library to read geoTiffs and many times the internal projection (and nodata)&nbsp;just don't translate over correctly from a GDAL geoTiff. See potential workaround below for ArcMap 9.3 and 9.2.</DIV><DIV>&nbsp;</DIV><DIV>Now at ArcMap 10, ESRI switched over to using the GDAL raster library for geoTiffs (good news!). There will be some growing pains during this transition. For example, this&nbsp;potentially means ArcMap 9.3 created geoTiffs may have issues in ArcMap 10! However, GDAL created geoTiffs, should now work in ArcMap 10 (projection and all).</DIV><DIV>&nbsp;</DIV><DIV><HR id=null></DIV><DIV>&nbsp;</DIV><DIV>Work around for&nbsp;ArcMap 9.3 (maybe 9.2) and using&nbsp;GDAL created geoTiffs:</DIV><DIV>-After you create the GDAL geoTiff, run one more command to create a GDAL&nbsp;"vrt" virtual format from that newly created geoTiff.</DIV><DIV>&gt; gdal_translate -of vrt new_geo.tif&nbsp;new_geo.vrt</DIV><DIV>&nbsp;</DIV><DIV>The .vrt is just a simple ASCII detached header which points back to the geoTiff for the pixel data.&nbsp;Check out the contents of the .vrt, you will notice the registration and the projection are included. Now simply load this new .vrt into ArcMap and it will override the internal geoTiff projection. Thus ArcMap 9.x&nbsp;should correctly understand the file's projection.</DIV><DIV>&nbsp;</DIV><DIV>Again in ArcMap 10, this workaround should not be needed.</DIV><DIV>&nbsp;</DIV><DIV>Hopefully that might help? Note that not&nbsp;all formats will have this issue - only the formats which use the ERDAS library. I think that would only include .tif and maybe the ERDAS .img.</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Trent<BR></DIV><FONT color=#990099>-----fwtools-bounces@lists.maptools.org wrote: -----<BR><BR></FONT><BLOCKQUOTE style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">To: &lt;FWTools@lists.maptools.org&gt;<BR>From: "Adam Yesaitis" &lt;adamy@wtgroupllc.com&gt;<BR>Sent by: fwtools-bounces@lists.maptools.org<BR>Date: 03/16/2011 08:33AM<BR>Subject: [FWTools] gdalwarp questions<BR><BR><DIV dir=ltr><DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt"><DIV>Hello,</DIV><DIV>&nbsp;</DIV><DIV>I am using FW Tools version 2.4.7</DIV><DIV>&nbsp;</DIV><DIV>I am currently trying to reproject data I have in &#8220;NAD 1983 StatePlane New Jersey FIPS 2900 (US Feet).prj(EPSG:3424)&#8221; to &#8220;WGS 1984 Web Mercator (Auxiliary Sphere).prj (EPSG:3857)&#8221;.&nbsp; I input it like this:</DIV><DIV>&nbsp;</DIV><DIV>gdalwarp -s_srs EPSG:3424 -t_srs EPSG:3857 "C:\Users\Adam Y\Desktop\GDAL\RECTIFY11212001.00.tif" "C:\Users\Adam Y\Desktop\GDAL\GDALOUT\output11.tif"</DIV><DIV>&nbsp;</DIV><DIV>Just as a test.&nbsp; It runs to completion with no errors. However, when I load the output into Arcmap the spatial reference is still undefined.&nbsp; Am I missing something?</DIV><DIV>&nbsp;</DIV><DIV>I would also like to be able to specify compression for the output image if possible.</DIV><DIV>&nbsp;</DIV><DIV>Also I would like to be able to run this as a batch which I assume can be accomplished using the &#8211;optfile switch.&nbsp; Can I make this simply point at a directory?&nbsp; Or do I need a specific list of files?</DIV><DIV>&nbsp;</DIV><DIV>Any help would be appreciated.</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>&nbsp;</DIV><DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">Adam Yesaitis<BR>Western Technologies Group<BR>Tel: 908-725-1143<BR>Fax: 908-725-1488<BR>adamy@wtgroupllc.com</DIV></DIV></DIV><FONT size=2 face="Default Monospace,Courier New,Courier,monospace">_______________________________________________<BR>FWTools mailing list<BR>FWTools@lists.maptools.org<BR><A href="http://lists.maptools.org/mailman/listinfo/fwtools" target=blank>http://lists.maptools.org/mailman/listinfo/fwtools</A><BR><A href="http://fwtools.maptools.org/" target=blank>http://fwtools.maptools.org/</A><BR></FONT></BLOCKQUOTE><BR></FONT>