<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.yiv235172738msonormal, li.yiv235172738msonormal, div.yiv235172738msonormal
        {mso-style-name:yiv235172738msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.yiv235172738msohyperlink
        {mso-style-name:yiv235172738msohyperlink;}
span.yiv235172738msohyperlinkfollowed
        {mso-style-name:yiv235172738msohyperlinkfollowed;}
span.yiv235172738estilocorreioelectrnico17
        {mso-style-name:yiv235172738estilocorreioelectrnico17;}
p.yiv235172738msonormal1, li.yiv235172738msonormal1, div.yiv235172738msonormal1
        {mso-style-name:yiv235172738msonormal1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Arial","sans-serif";}
span.yiv235172738msohyperlink1
        {mso-style-name:yiv235172738msohyperlink1;
        color:blue;
        text-decoration:underline;}
span.yiv235172738msohyperlinkfollowed1
        {mso-style-name:yiv235172738msohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
span.yiv235172738estilocorreioelectrnico171
        {mso-style-name:yiv235172738estilocorreioelectrnico171;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.EstiloCorreioElectrnico25
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=PT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>But shouldn’t QGIS identify the CRS correctly? Or at least say it is unknown? Stating the wrong CRS will misguide users.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Duarte<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> pcreso@pcreso.com [mailto:pcreso@pcreso.com] <br><b>Enviada:</b> quinta-feira, 7 de Abril de 2011 20:34<br><b>Para:</b> Duarte Carreira<br><b>Cc:</b> qgis-user@lists.osgeo.org<br><b>Assunto:</b> Re: [Qgis-user] postgis and custom CRS<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal>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:<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><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<o:p></o:p></p><div id=yiv235172738><div><p class=yiv235172738msonormal>Hi.<o:p></o:p></p><p class=yiv235172738msonormal> <o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US>I’m seeing this behavior and would like to confirm it.</span><o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US> </span><o:p></o:p></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><o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US> </span><o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US>In PG I have the custom CRS defined like this:</span><o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US> </span><o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US>Srid: 9102160</span><o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US>Auth_name: ESRI</span><o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US>Auth_srid: 102160</span><o:p></o:p></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><o:p></o:p></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><o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US> </span><o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US>Can someone confirm?</span><o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US> </span><o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US>Thanks,</span><o:p></o:p></p><p class=yiv235172738msonormal><span lang=EN-US>Duarte</span><o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>-----Inline Attachment Follows-----<o:p></o:p></p><div><p class=MsoNormal>_______________________________________________<br>Qgis-user mailing list<br><a 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><o:p></o:p></p></div></td></tr></table><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p></div></body></html>