<div><font><font face="courier new,monospace">Billy,<br></font></font></div><div><font><font face="courier new,monospace">Yes, gdalwarp will use the srs from the file if one is not specified, providing it is valid.<br></font></font></div>
<div><font><font face="courier new,monospace"><br></font></font></div><div><font><font face="courier new,monospace">kss<br></font></font></div><br><div class="gmail_quote">On Wed, May 16, 2012 at 8:13 AM, Billy Newman <span dir="ltr"><<a href="mailto:newmanw10@gmail.com" target="_blank">newmanw10@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> If I do not provide a source spatial reference to gdalwarp will the information in the geotiff be used instead? ie. gdalwarp -t_srs 'EPSG:4326' input.tif output.tif?<br>
<br>I do not have a real example because I do not have the file I am working with on this computer. But an example gdalinfo would be:<br>
<br><pre>PROJCS["NAD27 / UTM zone 11N",
GEOGCS["NAD27",
DATUM["North_American_Datum_1927",
SPHEROID["Clarke 1866",6378206.4,294.978698213901]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-117],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1]]</pre>So would my above example work when trying to convert this projection to EPSG:4326, or do I need to specify the source spatial reference and/or other parameters.<br><br>Thanks<span class="HOEnZb"><font color="#888888"><br>
Billy<br>
</font></span><br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br>