Hi,
I'm having a projection issue. There are two source datasets, one with
epsg 25833 and one with epsg 3068. Both should be at the same place and
they are, when viewing them in QGIS. In mapserver they don't match. The
example works with shp-files, but the problem occurs with other Formats,
eg gpkg, too.
https://schulung.foss.academy/mapbender/application/soldner?#10000@13.33114/52.49205r0@EPSG:3068
I've uploaded everything to https://files.wheregroup.com/s/2QFHgNBanzJrSrN
When you change the projection to wgs84 or utm33 both polygons match,
with soldner they don't. The pink one with the data source in 3068 is
always displayed correct, but the blue one (data source 25833) is placed
~400 meters south-west.
epsg 3068:
https://schulung.foss.academy/cgi-bin/mapserv?map=%2Fdata%2Fth%2Fmini.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&FORMAT=image%2Fpng&STYLES=%2C&TRANSPARENT=TRUE&LAYERS=mini25833%2Cmini%203068&WIDTH=1323&HEIGHT=1252&CRS=EPSG%3A3068&BBOX=17421.289685579035%2C18846.08290242035%2C19408.843660686984%2C20946.66710358875
AND epsg 25833:
https://schulung.foss.academy/cgi-bin/mapserv?map=%2Fdata%2Fth%2Fmini.map&&REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&FORMAT=image%2Fpng&STYLES=%2C&TRANSPARENT=TRUE&LAYERS=mini25833%2Cmini%203068&WIDTH=1486&HEIGHT=958&CRS=EPSG%3A25833&BBOX=385517.0762893588%2C5816411.973997896%2C387875.47100614826%2C5817933.437040822
Thee are no hints in the ms-log and proj-log, below you'll find the mapfile.
I don't have any more Ideas what's going wrong, perhaps anyone of the
helpful mapserver list can give me a hint?
Regards, Jörg
MAP
NAME "Mini_ges"
STATUS ON
EXTENT 0 0 80000 55000
UNITS METERS
PROJECTION
"init=epsg:25833"
END
CONFIG "PROJ_DEBUG" "4"
WEB
METADATA
ows_enable_request "*"
ows_srs "EPSG:4326 EPSG:25832 EPSG:25833 EPSG:3068"
wms_bbox_extended 'true'
END
END
LAYER
NAME "mini25833"
TYPE POLYGON
EXTENT 386801.3500214162049815 5817177.7080114781856537
386859.3500865547684953 5817221.2880833633244038
DATA 'mini'
DEBUG 5
METADATA
ows_srs "EPSG:4326 EPSG:25832 EPSG:25833 EPSG:3068"
END
PROJECTION
"init=epsg:25833"
END
CLASS
NAME "mini 25833"
STYLE
OUTLINECOLOR 72 164 255
WIDTH 5
END
END
END
LAYER
NAME "mini 3068"
TYPE POLYGON
EXTENT 0 0 80000 55000
DATA "mini3068"
DEBUG 5
METADATA
ows_srs "EPSG:4326 EPSG:25832 EPSG:25833 EPSG:3068"
END
PROJECTION
"init=epsg:3068"
END
CLASS
NAME "mini3068"
STYLE
OUTLINECOLOR 255 164 255
WIDTH 3
END
END
END
END # MAP
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users