Hi,<br><br>I would like to convert imagery which has an empty coordinate system to geotif format via gdalwarp:<br><br>Below is part of a gdalinfo dump of the original imagery.&nbsp; Notice that the  Coordinate System is empty<br>

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>

Size is 12074, 13232<br>Coordinate System is `&#39;<br>GCP Projection = GEOGCS[&quot;WGS 84&quot;,DATUM[&quot;WGS_1984&quot;,SPHEROID[&quot;WGS 84&quot;,6378137,298.257223563,AUTHORITY[&quot;EPSG&quot;,7030]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[&quot;EPSG&quot;,6326]],PRIMEM[&quot;Greenwich&quot;,0,AUTHORITY[&quot;EPSG&quot;,8901]],UNIT[&quot;DMSH&quot;,0.0174532925199433,AUTHORITY[&quot;EPSG&quot;,9108]],AXIS[&quot;Lat&quot;,NORTH],AXIS[&quot;Long&quot;,EAST],AUTHORITY[&quot;EPSG&quot;,4326]]<br>

GCP[&nbsp; 0]: Id=1, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (0.5,0.5) -&gt; (36.77378,-17.270641,0)<br>GCP[&nbsp; 1]: Id=2, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (6037,0.5) -&gt; (35.398528,-16.938865,0)<br>GCP[&nbsp; 2]: Id=3, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (12073.5,0.5) -&gt; (34.027899,-16.597882,0)<br>

GCP[&nbsp; 3]: Id=4, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (0.5,3307.5) -&gt; (36.58987,-17.99724,0)<br>GCP[&nbsp; 4]: Id=5, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (6037,3307.5) -&gt; (35.209644,-17.663643,0)<br>GCP[&nbsp; 5]: Id=6, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (12073.5,3307.5) -&gt; (33.834311,-17.320427,0)<br>

GCP[&nbsp; 6]: Id=7, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (0.5,6614.5) -&gt; (36.404318,-18.723611,0)<br>GCP[&nbsp; 7]: Id=8, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (6037,6614.5) -&gt; (35.01887,-18.388159,0)<br>GCP[&nbsp; 8]: Id=9, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (12073.5,6614.5) -&gt; (33.638591,-18.042675,0)<br>

GCP[&nbsp; 9]: Id=10, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (0.5,9921.5) -&gt; (36.21706,-19.449749,0)<br>GCP[ 10]: Id=11, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (6037,9921.5) -&gt; (34.826137,-19.112408,0)<br>GCP[ 11]: Id=12, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (12073.5,9921.5) -&gt; (33.440671,-18.764619,0)<br>

GCP[ 12]: Id=13, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (0.5,13228.5) -&gt; (36.028031,-20.175626,0)<br>GCP[ 13]: Id=14, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (6037,13228.5) -&gt; (34.631381,-19.836361,0)<br>GCP[ 14]: Id=15, Info=<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (12073.5,13228.5) -&gt; (33.24048,-19.486228,0)<br>

Metadata:<br>&nbsp; ELLIPSOID=WGS84&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>Corner Coordinates:<br>Upper Left&nbsp; (&nbsp;&nbsp;&nbsp; 0.0,&nbsp;&nbsp;&nbsp; 0.0)<br>Lower Left&nbsp; (&nbsp;&nbsp;&nbsp; 0.0,13232.0)<br>Upper Right (12074.0,&nbsp;&nbsp;&nbsp; 0.0)<br>Lower Right (12074.0,13232.0)<br>Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ( 6037.0, 6616.0)<br>

Band 1 Block=12074x1 Type=Byte, ColorInterp=Undefined<br>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>

<br><br>Based on the above gdalinfo data I assumed that the projection should be wgs84/EPSG:4326<br><br>So I run the following command against the imagery to convert it to geotiff with an EPSG code of 4326:<br>gdalwarp -rc -s_srs epsg:4326 -t_srs epsg:4326 source_imagery destination_geotiff<br>

<br>Next I run gdalinfo against the converted geotiff file which is listed below:<br>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>

Driver: GTiff/GeoTIFF<br>Files: C:\dat_01.tif<br>Size is 15174, 15369<br>Coordinate System is:<br>GEOGCS[&quot;WGS 84&quot;,<br>&nbsp;&nbsp;&nbsp; DATUM[&quot;WGS_1984&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SPHEROID[&quot;WGS 84&quot;,6378137,298.2572235630016,<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],<br>&nbsp;&nbsp;&nbsp; PRIMEM[&quot;Greenwich&quot;,0],<br>&nbsp;&nbsp;&nbsp; UNIT[&quot;degree&quot;,0.0174532925199433],<br>&nbsp;&nbsp;&nbsp; AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]<br>

Origin = (33.240318507099211,-16.597638311748319)<br>Pixel Size = (0.000232863689106,-0.000232863689106)<br>Metadata:<br>&nbsp; AREA_OR_POINT=Area<br>Image Structure Metadata:<br>&nbsp; INTERLEAVE=BAND<br>Corner Coordinates:<br>Upper Left&nbsp; (&nbsp; 33.2403185, -16.5976383) ( 33d14&#39;25.15&quot;E, 16d35&#39;51.50&quot;S)<br>

Lower Left&nbsp; (&nbsp; 33.2403185, -20.1765203) ( 33d14&#39;25.15&quot;E, 20d10&#39;35.47&quot;S)<br>Upper Right (&nbsp; 36.7737921, -16.5976383) ( 36d46&#39;25.65&quot;E, 16d35&#39;51.50&quot;S)<br>Lower Right (&nbsp; 36.7737921, -20.1765203) ( 36d46&#39;25.65&quot;E, 20d10&#39;35.47&quot;S)<br>

Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&nbsp; 35.0070553, -18.3870793) ( 35d 0&#39;25.40&quot;E, 18d23&#39;13.49&quot;S)<br>Band 1 Block=15174x1 Type=Byte, ColorInterp=Gray<br>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>

<br>The readme file has the CORNER COORDINATES of:<br>----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17°16&#39;14.30&quot; S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16°35&#39;52.37&quot; S<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 36°46&#39;25.60&quot; E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 34°01&#39;40.43&quot; E<br>&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20°10&#39;34.62&quot; S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 19°29&#39;12.77&quot; S<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 36°01&#39;40.29&quot; E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 33°14&#39;25.06&quot; E<br>

<br>CENTER &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18°22&#39;S&nbsp;&nbsp; 035°01&#39;E<br>----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br clear="all">

<br>In comparing the readme file to converted geotiff the resolution increased slightly and the coordinates were slightly different. <br>Am I correct in assuming that the EPSG code should be 4326 when converting to geotiff format via gdalwarp?<br>

<br>Thanks,<br><br>John J. Mitchell