Billy,
Yes, gdalwarp will use the srs from the file if one is not specified,
providing it is valid.

kss

On Wed, May 16, 2012 at 8:13 AM, Billy Newman <[email protected]> wrote:

> 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?
>
> 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:
>
> 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]]
>
> 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.
>
> Thanks
> Billy
>
> _______________________________________________
> gdal-dev mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to