[gdal-dev] projection issue with GDALCreateGenImgProjTransformer

Kees Kling ckling at upcmail.nl
Thu Dec 6 00:27:48 PST 2012


Hi Trent,

I also tried it in meters and of course I also need a +b as minor 
radius, but that also doesn't work

Regards
kees


On 12/05/2012 06:17 PM, Hare, Trent wrote:
> Kees,
>    Just an initial guess. It looks like you are using a km radius when 
> it should in meters - +a=6378388.0
>
> -Trent
>
>
> On Wed, Dec 5, 2012 at 3:11 AM, Kees Kling <ckling at upcmail.nl 
> <mailto:ckling at upcmail.nl>> wrote:
>
>     Hi all,
>
>     I'm trying to reproject an image.
>
>     source projection = `+proj=stere +lat_0=90.0 +lon_0=0.0
>     +lat_ts=60.0 +a=6378.388'
>     I already used this projection in other parts of my project, but
>     then in combination with OGR. Here I don't have problems, but if I
>     use it with gdal in the function  GDALCreateGenImgProjTransformer,
>     I'm getting the error:
>
>     ERROR 1: Failed to import coordinate system `+proj=stere
>     +lat_0=90.0 +lon_0=0.0 +lat_ts=60.0 +a=6378.388'
>
>     What am I doing wrong
>
>     Regards
>
>     Kees Kling
>     _______________________________________________
>     gdal-dev mailing list
>     gdal-dev at lists.osgeo.org <mailto:gdal-dev at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20121206/3c1c3344/attachment.html>


More information about the gdal-dev mailing list