<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal>Hello everyone!<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I&#8217;ve been struggling with this for quite some time
now, but I can&#8217;t seem to find the proper solution.&nbsp; We need to set
the projection definition to provided datasets, and have, up to now, been doing
it by using our own projection dialog. We now want to change our plugin to use
the, already implemented, QGIS projection dialog.<br>
<br>
So my question is as follows:&nbsp; <br>
<br>
Is there a way to convert a projection definition such as those returned by the
QGIS projection dialog <br>
eg:<br>
&nbsp;&nbsp; +proj=utm +zone=36 +south +a=6378249.144808011
+b=6356514.966204134 +units=m +no_defs<br>
<br>
to the extended form such as the following:<o:p></o:p></p>

<p class=MsoNormal><br>
&nbsp;&nbsp; PROJCS[&quot;UTM Zone 36, Southern
Hemisphere&quot;,GEOGCS[&quot;Unknown datum based upon the Clarke 1880
ellipsoid&quot;,DATUM[&quot;Not specified (based on Clarke 1880
spheroid)&quot;,SPHEROID[&quot;Clarke
1880&quot;,6378249.144808011,293.4663076556303,AUTHORITY[&quot;EPSG&quot;,&quot;7034&quot;]]],PRIMEM[&quot;Greenwich&quot;,0],UNIT[&quot;degree&quot;,0.0174532925199433]],PROJECTION[&quot;Transverse_Mercator&quot;],PARAMETER[&quot;latitude_of_origin&quot;,0],PARAMETER[&quot;central_meridian&quot;,33],PARAMETER[&quot;scale_factor&quot;,0.9996],PARAMETER[&quot;false_easting&quot;,500000],PARAMETER[&quot;false_northing&quot;,10000000],UNIT[&quot;Meter&quot;,1]]<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>The reason for this is that the GDAL functions for setting
the projection definition, only accepts the extended form.&nbsp; If this is
already implemented in a QGIS or other class that you know of, I would greatly
appreciate it.&nbsp; (I don&#8217;t think I am qualified enough to attempt
doing it myself. <span style='font-family:Wingdings'>J</span> )<br>
<br>
Thank you for your time and efforts!<br>
Francois Maass<br>
Foxhat Solutions<o:p></o:p></p>

</div>

</body>

</html>