<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I am having a problem trying to use gdalwarp. &nbsp;Perhaps I am just missing something, but I figured I would see if someone can help. &nbsp;<div><br></div><div>I downloaded some aerial imagery from here:<br><a href="http://www.michigan.gov/dnr/0,1607,7-153-10371_14546-30211--,00.html">http://www.michigan.gov/dnr/0,1607,7-153-10371_14546-30211--,00.html</a><br><br>I want to import it into a UTM zone 17 project. &nbsp;So I did the following:<br>gdalwarp -t_srs '+proj=utm +zone=17 +datum=WGS84' input.sid output_utm.sid<br><br>gdapwarp responds with an error, but then continues with the conversion:<br>ERROR 6: Failed to initialize PROJ.4 with `+proj=omerc +lat_0=0 +lonc=0 +alpha=0 +k=1 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs '.<br>lat_0 = 0 or 90 or alpha = 90<br>0...10...20...30...40...50...60...70...80...90...100 - done.<br><div><br></div><div>It does complete, but the area of interest&nbsp;is in the range of UTM (254500,4734000) and the output of gdalwarp is around 663144,240035. &nbsp;</div><div><br></div><div>Any suggestions for what I might be doing wrong? &nbsp;</div><div><br></div><div><br></div><div>If I do gdalinfo on the original file here is what I get:</div><div><br></div><div>Driver: MrSID/Multi-resolution Seamless Image Database (MrSID)<br>Files: oakgrove_sw.sid<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oakgrove_sw.sdw<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oakgrove_sw.sid.aux.xml<br>Size is 6415, 8061<br>Coordinate System is:<br>PROJCS["IMAGINE GeoTIFF Support<br>Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved<br>@(#)$RCSfile: egtf.c $ $Revision: 1.7 $ $Date: 2001/09/27 14:59:29EDT $<br>Projection = Oblique Mercator (Hotine)|IMAGINE",<br>&nbsp;&nbsp;&nbsp;GEOGCS["NAD83",<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DATUM["North_American_Datum_1983",<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SPHEROID["GRS 1980",6378137,298.2572221010002,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AUTHORITY["EPSG","7019"]],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AUTHORITY["EPSG","6269"]],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PRIMEM["Greenwich",0],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UNIT["degree",0.0174532925199433],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AUTHORITY["EPSG","4269"]],<br>&nbsp;&nbsp;&nbsp;PROJECTION["Hotine_Oblique_Mercator"],<br>&nbsp;&nbsp;&nbsp;PARAMETER["latitude_of_center",0],<br>&nbsp;&nbsp;&nbsp;PARAMETER["longitude_of_center",0],<br>&nbsp;&nbsp;&nbsp;PARAMETER["azimuth",0],<br>&nbsp;&nbsp;&nbsp;PARAMETER["rectified_grid_angle",90],<br>&nbsp;&nbsp;&nbsp;PARAMETER["scale_factor",1],<br>&nbsp;&nbsp;&nbsp;PARAMETER["false_easting",0],<br>&nbsp;&nbsp;&nbsp;PARAMETER["false_northing",0],<br>&nbsp;&nbsp;&nbsp;UNIT["metre",1,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AUTHORITY["EPSG","9001"]]]<br>Origin = (663144.500000000000000,240035.500000000000000)<br>Pixel Size = (1.000000000000000,-1.000000000000000)<br>Metadata:<br>&nbsp;IMAGE__INPUT_NAME=K:\blk18\oakgrove_sw.tif<br>&nbsp;IMAGE__INPUT_FILE_SIZE=155199578.000000<br>&nbsp;GEOTIFF_NUM__1024__GTModelTypeGeoKey=1<br>&nbsp;GEOTIFF_CHAR__GTModelTypeGeoKey=ModelTypeProjected<br>&nbsp;GEOTIFF_NUM__1025__GTRasterTypeGeoKey=1<br>&nbsp;GEOTIFF_CHAR__GTRasterTypeGeoKey=RasterPixelIsArea<br>&nbsp;GEOTIFF_NUM__1026__GTCitationGeoKey=IMAGINE GeoTIFF Support<br>Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved<br>@(#)$RCSfile: egtf.c $ $Revision: 1.7 $ $Date: 2001/09/27 14:59:29EDT $<br>Projection = Oblique Mercator (Hotine)|IMAGINE GeoTIFF Support<br>Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved<br>@(#)$RCSfile: egtf.c $ $Revision: 1.7 $ $Date: 2001/09/27 14:59:29EDT $<br>Projection Name = Oblique Mercator (Hotine)<br>Units = meters<br>GeoTIFF Units = meters|<br>&nbsp;GEOTIFF_NUM__2048__GeographicTypeGeoKey=4269<br>&nbsp;GEOTIFF_CHAR__GeographicTypeGeoKey=GCS_NAD83<br>&nbsp;GEOTIFF_NUM__2060__GeogAzimuthUnitsGeoKey=9102<br>&nbsp;GEOTIFF_CHAR__GeogAzimuthUnitsGeoKey=Angular_Degree<br>&nbsp;GEOTIFF_NUM__3072__ProjectedCSTypeGeoKey=32767<br>&nbsp;GEOTIFF_CHAR__ProjectedCSTypeGeoKey=User-Defined<br>&nbsp;GEOTIFF_NUM__3073__PCSCitationGeoKey=IMAGINE GeoTIFF Support<br>Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved<br>@(#)$RCSfile: egtf.c $ $Revision: 1.7 $ $Date: 2001/09/27 14:59:29EDT $<br>Projection = Oblique Mercator (Hotine)|IMAGINE GeoTIFF Support<br>Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved<br>@(#)$RCSfile: egtf.c $ $Revision: 1.7 $ $Date: 2001/09/27 14:59:29EDT $<br>Projection Name = Oblique Mercator (Hotine)<br>Units = meters<br>GeoTIFF Units = meters|<br>&nbsp;GEOTIFF_NUM__3074__ProjectionGeoKey=32767<br>&nbsp;GEOTIFF_CHAR__ProjectionGeoKey=User-Defined<br>&nbsp;GEOTIFF_NUM__3075__ProjCoordTransGeoKey=3<br>&nbsp;GEOTIFF_CHAR__ProjCoordTransGeoKey=CT_ObliqueMercator<br>&nbsp;GEOTIFF_NUM__3076__ProjLinearUnitsGeoKey=9001<br>&nbsp;GEOTIFF_CHAR__ProjLinearUnitsGeoKey=Linear_Meter<br>&nbsp;GEOTIFF_NUM__3088__ProjCenterLongGeoKey=0.999600,45.309167,2546731.496000,-4354009.816000,337.255560,-86.000000<br>&nbsp;GEOTIFF_NUM__3089__ProjCenterLatGeoKey=0.999600,45.309167,2546731.496000,-4354009.816000,337.255560,-86.000000<br>&nbsp;GEOTIFF_NUM__3090__ProjCenterEastingGeoKey=0.999600,45.309167,2546731.496000,-4354009.816000,337.255560,-86.000000<br>&nbsp;GEOTIFF_NUM__3091__ProjCenterNorthingGeoKey=0.999600,45.309167,2546731.496000,-4354009.816000,337.255560,-86.000000<br>&nbsp;GEOTIFF_NUM__3093__ProjScaleAtCenterGeoKey=0.999600,45.309167,2546731.496000,-4354009.816000,337.255560,-86.000000<br>&nbsp;GEOTIFF_NUM__3094__ProjAzimuthAngleGeoKey=0.999600,45.309167,2546731.496000,-4354009.816000,337.255560,-86.000000<br>&nbsp;IMAGE__Z_RESOLUTION=0.000000<br>&nbsp;GEO__ModelTypeGeoKey=1<br>&nbsp;GEO__ProjectedCSTypeGeoKey=32767<br>&nbsp;GEO__PCSCitationGeoKey=IMAGINE GeoTIFF Support<br>Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved<br>@(#)$RCSfile: egtf.c $ $Revision: 1.7 $ $Date: 2001/09/27 14:59:29EDT $<br>Projection = Oblique Mercator (Hotine)|IMAGINE GeoTIFF Support<br>Copyright 1991 - 2001 by ERDAS, Inc. All Rights Reserved<br>@(#)$RCSfile: egtf.c $ $Revision: 1.7 $ $Date: 2001/09/27 14:59:29EDT $<br>Projection Name = Oblique Mercator (Hotine)<br>Units = meters<br>GeoTIFF Units = meters|<br>&nbsp;IMAGE__Z_ORIGIN=0.000000<br>&nbsp;IMAGE__COMPRESSION_VERSION=1,6,1<br>&nbsp;IMAGE__TARGET_COMPRESSION_RATIO=20.000000<br>&nbsp;IMAGE__COMPRESSION_NLEV=4<br>&nbsp;IMAGE__COMPRESSION_WEIGHT=4.000000<br>&nbsp;IMAGE__COMPRESSION_GAMMA=2.000000<br>&nbsp;IMAGE__COMPRESSION_BLOCK_SIZE=512<br>&nbsp;IMAGE__CREATION_DATE=Wed Mar 10 17:11:37 2004<br><br>&nbsp;VERSION=MG2<br>&nbsp;IMAGE__BITS_PER_SAMPLE=8<br>&nbsp;IMAGE__WIDTH=6415<br>&nbsp;IMAGE__HEIGHT=8061<br>&nbsp;IMAGE__COLOR_SCHEME=0<br>&nbsp;IMAGE__DATA_TYPE=0<br>&nbsp;IMAGE__XY_ORIGIN=663145.000000,240035.000000<br>&nbsp;IMAGE__X_RESOLUTION=1.000000<br>&nbsp;IMAGE__Y_RESOLUTION=1.000000<br>Image Structure Metadata:<br>&nbsp;INTERLEAVE=PIXEL<br>Corner Coordinates:<br>Upper Left &nbsp;( &nbsp;663144.500, &nbsp;240035.500)&nbsp;<br>Lower Left &nbsp;( &nbsp;663144.500, &nbsp;231974.500)&nbsp;<br>Upper Right ( &nbsp;669559.500, &nbsp;240035.500)&nbsp;<br>Lower Right ( &nbsp;669559.500, &nbsp;231974.500)&nbsp;<br>Center &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;( &nbsp;666352.000, &nbsp;236005.000)&nbsp;<br>Band 1 Block=1024x128 Type=Byte, ColorInterp=Red<br>&nbsp;Minimum=0.000, Maximum=255.000, Mean=97.677, StdDev=49.163<br>&nbsp;Overviews: 3208x4031, 1604x2016, 802x1008, 401x504<br>Band 2 Block=1024x128 Type=Byte, ColorInterp=Green<br>&nbsp;Minimum=0.000, Maximum=255.000, Mean=97.555, StdDev=49.371<br>&nbsp;Overviews: 3208x4031, 1604x2016, 802x1008, 401x504<br>Band 3 Block=1024x128 Type=Byte, ColorInterp=Blue<br>&nbsp;Minimum=0.000, Maximum=255.000, Mean=97.402, StdDev=49.024<br>&nbsp;Overviews: 3208x4031, 1604x2016, 802x1008, 401x504<br></div><div><div><br class="webkit-block-placeholder"></div><div>
<div>Thanks much!</div><div><br></div><div>--Adam</div><div><br class="khtml-block-placeholder"></div><div><br class="khtml-block-placeholder"></div>
</div>
<br></div></div></body></html>