I&#39;m using OSGeo4W on Windows 7. I just checked using the OSGeo4W shell and setting gdaldev environment epsg_tr does give me +gamma. On my Ubuntu 10.04 box with GDAL 1.7.3, the gamma is not there.<div><br></div><div>I&#39;ve just updated QGis 1.7.0-114 and I don&#39;t get the gamma in the CRS listing.</div>

<div><br></div><div>Thanks</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:51 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;">

<div class="im">Selon Hilmy Hashim &lt;<a href="mailto:hilmyh@gmail.com">hilmyh@gmail.com</a>&gt;:<br>
<br>
</div><div class="im">&gt; Merci Even,<br>
&gt;<br>
&gt; Didn&#39;t know which one is the effective code, there are so many versions<br>
&gt; around. It&#39;s good to know that changes have been made.<br>
&gt;<br>
&gt; I&#39;m using QGis 1.7 dev and the About say it&#39;s using GDAL/OGR 1.8.0. How come<br>
&gt; the +gamma is not included there?<br>
<br>
</div>I know they have updated very recently their srs.db to sync it with GDAL 1.8.0.<br>
Perhaps you should also update to the latest svn version of qgis ?<br>
<br>
A comment in the GDAL code also shows that the +gamma parameter is only<br>
understood by PROJ 4.8.0 (so the svn version as 4.8.0 is unreleased yet).<br>
<br>
But one thing is definitely weird and should be investigated first : epsg_tr.py<br>
-proj4 3168 *should* show the +gamma parameter (whatever your proj version is).<br>
If you don&#39;t see it, it&#39;s a clear sign you don&#39;t use GDAL 1.8.0.<br>
<br>
What does epsg_tr.py --version return ?<br>
<div><div></div><div class="h5"><br>
&gt;<br>
&gt; Regards<br>
&gt;<br>
&gt; *Hilmy*<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Apr 14, 2011 at 3:27 PM, Even Rouault<br>
&gt; &lt;<a href="mailto:even.rouault@mines-paris.org">even.rouault@mines-paris.org</a>&gt;wrote:<br>
&gt;<br>
&gt; &gt; Selon Hilmy Hashim &lt;<a href="mailto:hilmyh@gmail.com">hilmyh@gmail.com</a>&gt;:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Sorry to bring this up again. I&#39;ve been looking for why epsg_tr.py -proj4<br>
&gt; &gt; is<br>
&gt; &gt; &gt; not including the +gamma (RectifiedToSkew angle) parameter for the<br>
&gt; &gt; &gt; +proj=omerc projection as used in EPSG:3168, EPSG:3375, etc. It seems<br>
&gt; &gt; that<br>
&gt; &gt; &gt; it is not set in<br>
&gt; &gt; &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>
&gt; &gt;<br>
&gt; &gt; --&gt; You are not looking to the right repository (the one above is an import<br>
&gt; &gt; of<br>
&gt; &gt; an older GDAL version by the FDO project). The main GDAL repository is<br>
&gt; &gt; located<br>
&gt; &gt; at <a href="http://svn.osgeo.org/gdal/trunk" target="_blank">http://svn.osgeo.org/gdal/trunk</a>.<br>
&gt; &gt;<br>
&gt; &gt; I can see that a fix for the gamma parameter in<br>
&gt; &gt; <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>
&gt; &gt; testepsg utility gives :<br>
&gt; &gt;<br>
&gt; &gt; PROJ.4 rendering of [EPSG:3168] = +proj=omerc +lat_0=4 +lonc=102.25<br>
&gt; &gt; +alpha=323.0<br>
&gt; &gt; 257905 +k=0.99984 +x_0=804670.24 +y_0=0 +gamma=323.1301023611111<br>
&gt; &gt; +a=6377295.664<br>
&gt; &gt; +b=6356094.667915204 +units=m +no_defs<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; else if( EQUAL(pszProj,&quot;omerc&quot;) )<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;     {<br>
&gt; &gt; &gt;         SetHOM( OSR_GDV( papszNV, &quot;lat_0&quot;, 0.0 ),<br>
&gt; &gt; &gt;                 OSR_GDV( papszNV, &quot;lonc&quot;, 0.0 ),<br>
&gt; &gt; &gt;                 OSR_GDV( papszNV, &quot;alpha&quot;, 0.0 ),<br>
&gt; &gt; &gt;                 0.0, /* ??? */<br>
&gt; &gt; &gt;                 OSR_GDV( papszNV, &quot;k&quot;, 1.0 ),<br>
&gt; &gt; &gt;                 OSR_GDV( papszNV, &quot;x_0&quot;, 0.0 ),<br>
&gt; &gt; &gt;                 OSR_GDV( papszNV, &quot;y_0&quot;, 0.0 ) );<br>
&gt; &gt; &gt;     }<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; ...<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;         else<br>
&gt; &gt; &gt;         {<br>
&gt; &gt; &gt;             sprintf( szProj4+strlen(szProj4),<br>
&gt; &gt; &gt;                      &quot;+proj=omerc +lat_0=%.16g +lonc=%.16g +alpha=%.16g&quot;<br>
&gt; &gt; &gt;                      &quot; +k=%.16g +x_0=%.16g +y_0=%.16g &quot;,<br>
&gt; &gt; &gt;                      GetNormProjParm(SRS_PP_LATITUDE_OF_ORIGIN,0.0),<br>
&gt; &gt; &gt;                      GetNormProjParm(SRS_PP_CENTRAL_MERIDIAN,0.0),<br>
&gt; &gt; &gt;                      GetNormProjParm(SRS_PP_AZIMUTH,0.0),<br>
&gt; &gt; &gt;                      GetNormProjParm(SRS_PP_SCALE_FACTOR,1.0),<br>
&gt; &gt; &gt;                      GetNormProjParm(SRS_PP_FALSE_EASTING,0.0),<br>
&gt; &gt; &gt;                      GetNormProjParm(SRS_PP_FALSE_NORTHING,0.0) );<br>
&gt; &gt; &gt;         }<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; There seems to be some uncertainty about this parameter. How can this be<br>
&gt; &gt; &gt; resolved and how can I help?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thanks.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; *Hilmy*<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
<br>
<br>
</div></div></blockquote></div><br></div>