Re: [Qgis-user] How to fix a CRS definition?

2012-12-30 Thread Jürgen E . Fischer
Hi Anita,

On Sun, 23. Dec 2012 at 12:32:21 +0100, Anita Graser wrote:
> Has this been fixed in Master? Is it possible to change this for 1.8 on my
> machine? It seems to cause an east-west offset.

The definitions are taken from your local GDAL version on install.  So you'll
probably see the same results in gdalsrsinfo -o proj4 EPSG:31287.


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
committ(ed|ing) to Quantum GIS IRC: jef on FreeNode 


-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] How to fix a CRS definition?

2012-12-26 Thread Andre Joost

Am 23.12.2012 12:32, schrieb Anita Graser:

Hi,

In my QGIS 1.8 install on Ubuntu EPSG:31287 is defined as

+proj=lcc +lat_1=49 +lat_2=46 +lat_0=47.5 +lon_0=13.33
+x_0=40 +y_0=40 +ellps=bessel +datum=hermannskogel +units=m
+no_defs

while according to http://spatialreference.org/ref/epsg/31287/proj4/
(and the definition used in PostGIS) it should be

+proj=lcc +lat_1=49 +lat_2=46 +lat_0=47.5 +lon_0=13.33
+x_0=40 +y_0=40 +ellps=bessel
+towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 +units=m
+no_defs

Has this been fixed in Master? Is it possible to change this for 1.8
on my machine? It seems to cause an east-west offset.


The '+datum=hermannskogel' is hardcoded in proj:

with a three-parameter transformation:
"hermannskogel", "towgs84=653.0,-212.0,449.0"

Seven-parameter transformations are more precise, the official 
parameters can be found here:



The latest build of gdal uses the 7 parameters you listed above.

If you want to change the values, look for srs.db. You can edit it with 
spatialite, or just copy it from the windows installations.


Greetings
André Joost





___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] How to fix a CRS definition?

2012-12-23 Thread Anita Graser
Just wanted to add that the definition is correct in both QGIS 1.8 and
Master on my OSGeo4W system.

Best wishes,
Anita
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] How to fix a CRS definition?

2012-12-23 Thread Anita Graser
Hi,

In my QGIS 1.8 install on Ubuntu EPSG:31287 is defined as

+proj=lcc +lat_1=49 +lat_2=46 +lat_0=47.5 +lon_0=13.33
+x_0=40 +y_0=40 +ellps=bessel +datum=hermannskogel +units=m
+no_defs

while according to http://spatialreference.org/ref/epsg/31287/proj4/
(and the definition used in PostGIS) it should be

+proj=lcc +lat_1=49 +lat_2=46 +lat_0=47.5 +lon_0=13.33
+x_0=40 +y_0=40 +ellps=bessel
+towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 +units=m
+no_defs

Has this been fixed in Master? Is it possible to change this for 1.8
on my machine? It seems to cause an east-west offset.

Best wishes,
Anita
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user