Brilliant ! I am sorry, I had never seen that possibility. But it works perfectly.<br><br>Thanks again Etienne,<br><br>Matthieu<br><br><div class="gmail_quote">On Fri, Jun 29, 2012 at 3:30 PM, Etienne Tourigny <span dir="ltr"><<a href="mailto:etourigny.dev@gmail.com" target="_blank">etourigny.dev@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As referenced in SetFromUserInput [1] you can force a morphFromESRI by<br>
prefixing a WKT definition (file or WKT string) with "ESRI::"<br>
I'm pretty sure that gdalwarp uses SetFromUserInput to get the SRS definition.<br>
<br>
[1] <a href="http://www.gdal.org/ogr/classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796" target="_blank">http://www.gdal.org/ogr/classOGRSpatialReference.html#aec3c6a49533fe457ddc763d699ff8796</a><br>
<div><div class="h5"><br>
On Fri, Jun 29, 2012 at 7:09 AM, Matthieu Rigal <<a href="mailto:rigal@rapideye.net">rigal@rapideye.net</a>> wrote:<br>
> Hi guys,<br>
><br>
> When asking gdalwarp to warp from a WKT projection generated by ESRI, it<br>
> will fail when attempting to convert it to Proj4 (ex: Lambert_Conform_Conic<br>
> projections).<br>
><br>
> Wouldn't it be possible to integrate some check/transformation like the one<br>
> done in Python here :<br>
> <a href="http://nullege.com/codes/search/osgeo.osr.SpatialReference.MorphFromESRI" target="_blank">http://nullege.com/codes/search/osgeo.osr.SpatialReference.MorphFromESRI</a><br>
><br>
> Sorry, I am not a C++ dev and I won't be able to contribute...<br>
><br>
> Regards,<br>
> Matthieu<br>
><br>
</div></div></blockquote></div><br>
<br>
<div>RapidEye AG</div><div>Molkenmarkt 30</div><div>14776 Brandenburg an der Havel</div><div>Germany</div><div> </div><div>Follow us on Twitter! <a href="http://www.twitter.com/rapideye_global" target="_blank">www.twitter.com/rapideye_<WBR>global</a></div><div> </div><div>Head Office/Sitz der Gesellschaft: Brandenburg an der Havel</div><div>Management Board/Vorstand: Ryan Johnson</div><div>Chairman of Supervisory Board/Vorsitzender des Aufsichtsrates: Robert Johnson</div><div>Commercial Register/Handelsregister Potsdam HRB 24742 P</div><div>Tax Number/Steuernummer: 048/100/00320</div><div>VAT-Ident-Number/Ust.-ID: DE 815303842</div><div>DIN EN ISO 9001 certified</div><div> </div><div><br></div>