[MapProxy] Problem with EPSG:31254 (MGI-Austira_West) (north, west coordinates)

Siegel Andreas Andreas.Siegel at vorarlberg.at
Tue Mar 11 23:10:09 PDT 2025


Hi Sander.
Thanks for your reply!



If you follow the definition of 31254
(coordinate system: Cartesian 2D CS. Axes: northing, easting (X,Y). Orientations: north, east.)

X should be north and Y should be east.

In QGIS 31254 the coordinates of our example are displayed correctly as: 187512.35441366956, -71047.00800551772

Everybody (even the online converter) uses easting, northing.
This is a pain in the … and gives us in Austria a lot of grievances.

But!
In our production environment we still use an old Centos-Box (Python 3.6 and mapproxy 1.12) and there everything works fine.

So. A lot of further testing is required.

Cheers
Andy

PS:
Maybe i should shortly describe the use-case:

-          Provide tile-caches in 3154 from mapserver-WMS-Services in 31254.

-          Reproject foreign tile-caches into 31254-tile-caches.

Von: Sander Pukk <sander.pukk at gmail.com>
Gesendet: Dienstag, 11. März 2025 19:37
An: Siegel Andreas <Andreas.Siegel at vorarlberg.at>
Cc: mapproxy at lists.osgeo.org
Betreff: Re: [MapProxy] Problem with EPSG:31254 (MGI-Austira_West) (north, west coordinates)

Hi!

Is this not correct?
https://epsg.io/transform#s_srs=3857&t_srs=31254&x=1046623.5500000&y=5913212.7300000

Press the show on map under 3857 also.

[https://mailtrack.io/trace/mail/6e6eeabec6073a7ba0ce1528baddc258b6c35943.png?u=5967149]
On Tue, Mar 11, 2025 at 3:56 PM Siegel Andreas via MapProxy <mapproxy at lists.osgeo.org<mailto:mapproxy at lists.osgeo.org>> wrote:
Dear list,

Many of our services use EPSG-31254 as the default projection.


This projection uses the following Coordinate system: Cartesian 2D CS. Axes: northing, easting (X,Y). Orientations: north, east. UoM: m.<https://epsg.io/4530-cs>
So our services expect (north, west) as coordinate-pairs.

Mapproxy uses (west,north).

Example:
mapproxy.proj - transformed from SRS('EPSG:3857') to SRS('EPSG:31254') ((1046623.55, 5913212.73, 1146622.03, 6042815.08) -> (-71047.00, 187089.15, -2459.77, 275422.27))

That does not work.
It should be:
mapproxy.proj - transformed from SRS('EPSG:3857') to SRS('EPSG:31254') ((1046623.55, 5913212.73, 1146622.03, 6042815.08) -> (187089.15, -71047.00, 275422.27, -2459.77))

Is an option like swap-coordinates available?

Or are there any other options available.

Thanks
Andy



Mag Andreas Siegel
Abteilung Geoinformation

Landesamt für Vermessung und Geoinformation
Johannitergasse 6, A-6800 Feldkirch
T: +43(0) 5522 / 75482 - 60227
F: +43(0) 5522 / 75482 - 6
E: andreas.siegel at vorarlberg.at<mailto:andreas.andreas.sandreas.siegel at vorarlberg.at>
I: http://www.vorarlberg.at/lva

Rechtsverbindlichen Schriftverkehr
(zB Anträge, Rechtsmittel) richten Sie an:
F: +43(0)5522/75482-6
E: landesvermessungsamt at vorarlberg.at<mailto:landesvermessungsamt at vorarlberg.at>

_______________________________________________
MapProxy mailing list
MapProxy at lists.osgeo.org<mailto:MapProxy at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/mapproxy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20250312/85c22180/attachment-0001.htm>


More information about the MapProxy mailing list