<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">You'll need to define the coordinate system in QGIS as well as PostGIS, & probably tel QGIS which projection to use fro the project & the layer.<br><br>Brent Wood<br><br>--- On <b>Fri, 4/8/11, Duarte Carreira <i><DCarreira@edia.pt></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Duarte Carreira <DCarreira@edia.pt><br>Subject: [Qgis-user] postgis and custom CRS<br>To: "qgis-user@lists.osgeo.org" <qgis-user@lists.osgeo.org><br>Date: Friday, April 8, 2011, 5:15 AM<br><br><div id="yiv235172738"><style><!--
#yiv235172738  
 _filtered #yiv235172738 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv235172738 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv235172738  
#yiv235172738 p.yiv235172738MsoNormal, #yiv235172738 li.yiv235172738MsoNormal, #yiv235172738 div.yiv235172738MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"sans-serif";}
#yiv235172738 a:link, #yiv235172738 span.yiv235172738MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv235172738 a:visited, #yiv235172738 span.yiv235172738MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv235172738 span.yiv235172738EstiloCorreioElectrnico17
        {font-family:"sans-serif";color:windowtext;}
#yiv235172738 .yiv235172738MsoChpDefault
        {}
 _filtered #yiv235172738 {margin:70.85pt 3.0cm 70.85pt 3.0cm;}
#yiv235172738 div.yiv235172738WordSection1
        {}
--></style><div class="yiv235172738WordSection1"><p class="yiv235172738MsoNormal">Hi.</p><p class="yiv235172738MsoNormal">  </p><p class="yiv235172738MsoNormal"><span lang="EN-US">I’m seeing this behavior and would like to confirm it.</span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">  </span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">When I add a PG layer that has a custom CRS, QGIS says it is WGS84 (in the metadata tab in properties).</span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">  </span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">In PG I have the custom CRS defined like this:</span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">  </span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">Srid: 9102160</span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">Auth_name: ESRI</span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">Auth_srid:
 102160</span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">Srtext: "PROJCS["Datum_73_Hayford_Gauss_IGeoE",GEOGCS["GCS_Datum_73",DATUM["Datum_73",SPHEROID["International_1924",6378388,297]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200180.598],PARAMETER["False_Northing",299913.01],PARAMETER["Central_Meridian",-8.131906111111112],PARAMETER["Scale_Factor",1],PARAMETER["Latitude_Of_Origin",39.66666666666666],UNIT["Meter",1],AUTHORITY["EPSG","102160"]]"</span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">Proj4text: "+proj=tmerc +lat_0=39.66666666666666 +lon_0=-8.131906111111112 +k=1 +x_0=200180.598 +y_0=299913.01 +ellps=intl +units=m +towgs84=-288.885,-91.744,126.244,-1.691,0.410,-0.211,-4.598 +no_defs"</span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">  </span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">Can someone
 confirm?</span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">  </span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">Thanks,</span></p><p class="yiv235172738MsoNormal"><span lang="EN-US">Duarte</span></p></div></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>Qgis-user mailing list<br><a ymailto="mailto:Qgis-user@lists.osgeo.org" href="/mc/compose?to=Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></div></blockquote></td></tr></table>