[gdal-dev] Possibility to add a MorphFromESRI-like feature to gdalwarp ?

Etienne Tourigny etourigny.dev at gmail.com
Fri Jun 29 06:30:40 PDT 2012


As referenced in SetFromUserInput [1] you can force a morphFromESRI by
prefixing a WKT definition (file or WKT string) with "ESRI::"
I'm pretty sure that gdalwarp uses SetFromUserInput to get the SRS definition.

[1] http://www.gdal.org/ogr/classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796

On Fri, Jun 29, 2012 at 7:09 AM, Matthieu Rigal <rigal at rapideye.net> wrote:
> Hi guys,
>
> When asking gdalwarp to warp from a WKT projection generated by ESRI, it
> will fail when attempting to convert it to Proj4 (ex: Lambert_Conform_Conic
> projections).
>
> Wouldn't it be possible to integrate some check/transformation like the one
> done in Python here :
> http://nullege.com/codes/search/osgeo.osr.SpatialReference.MorphFromESRI
>
> Sorry, I am not a C++ dev and I won't be able to contribute...
>
> Regards,
> Matthieu
>
> RapidEye AG
> Molkenmarkt 30
> 14776 Brandenburg an der Havel
> Germany
>
> Follow us on Twitter! www.twitter.com/rapideye_global
>
> Head Office/Sitz der Gesellschaft: Brandenburg an der Havel
> Management Board/Vorstand: Ryan Johnson
> Chairman of Supervisory Board/Vorsitzender des Aufsichtsrates: Robert
> Johnson
> Commercial Register/Handelsregister Potsdam HRB 24742 P
> Tax Number/Steuernummer: 048/100/00320
> VAT-Ident-Number/Ust.-ID: DE 815303842
> DIN EN ISO 9001 certified
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list