[Mapbender-users] Projection to DHDN3 GK Zone3 EPSG:31467
Leukert, Boris
boris.leukert at wald-und-holz.nrw.de
Tue Sep 18 06:25:27 PDT 2012
Hi Andreas,
can you check the entry in the epsg file (or revert back to the old entry)?
The QGis error message sound like there is a syntax problem in the file.
Boris
-----Ursprüngliche Nachricht-----
Von: mapbender_users-bounces at lists.osgeo.org [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag von a.borgardt at landkreis-cuxhaven.de
Gesendet: Dienstag, 18. September 2012 14:51
An: mapbender_users at lists.osgeo.org
Betreff: Re: [Mapbender-users] Projection to DHDN3 GK Zone3 EPSG:31467
Moin Boris,
after applying the suggested changes, Q-GIS reports the following error:
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException>
msProcessProjection(): Projection library error. unknown projection id
</ServiceException>
</ServiceExceptionReport>
I changed the BETA2007.gsb-path to /usr/share/proj/.
Andreas
> -----Original Message-----
> From: Leukert, Boris [mailto:boris.leukert at wald-und-holz.nrw.de]
> Sent: Tuesday, September 18, 2012 1:50 PM
> To: Mapbender User List
> Subject: Re: [Mapbender-users] Projection to DHDN3 GK Zone3 EPSG:31467
>
> Hi Andreas,
> I'm using the following entries to reproject from EPSG 31467
> to UTM and it works fine:
>
> PROJ.4 epsg file:
> <31467> +proj=tmerc +lat_0=0 +lon_0=9 +k=1 +x_0=3500000
> +y_0=0 +ellps=bessel +datum=potsdam +units=m +no_defs
> +nadgrids=/opt/libproj/share/proj/BETA2007.gsb +wktext <>
>
> PostGIS table spatial_ref_sys:
> UPDATE spatial_ref_sys
> SET proj4text = '+proj=tmerc +lat_0=0 +lon_0=9 +k=1
> +x_0=3500000 +y_0=0 +ellps=bessel +datum=potsdam +units=m
> +no_defs +nadgrids=/opt/libproj/share/proj/BETA2007.gsb +wktext '
> WHERE srid = 31467;
>
> Please change the directory "/opt/libproj/share/proj/" to the
> directory of your installation where the file BETA2007.gsb is located.
>
> Best regards,
> Boris
>
>> -----Ursprüngliche Nachricht-----
>>Von: mapbender_users-bounces at lists.osgeo.org
>> [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag
>> von a.borgardt at landkreis-cuxhaven.de
>> Gesendet: Dienstag, 18. September 2012 13:20
>> An: mapbender_users at lists.osgeo.org
>> Betreff: [Mapbender-users] Projection to DHDN3 GK Zone3 EPSG:31467
>>
>> Hi Mapbenders,
>>
>> I'm trying to project a wms with the change epsg button. The
>> function works, but the resulting coordinates are not
>> correct. They differ about 32m to west and about 175m to the
>> south to a "real" dhdn-shape. I tried two proj4-parameters in
>> the spatial_ref_sys table for epsg 31467:
>>
>> +proj=tmerc +lat_0=0 +lon_0=9 +k=1.000000 +x_0=3500000 +y_0=0
>> +ellps=bessel +datum=potsdam +units=m +no_defs proj=tmerc +lat_0=0
>> ++lon_0=9 +k=1.000000 +x_0=3500000 +y_0=0 ellps=bessel +datum=potsdam
>> ++nadgrids=BeTA2007 +units=m +no_defs
>>
>> but nothing changes.
>>
>> Thanks for any help!
>>
>> Best regards
>>
>> Andreas
>>
>> --
>> Dipl.-Geol. Andreas Borgardt
>> Landkreis Cuxhaven
>> 06 - GIS-Service
>> Tel.: 04721/66 23 68
>> E-Mail: a.borgardt at landkreis-cuxhaven.de
> --
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
_______________________________________________
Mapbender_users mailing list
Mapbender_users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapbender_users
More information about the Mapbender_users
mailing list