Thanks very much Even. Good to know where the error is.<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 Sat, Apr 9, 2011 at 4:50 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>
<br>
I can confirm the bug. It is in fact a bug in libgeotiff. I have reported it as<br>
<a href="http://trac.osgeo.org/geotiff/ticket/38" target="_blank">http://trac.osgeo.org/geotiff/ticket/38</a> with an attached patch to fix it.<br>
<div><div></div><div class="h5"><br>
&gt; Hi list,<br>
&gt;<br>
&gt; I assigned geotiff raster an srs using gdal_translate with the EPSG number<br>
&gt; as follows:<br>
&gt;<br>
&gt;   gdal_translate -a_srs EPSG:3168 sourcefile destinationfile<br>
&gt;<br>
&gt; Using gdalinfo, I notice that the false_easting parameter is 0 where it<br>
&gt; should be 804670.24<br>
&gt;<br>
&gt; Coordinate System is:<br>
&gt; PROJCS[&quot;Kertau (RSO) / RSO Malaya (m)&quot;,<br>
&gt;     GEOGCS[&quot;Kertau (RSO)&quot;,<br>
&gt;         DATUM[&quot;Kertau_RSO&quot;,<br>
&gt;             SPHEROID[&quot;Everest 1830 (RSO<br>
&gt; 1969)&quot;,6377295.664,300.8017000000015,<br>
&gt;                 AUTHORITY[&quot;EPSG&quot;,&quot;7056&quot;]],<br>
&gt;             AUTHORITY[&quot;EPSG&quot;,&quot;6751&quot;]],<br>
&gt;         PRIMEM[&quot;Greenwich&quot;,0],<br>
&gt;         UNIT[&quot;degree&quot;,0.0174532925199433],<br>
&gt;         AUTHORITY[&quot;EPSG&quot;,&quot;4751&quot;]],<br>
&gt;     PROJECTION[&quot;Hotine_Oblique_Mercator&quot;],<br>
&gt;     PARAMETER[&quot;latitude_of_center&quot;,4],<br>
&gt;     PARAMETER[&quot;longitude_of_center&quot;,102.25],<br>
&gt;     PARAMETER[&quot;azimuth&quot;,323.0257905],<br>
&gt;     PARAMETER[&quot;rectified_grid_angle&quot;,323.1301023611111],<br>
&gt;     PARAMETER[&quot;scale_factor&quot;,0.99984],<br>
&gt;     PARAMETER[&quot;false_easting&quot;,0],<br>
&gt;     PARAMETER[&quot;false_northing&quot;,0],<br>
&gt;     UNIT[&quot;metre&quot;,1,<br>
&gt;         AUTHORITY[&quot;EPSG&quot;,&quot;9001&quot;]],<br>
&gt;     AUTHORITY[&quot;EPSG&quot;,&quot;3168&quot;]]<br>
&gt;<br>
&gt; I am using OSGeo4W on Windows 7 64 bit (Gdal 1.4.5.0) shell. It is the same<br>
&gt; with gdal 1.6, 1.7, gdal-dev, gdal 1.7.2 on Ubuntu 10.04 and QGis 1.7 (gdal<br>
&gt; 1.8).<br>
&gt;<br>
&gt; I checked the OSGeo4W\share\proj\epsg file, but the values there are<br>
&gt; correct. The anomaly also affects EPSG:3375 which uses the same projection.<br>
&gt; QGis or Geoserver doesn&#39;t have a problem displaying the raster with the<br>
&gt; assigned srs, so it looks like its just a problem with gdalinfo.<br>
&gt;<br>
&gt; regards<br>
&gt;<br>
</div></div>&gt; *Hilmy*<br>
&gt;<br>
<br>
<br>
</blockquote></div><br></div>