Hi,<br><br>I have the listed the gdalinfo listing of an erdas imagine file below and notice that it does not have a EPSG code within it. I need this EPSG code if I want to reproject within gdalwarp or for on the fly projection within mapserver. Based the gdalinfo listing I searched within the epsg file and found the following code and definition:
<br><br><span style="font-style: italic;"># WGS 84 / UTM zone 18N</span><br style="font-style: italic;"><span style="font-style: italic;">
<32618> +proj=utm +zone=18 +ellps=WGS84 +datum=WGS84 +units=m +no_defs <><br><br></span>Does the above EPSG code of 32618 make sense for the below gdalinfo listing?<br><br>Thanks,<br><br>John J . Mitchell<br>
<br>-----------------------------------------------------------------------------------------------------------------------------------------------<br>Driver: HFA/Erdas Imagine Images (.img)<br>Size is 13940, 33191<br>Coordinate System is:
<br>PROJCS["UTM Zone 18, Northern Hemisphere",<br> GEOGCS["WGS_1984",<br> DATUM["WGS_1984",<br> SPHEROID["WGS 84",6378137,298.2572235630016],<br> TOWGS84[0,0,0,0,0,0,0]],
<br> PRIMEM["Greenwich",0],<br> UNIT["degree",0.0174532925199433]],<br> PROJECTION["Transverse_Mercator"],<br> PARAMETER["latitude_of_origin",0],<br> PARAMETER["central_meridian",-75],
<br> PARAMETER["scale_factor",0.9996],<br> PARAMETER["false_easting",500000],<br> PARAMETER["false_northing",0],<br> UNIT["Meter",1]]<br>Origin = (638992.500000000000000
,221212.500000000000000)<br>Pixel Size = (5.000000000000000,-5.000000000000000)<br>Corner Coordinates:<br>Upper Left ( 638992.500, 221212.500) ( 73d45'0.91"W, 2d 0'3.21"N)<br>Lower Left ( 638992.500
, 55257.500) ( 73d45'3.46"W, 0d29'59.32"N)<br>Upper Right ( 708692.500, 221212.500) ( 73d 7'25.44"W, 2d 0'1.05"N)<br>Lower Right ( 708692.500, 55257.500) ( 73d 7'29.28"W, 0d29'
58.78"N)<br>Center ( 673842.500, 138235.000) ( 73d26'15.17"W, 1d15'0.67"N)<br><br>-----------------------------------------------------------------------------------------------------------------------------------------------
<br><br><br><br clear="all"><br>-- <br>John J. Mitchell