[Gdal-dev] gdalwarp, proj4 and Space Oblique Mercator problem

Frank Warmerdam warmerdam at pobox.com
Wed Aug 5 14:17:22 EDT 2009


ilumas wrote:
> Dear all,
> 
> I'm trying to re-project a USGS Landsat 5 scene with Space Oblique Mercator
> projection with the following command:
> 
> gdalwarp -s_srs  '+proj=lsat +lsat=5 +path=188'  -t_srs EPSG:2393 input.tif
> output.tif
>  
> For some reason this fails:
> 
> ERROR 1: Translating source or target SRS failed:
> +proj=lsat +lsat=5 +path=188
> 
> even though my proj -lp lists the lsat projection and the parametrization
> seems appropriate to me (see below).
> 
> Any idea what's wrong and how could I solve this? 

Ilumas,

The problem is that the OGRSpatialReference class does not understand
space oblique mercator.  I am not aware of any way of reprojecting
space oblique mercator images with gdalwarp without implementing
support for space oblique mercator in the OGRSpatialReference class.

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



More information about the gdal-dev mailing list