Andreas -

The problem is twofold -

 * 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.
 * 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:
   a) find MapInfo specific projection parameters in tab file,
   b) convert these to the equivalent  proj4 definition and
   c) do a reverse lookup to find the EPSG code
   QGIS never will never find your edited CRS parameters

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 ?)
I suggest you make a feature request on the QGIS bugtracker


Regards
Bo Victor Thomsen
Aestas-GIS
Denmark

Den 25-05-2013 01:57, Fischer, Andreas skrev:
Re: [Qgis-user] Recognition of SRS in MapInfo-Files

Dear Community,

I just hadanidea:

If a shape fileis created withQGIS a .qpjfile is createdas well. This file is used always when it isexisting.QGISdoesn't care of settings in .prj file and just uses the definitions in .qpj file.That seems to be almost perfect, becauseallchanges of the build in SRS definitions are consideredin that qpj file.Unfortunately this file is without usefor MapInfo TAB files.

Wouldn't it be possibleto make this goingonwith other formats as well? Thismight be a solution that does not care about ogrsettingsin first place. If ogr works fine nobody has needs for .qpj files. But in other cases,everyonecould determinethe parameters to use. If these are defined exactly like build in SRS matching should not be a problem.

Best regards

Andreas


Mit freundlichen Grüßen

Im Auftrag

Andreas Fischer

Sachgebietsleiter

Kreis Unna - Der Landrat

Zentrale Datenverarbeitung

Sachgebiet DV-Organisation

Friedrich-Ebert-Straße 17

59425 Unna

Fon 02 3 03 27-44 16

Fax 0 23 03 27-28 96

[email protected]_<mailto:[email protected]>

_www.kreis-unna.de_<http://www.kreis-unna.de>

Denken Sie an die Umwelt. Pruefen Sie deshalb bitte,
ob der Ausdruck dieser E-Mail wirklich notwendig ist.


Diese E-Mail wurde beim Ausgang auf Viren geprueft. Wegen der
potentiellen Gefahr auf den Uebertragungswegen wird zu einer
Vireneingangskontrolle geraten. Eine Haftung für Virenfreiheit
wird ausgeschlossen.



_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to