Something&#39;s seriously wrong with CRS attribution for newly added layers in qgis-master (soon to be 1.8). I have no idea what is happening, however the steps below will reproduce the issue:<br><br>1) Add moeareas.shp (uploaded as attachment in issue 5598: <a href="http://hub.qgis.org/issues/5598">http://hub.qgis.org/issues/5598</a>) to a QGIS project<br>
2) Open the Properties dialog and go to the General tab<br>3) Take note of the custom CRS applied to the layer<br><br>The above shapefile&#39;s coordinate reference system is EPSG:3148, defined as follow:<br>&quot;+proj=utm +zone=48 +a=6377276.345 +b=6356075.41314024 +towgs84=198,881,317,0,0,0,0 +units=m +no_defs&quot;<br>
<br>The custom CRS created by qgis 1.8 when loading the above shapefile:<br>&quot;+proj=utm +zone=48 +a=6377276.345 +b=6356075.41314024 +units=m +no_defs&quot;<br><br>QGIS 1.7.x correctly attributes the newly loaded layer its proper CRS (EPSG:3148); QGIS 1.8 however creates the custom CRS with the exact same projection settings (minus the +towgs84). Something must be wrong in the CRS attribution algorithm / function.<br>
<br>This issue leads to misalignment with on-the-fly re-projection projects in which WGS84 layers &amp; UTM layers are mixed together.<br><br>It&#39;s a pretty serious regression from 1.7.x and it&#39;s present on windows and linux. Issue reported: <a href="http://hub.qgis.org/issues/5598">http://hub.qgis.org/issues/5598</a>.<br>
<br>Math<br>