<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>
As others on the list has mentioned, QGIS or rather, the
underlying GDAL/OGR library has some issues with recognition of
certain CRS definitions for Tab - files. In your specific case is
it the EPGS:25832.<br>
<br>
Try to look at the Layer CRS defintion of the tab file opened in
QGIS . It probably contains a PROJ4 CRS like this:<br>
<br>
<span style=" font-family:'arial,sans-serif'; color:#000000;">
+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,-0,-0,-0,0
+units=m +no_defs</span> <br>
<br>
<span style=" font-family:'arial,sans-serif'; color:#000000;">the
"towgs84" parameter list contains several "minus zero"
parameters. This is an error in GDAL/OGR. It has been corrected
in GDAL ver 1.10 (I reported it to GDAL several months ago). <br>
<br>
This error means, that QGIS 1.8 (which use a earlier version of
GDAL/OGR) will assign </span><span style="
font-family:'arial,sans-serif'; color:#000000;"><span style="
font-family:'arial,sans-serif'; color:#000000;">a "custom CRS"
definition for the new layer when it opens </span>a </span><span
style=" font-family:'arial,sans-serif'; color:#000000;"><span
style=" font-family:'arial,sans-serif'; color:#000000;">tab-file
with the EPGS:25832 CRS.<br>
<br>
My hope is that QGIS 2.0 will use the latest GDAL library.<br>
<br>
Regards <br>
<br>
Bo Victor Thomsen<br>
Aestas-GIS<br>
Denamrk<br>
</span> <br>
</span>Den 21-05-2013 09:37, Fischer, Andreas skrev:<br>
</div>
<blockquote
cite="mid:34A305EE27F6F245A9D0E92FEB03640E03069B90@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>Recognition of SRS in MapInfo-Files</title>
<!-- Converted from text/rtf format -->
<p dir="LTR"><span lang="de"></span><span lang="de"></span><span
lang="en-us"><font face="Arial">Dear QGIS-Community,</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Arial">I’m preparing
to get used QGIS 1.8 with Windows Vista/7.</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"> </span></p>
<p dir="LTR"><span lang="de"></span><span lang="de"></span><span
lang="en-us"><font face="Arial">Since I do have to work with
MapInfo-Professional as well and sometimes</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"> <font
face="Arial">users</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"> <font face="Arial">still
have to transform</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"> <font face="Arial">on-the-fly
from DHDN/GK3 (EPSG:31467) to ETRS89/UTM, Zone 32N
(EPSG:25832) using NTv2 BETA2007.gsb there are some special
issues.</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Arial">First I changed
EPSG-definition in QGIS. I replaced +towgs84 parameter with
+nadgrid parameter and +wktext in srs.db and
.\share\proj\epsg</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"> <font face="Arial">(+proj=utm
+zone=32 +ellps=GRS80 +</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"><font face="Arial">nadgrids=/path/BETA2007.gsb
+wktext</font></span><span lang="de"></span><span lang="de"></span><span
lang="en-us"><font face="Arial"> +units=m +no_defs)</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"><font
face="Arial">. After I deleted the SRS definition in
.\share\gdal\pcs.csv everything works fine. As soon as the
SRS is recognized properly the transformation is well done
on the fly.</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"> <font face="Arial">So</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"> <font
face="Arial">user</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"><font face="Arial">s</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"><font
face="Arial"> don’t have to do anything to get the data
displayed in EPSG 25832</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"><font face="Arial"> with
BETA2007</font></span><span lang="de"></span><span lang="de"></span><span
lang="en-us"><font face="Arial">. Fine to get to this point …</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="de"></span><span lang="de"></span><span
lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Arial">… unfortunately
</font></span><span lang="de"></span><span lang="de"></span><span
lang="en-us"><font face="Arial" color="#1F497D">I</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"><font
face="Arial"> do work with MapInfo TAB-files and the SRS is
not recognized as I expect. Every time I open a MapInfo TAB</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"><font
face="Arial">/MIF</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"><font face="Arial">file in
EPSG 31467</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"> <font face="Arial">or
EPSG 25832</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"> <font face="Arial">QGIS
doesn’t match</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"> <font face="Arial">the</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"> <font
face="Arial">equivalent build in</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"><font
face="Arial"> SRS. Instead</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"> <font face="Arial">in
case</font></span><span lang="de"></span><span lang="de"></span><span
lang="en-us"> <font face="Arial">of</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"><font
face="Arial"> EPSG 31467</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"> <font face="Arial">a
user defined SRS is build that makes use of +towgs84
parameter again. So every time I do have to assign the
proper SRS to that layer (</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"><font face="Arial">E</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"><font
face="Arial">PSG 31467) first.</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"> <font face="Arial">After
that</font></span><span lang="de"></span><span lang="de"></span><span
lang="en-us"><font face="Arial"> on-the-fly-transformation
does work immediately.</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"><font face="Arial"> In
case</font></span><span lang="de"></span><span lang="de"></span><span
lang="en-us"> <font face="Arial">of</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"><font
face="Arial"> EPSG 25832 the automatically defined SRS does
have exactly the same parameters as the build in definition
of</font></span><span lang="de"></span><span lang="de"></span><span
lang="en-us"> <font face="Arial">QGIS. Anyway it doesn</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"><font
face="Arial">’</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"><font face="Arial">t match
to EPSG 25832.</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Arial">Why can’t QGIS
recognize</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"> <font face="Arial">the</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"> <font
face="Arial">SRS in MapInfo TAB-files?</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"> <font
face="Arial">How does the assignment of the SRS work?</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"> <font
face="Arial">I assume that the user defined parameters</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"> <font
face="Arial">that are used automatically</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"> <font
face="Arial">are defined in some configuration file. Maybe
there is a possibility to change these settings.</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"><font
face="Arial"> It would be great to open a MapInfo-File in
EPSG 31467 or in EPSG 25832</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"><font face="Arial"> and</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"> <font
face="Arial">QGIS does recognize</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"> <font
face="Arial">the SRS</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"> <font face="Arial">b</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"><font
face="Arial">y itself</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"><font face="Arial"> and
match to the proper build in SRS</font></span><span
lang="de"></span><span lang="de"></span><span lang="en-us"><font
face="Arial">!</font></span><span lang="de"></span><span
lang="de"></span><span lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Arial">I will be glad
to hear from you!</font></span></p>
<p dir="LTR"><span lang="de"></span><span lang="de"><font
face="Arial">Best regards</font></span></p>
<p dir="LTR"><span lang="de"><font face="Arial">Andreas</font></span></p>
<p dir="LTR"><span lang="de"></span><span lang="de-de"></span></p>
<p dir="LTR"><span lang="de-de"><font face="Arial">Kreis Unna -
Der Landrat</font></span></p>
<p dir="LTR"><span lang="de-de"><font face="Arial">Zentrale
Datenverarbeitung</font></span></p>
<p dir="LTR"><span lang="de-de"><font face="Arial">Sachgebiet
DV-Organisation</font></span></p>
<p dir="LTR"><span lang="de-de"><font face="Arial">Friedrich-Ebert-Straße
17</font></span></p>
<p dir="LTR"><span lang="de"></span><span lang="de-de"></span><span
lang="de-de"><font face="Arial">59425 Unna</font></span></p>
<p dir="LTR"><span lang="de-de"><font face="Arial">Fon 02 3 03
27-44 16</font></span></p>
<p dir="LTR"><span lang="de-de"><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="de-de"></span></u><u><span lang="de-de"><font
face="Arial" color="#0000FF">andreas.fischer@kreis-unna.de</font></span></u><span
lang="de"></span></a><span lang="de"></span><span
lang="de-de"></span></p>
<p dir="LTR"><span lang="de"></span><a moz-do-not-send="true"
href="http://www.kreis-unna.de"><span lang="de"></span><u><span
lang="de-de"></span></u><u><span lang="de-de"><font
face="Arial" color="#0000FF">www.kreis-unna.de</font></span></u><span
lang="de"></span></a><span lang="de"></span><span
lang="de-de"></span></p>
<p dir="LTR"><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>