Merci Even,<div><br></div><div>Didn&#39;t know which one is the effective code, there are so many versions around. It&#39;s good to know that changes have been made. </div><div><br></div><div>I&#39;m using QGis 1.7 dev and the About say it&#39;s using GDAL/OGR 1.8.0. How come the +gamma is not included there?</div>

<div><br></div><div>Regards</div><div><br clear="all"><span style="font-size:large"><i><font face="garamond, serif"><b><font color="#FF6600">Hilmy</font></b></font></i></span><br>
<br><br><div class="gmail_quote">On Thu, Apr 14, 2011 at 3:27 PM, Even Rouault <span dir="ltr">&lt;<a href="mailto:even.rouault@mines-paris.org">even.rouault@mines-paris.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Selon Hilmy Hashim &lt;<a href="mailto:hilmyh@gmail.com">hilmyh@gmail.com</a>&gt;:<br>
<div class="im"><br>
&gt; Sorry to bring this up again. I&#39;ve been looking for why epsg_tr.py -proj4 is<br>
&gt; not including the +gamma (RectifiedToSkew angle) parameter for the<br>
&gt; +proj=omerc projection as used in EPSG:3168, EPSG:3375, etc. It seems that<br>
&gt; it is not set in<br>
&gt; <a href="https://svn.osgeo.org/fdo/trunk/Thirdparty/gdal/ogr/ogr_srs_proj4.cpp" target="_blank">https://svn.osgeo.org/fdo/trunk/Thirdparty/gdal/ogr/ogr_srs_proj4.cpp</a>:<br>
<br>
</div>--&gt; You are not looking to the right repository (the one above is an import of<br>
an older GDAL version by the FDO project). The main GDAL repository is located<br>
at <a href="http://svn.osgeo.org/gdal/trunk" target="_blank">http://svn.osgeo.org/gdal/trunk</a>.<br>
<br>
I can see that a fix for the gamma parameter in<br>
<a href="http://trac.osgeo.org/gdal/changeset/18950" target="_blank">http://trac.osgeo.org/gdal/changeset/18950</a>. This is in GDAL 1.8.0 and the<br>
testepsg utility gives :<br>
<br>
PROJ.4 rendering of [EPSG:3168] = +proj=omerc +lat_0=4 +lonc=102.25 +alpha=323.0<br>
257905 +k=0.99984 +x_0=804670.24 +y_0=0 +gamma=323.1301023611111 +a=6377295.664<br>
+b=6356094.667915204 +units=m +no_defs<br>
<div class="im"><br>
&gt;<br>
&gt; else if( EQUAL(pszProj,&quot;omerc&quot;) )<br>
&gt;<br>
&gt;     {<br>
&gt;         SetHOM( OSR_GDV( papszNV, &quot;lat_0&quot;, 0.0 ),<br>
&gt;                 OSR_GDV( papszNV, &quot;lonc&quot;, 0.0 ),<br>
&gt;                 OSR_GDV( papszNV, &quot;alpha&quot;, 0.0 ),<br>
&gt;                 0.0, /* ??? */<br>
&gt;                 OSR_GDV( papszNV, &quot;k&quot;, 1.0 ),<br>
&gt;                 OSR_GDV( papszNV, &quot;x_0&quot;, 0.0 ),<br>
&gt;                 OSR_GDV( papszNV, &quot;y_0&quot;, 0.0 ) );<br>
&gt;     }<br>
&gt;<br>
&gt; ...<br>
&gt;<br>
&gt;<br>
&gt;         else<br>
&gt;         {<br>
&gt;             sprintf( szProj4+strlen(szProj4),<br>
&gt;                      &quot;+proj=omerc +lat_0=%.16g +lonc=%.16g +alpha=%.16g&quot;<br>
&gt;                      &quot; +k=%.16g +x_0=%.16g +y_0=%.16g &quot;,<br>
&gt;                      GetNormProjParm(SRS_PP_LATITUDE_OF_ORIGIN,0.0),<br>
&gt;                      GetNormProjParm(SRS_PP_CENTRAL_MERIDIAN,0.0),<br>
&gt;                      GetNormProjParm(SRS_PP_AZIMUTH,0.0),<br>
&gt;                      GetNormProjParm(SRS_PP_SCALE_FACTOR,1.0),<br>
&gt;                      GetNormProjParm(SRS_PP_FALSE_EASTING,0.0),<br>
&gt;                      GetNormProjParm(SRS_PP_FALSE_NORTHING,0.0) );<br>
&gt;         }<br>
&gt;<br>
&gt; There seems to be some uncertainty about this parameter. How can this be<br>
&gt; resolved and how can I help?<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
</div>&gt; *Hilmy*<br>
&gt;<br>
<br>
<br>
</blockquote></div><br></div>