Smith, Michael wrote:
Related to my previous post, is there simply a way to specify an existing image as the template for projection? My problem is that the SID files I received are all in the same projection, yet some have the projection info encoded and others don't. This causes problems as I make mosaics with gdalwarp. If I could do something like "-t_srs image1.sid" that would be great. Can I get projection out of gdalinfo somehow and into a file?

Michael,

I do not plan to extend the -t_srs and related switch to support using
a raster file as a template.  However, you can cut and paste the coordinate
system reported by gdalinfo and put it in a text file, then use the name of
this text file as an argument to -t_srs and other similar commandline
switches.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to