<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Andreas -<br>
      <br>
      The problem is twofold -<br>
      <br>
      <ul>
        <li>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.</li>
        <li>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<br>
          <br>
        </li>
      </ul>
      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:<br>
    </div>
    <blockquote
      cite="mid:34A305EE27F6F245A9D0E92FEB03640E03069BAC@kum1.kreis-unna.int"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="MS Exchange Server version
        6.5.7654.12">
      <title>Re: [Qgis-user] Recognition of SRS in MapInfo-Files</title>
      <!-- Converted from text/rtf format -->
      <p dir="LTR"><span lang="de"><font face="Arial">Dear Community,</font></span></p>
      <p dir="LTR"><span lang="de"></span><span lang="en-us"><font
            face="Arial">I just had</font></span><span lang="de"></span><span
          lang="en-us"> <font face="Arial">an</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial"> idea</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial">:</font></span></p>
      <p dir="LTR"><span lang="en-us"><font face="Arial">If a shape file</font></span><span
          lang="de"></span><span lang="en-us"> <font face="Arial">is
            created with</font></span><span lang="de"></span><span
          lang="en-us"><font face="Arial"> QGIS a .qpj</font></span><span
          lang="de"></span><span lang="en-us"> <font face="Arial">file
            is created</font></span><span lang="de"></span><span
          lang="en-us"> <font face="Arial">as well</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial">. This
            file is used always when it is</font></span><span lang="de"></span><span
          lang="en-us"> <font face="Arial">existing</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial">.</font></span><span
          lang="de"></span><span lang="en-us"> <font face="Arial">QGIS</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial"> doesn</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial">’</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial">t care
            of settings in .prj file and just uses the definitions in
            .qpj file.</font></span><span lang="de"></span><span
          lang="en-us"> <font face="Arial">That seems to be almost
            perfect, bec</font></span><span lang="de"></span><span
          lang="en-us"><font face="Arial">ause</font></span><span
          lang="de"></span><span lang="en-us"> <font face="Arial">all</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial">
            changes of the build in SRS definitions are considered</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial"> in
            that qpj file</font></span><span lang="de"></span><span
          lang="en-us"><font face="Arial">.</font></span><span lang="de"></span><span
          lang="en-us"> <font face="Arial">Unfortunately this file is
            without use</font></span><span lang="de"></span><span
          lang="en-us"><font face="Arial"> for MapInfo TAB files.</font></span><span
          lang="de"></span><span lang="en-us"> </span></p>
      <p dir="LTR"><span lang="de"></span><span lang="en-us"><font
            face="Arial">Wouldn</font></span><span lang="de"></span><span
          lang="en-us"><font face="Arial">’</font></span><span lang="de"></span><span
          lang="en-us"><font face="Arial">t it be possible</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial"> to
            make this going</font></span><span lang="de"></span><span
          lang="en-us"> <font face="Arial">on</font></span><span
          lang="de"></span><span lang="en-us"> <font face="Arial">with
            other formats as well? This</font></span><span lang="de"></span><span
          lang="en-us"> <font face="Arial">might be a solution that
            does not care about ogr</font></span><span lang="de"></span><span
          lang="en-us"><font face="Arial"> settings</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial"> in
            first place</font></span><span lang="de"></span><span
          lang="en-us"><font face="Arial">. If ogr works fine nobody has
            needs for .qpj files. But in other case</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial">s</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial">,</font></span><span
          lang="de"></span><span lang="en-us"> <font face="Arial">everyone</font></span><span
          lang="de"></span><span lang="en-us"></span><span lang="de"></span><span
          lang="en-us"> <font face="Arial">could determine</font></span><span
          lang="de"></span><span lang="en-us"> <font face="Arial">the
            parameters to use. If these are defined exactly like build
            in SRS matching should not be a problem</font></span><span
          lang="de"></span><span lang="en-us"><font face="Arial">.</font></span></p>
      <p dir="LTR"><span lang="en-us"><font face="Arial">Best regards</font></span></p>
      <p dir="LTR"><span lang="de"></span><span lang="en-us"><font
            face="Arial">Andreas</font></span><span lang="de"></span><span
          lang="en-us"></span></p>
      <br>
      <p dir="LTR"><span lang="de"></span><span lang="en-us"><font
            face="Arial">Mit freundlichen Grüßen</font></span></p>
      <p dir="LTR"><span lang="de"><font face="Arial">Im Auftrag</font></span></p>
      <p dir="LTR"><span lang="de"><font face="Arial">Andreas Fischer</font></span></p>
      <p dir="LTR"><span lang="de"><font face="Arial">Sachgebietsleiter</font></span></p>
      <p dir="LTR"><span lang="de"><font face="Arial">Kreis Unna - Der
            Landrat</font></span></p>
      <p dir="LTR"><span lang="de"><font face="Arial">Zentrale
            Datenverarbeitung</font></span></p>
      <p dir="LTR"><span lang="de"><font face="Arial">Sachgebiet
            DV-Organisation</font></span></p>
      <p dir="LTR"><span lang="de"><font face="Arial">Friedrich-Ebert-Straße
            17</font></span></p>
      <p dir="LTR"><span lang="de"></span><span lang="en-us"><font
            face="Arial">59425 Unna</font></span></p>
      <p dir="LTR"><span lang="en-us"><font face="Arial">Fon 02 3 03
            27-44 16</font></span></p>
      <p dir="LTR"><span lang="en-us"><font face="Arial">Fax 0 23 03
            27-28 96</font></span></p>
      <p dir="LTR"><span lang="de"></span><a moz-do-not-send="true"
          href="mailto:andreas.fischer@kreis-unna.de"><span lang="de"></span><u><span
              lang="en-us"><font face="Arial" color="#0000FF">andreas.fischer@kreis-unna.de</font></span></u><span
            lang="de"></span></a><span lang="de"></span><span
          lang="en-us"></span></p>
      <p dir="LTR"><span lang="de"></span><a moz-do-not-send="true"
          href="http://www.kreis-unna.de"><span lang="de"><u><font
                face="Arial" color="#0000FF">www.kreis-unna.de</font></u></span><span
            lang="de"></span></a><span lang="de"></span></p>
      <p dir="LTR"><span lang="de"></span><span lang="de"> </span></p>
      <p dir="LTR"><span lang="de"></span><span lang="de"></span><span
          lang="de"></span></p>
      <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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>