<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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 name=Generator content="Microsoft Word 12 (filtered medium)"><title>Re: [Qgis-user] Recognition of SRS in MapInfo-Files</title><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 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";
        color:black;}
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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Nur Text Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Arial","sans-serif";
        color:windowtext;}
p
        {mso-style-priority:99;
        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";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Consolas","serif";
        color:black;}
span.E-MailFormatvorlage20
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
span.NurTextZchn
        {mso-style-name:"Nur Text Zchn";
        mso-style-priority:99;
        mso-style-link:"Nur Text";
        font-family:"Arial","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:785848295;
        mso-list-template-ids:433633448;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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 bgcolor=white lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Hi Bo Victor,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>thanks for your response. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>.qpj isn’t  really used with MapInfo TAB. I checked this out.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>So I have to follow your suggestion and I will make a feature request (and wait for new GDAL in next QGIS-Version). Unfortunately getting thinks work, will probably last a longer time then. ;-)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Thanks a lot,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Best regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Andreas Fischer<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Sachgebietsleiter<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Kreis Unna - Der Landrat<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Zentrale Datenverarbeitung<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Sachgebiet DV-Organisation<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Friedrich-Ebert-Straße 17<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>59425 Unna<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Fon 02 3 03 27-44 16<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Fax 0 23 03 27-28 96<o:p></o:p></span></p><p class=MsoPlainText><a href="mailto:andreas.fischer@kreis-unna.de"><span lang=EN-US>andreas.fischer@kreis-unna.de</span></a><span lang=EN-US><o:p></o:p></span></p><p class=MsoPlainText><a href="http://www.kreis-unna.de">www.kreis-unna.de</a><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>Von:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> qgis-user-bounces@lists.osgeo.org [mailto:qgis-user-bounces@lists.osgeo.org] <b>Im Auftrag von </b>Bo Victor </span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>Thomsen<br><b>Gesendet:</b> Samstag, 25. Mai 2013 08:06<br><b>An:</b> qgis-user@lists.osgeo.org<br><b>Betreff:</b> Re: [Qgis-user] Recognition of SRS in MapInfo-Files<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal style='margin-bottom:12.0pt'>Andreas -<br><br>The problem is twofold -<o:p></o:p></p><ul type=disc><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>QGIS (or rather the underlying ogr library)  has a bug in some cases when determining the projection in TAB files (i.e EPSG:25832) . This bug is solved in version 1.10 of GDAL.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt;mso-list:l0 level1 lfo1'>Your editing of QGIS CRS parameter database  won't give you the wanted result, because when QGIS try to find the projection of a tab dataset it (probably) goes like this: <br>a) find MapInfo specific projection parameters in tab file, <br>b) convert these to the equivalent  proj4 definition and <br>c) do a reverse lookup to find the EPSG code <br>QGIS never will never find your edited CRS parameters<o:p></o:p></li></ul><p class=MsoNormal>As you suggested, a solution to this problem could be to let QGIS override the "build-in" projection in a tab file with a .qpj companion file just like the case with shape files. (Doesn't it do this already ?)<br>I suggest you make a feature request on the QGIS bugtracker <br><br><br>Regards<br>Bo Victor Thomsen<br>Aestas-GIS<br>Denmark<br> <br>Den 25-05-2013 01:57, Fischer, Andreas skrev:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p><span style='font-family:"Arial","sans-serif"'>Dear Community,</span><o:p></o:p></p><p><span lang=EN-US style='font-family:"Arial","sans-serif"'>I just had</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>an idea:</span><o:p></o:p></p><p><span lang=EN-US style='font-family:"Arial","sans-serif"'>If a shape file</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>is created with QGIS a .qpj</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>file is created</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>as well. This file is used always when it is</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>existing.</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>QGIS doesn’t care of settings in .prj file and just uses the definitions in .qpj file.</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>That seems to be almost perfect, because</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>all changes of the build in SRS definitions are considered in that qpj file.</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>Unfortunately this file is without use for MapInfo TAB files.</span><span lang=EN-US> </span><o:p></o:p></p><p><span lang=EN-US style='font-family:"Arial","sans-serif"'>Wouldn’t it be possible to make this going</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>on</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>with other formats as well? This</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>might be a solution that does not care about ogr settings in first place. If ogr works fine nobody has needs for .qpj files. But in other cases,</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>everyone</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>could determine</span><span lang=EN-US> </span><span lang=EN-US style='font-family:"Arial","sans-serif"'>the parameters to use. If these are defined exactly like build in SRS matching should not be a problem.</span><o:p></o:p></p><p><span lang=EN-US style='font-family:"Arial","sans-serif"'>Best regards</span><o:p></o:p></p><p><span lang=EN-US style='font-family:"Arial","sans-serif"'>Andreas</span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p><span lang=EN-US style='font-family:"Arial","sans-serif"'>Mit freundlichen Grüßen</span><o:p></o:p></p><p><span style='font-family:"Arial","sans-serif"'>Im Auftrag</span><o:p></o:p></p><p><span style='font-family:"Arial","sans-serif"'>Andreas Fischer</span><o:p></o:p></p><p><span style='font-family:"Arial","sans-serif"'>Sachgebietsleiter</span><o:p></o:p></p><p><span style='font-family:"Arial","sans-serif"'>Kreis Unna - Der Landrat</span><o:p></o:p></p><p><span style='font-family:"Arial","sans-serif"'>Zentrale Datenverarbeitung</span><o:p></o:p></p><p><span style='font-family:"Arial","sans-serif"'>Sachgebiet DV-Organisation</span><o:p></o:p></p><p><span style='font-family:"Arial","sans-serif"'>Friedrich-Ebert-Straße 17</span><o:p></o:p></p><p><span lang=EN-US style='font-family:"Arial","sans-serif"'>59425 Unna</span><o:p></o:p></p><p><span lang=EN-US style='font-family:"Arial","sans-serif"'>Fon 02 3 03 27-44 16</span><o:p></o:p></p><p><span lang=EN-US style='font-family:"Arial","sans-serif"'>Fax 0 23 03 27-28 96</span><o:p></o:p></p><p><a href="mailto:andreas.fischer@kreis-unna.de"><span lang=EN-US style='font-family:"Arial","sans-serif"'>andreas.fischer@kreis-unna.de</span></a><o:p></o:p></p><p><a href="http://www.kreis-unna.de"><span style='font-family:"Arial","sans-serif"'>www.kreis-unna.de</span></a><o:p></o:p></p><p> <o:p></o:p></p><p style='margin-bottom:12.0pt'>Denken Sie an die Umwelt. Pruefen Sie deshalb bitte, <br>ob der Ausdruck dieser E-Mail wirklich notwendig ist.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p>Diese E-Mail wurde beim Ausgang auf Viren geprueft. Wegen der <br>potentiellen Gefahr auf den Uebertragungswegen wird zu einer <br>Vireneingangskontrolle geraten. Eine Haftung für Virenfreiheit<br>wird ausgeschlossen.<o:p></o:p></p><p class=MsoNormal><br><br><br><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>Qgis-user mailing list<o:p></o:p></pre><pre><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><o:p></o:p></pre><pre><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></pre></blockquote><p class=MsoNormal><o:p> </o:p></p></div><p>Denken Sie an die Umwelt. Pruefen Sie deshalb bitte, <br>
ob der Ausdruck dieser E-Mail wirklich notwendig ist.<br>
 <br>
 </p><br>
<p>Diese E-Mail wurde beim Ausgang auf Viren geprueft. Wegen der <br>
potentiellen Gefahr auf den Uebertragungswegen wird zu einer <br>
Vireneingangskontrolle geraten. Eine Haftung für Virenfreiheit<br>
wird ausgeschlossen.</p>

<p></p></body></html>