Hi!
Im experiencing a problem when trying to set up a GIS with mapserver and
mepbender. First of all, this link leads to a working version of my data in
the "map-mode" of mapserver
http://gis-test.geomatik.rub.de/cgi-bin/mapserv?map=/srv/www/htdocs/GIS2/Studieren_in_Bochum.map&mode=map
. As soon as I want to move the data to mapbender by using a wms/wfs in
order to add a gui etc., I'm getting an error message
(msProcessProjection(): Projection library error. no system list, errno: 2).
I've no idea what's wrong here and would be very thankful for any
suggestion. Could it be a problem with the EPSG-file or the EPSG-path in the
mapfile? In mapbender, the only given choice when trying to change the
EPSG-Code for my WMS is "4326"... but it should be 31466 (as you can see in
the mapfile below)... If you need more data to analyse the problem, just
tell me and I'll provide it.
Eagerly awaiting your answers,
best regards,
Phil
So long!
Here is the mapfile (as you can see, I've already tried to fix the problem.
"init=epsg:31466" produced the error - msProcessProjection(): Projection
library error. no system list, errno: 2, as well):
MAP
NAME "Studieren_in_Bochum"
# Map image size
STATUS on
SIZE 800 600
UNITS meters
EXTENT 2579969.569440 5698881.998161 2594471.381955 5705864.352335
FONTSET "./Fonts/Fonts.txt"
SYMBOLSET "./Symbols/Symbols.txt"
SHAPEPATH "./Shapes/"
CONFIG "PROJ_LIB" "./EPSG/"
PROJECTION
#"init=epsg:31466"
"proj=tmerc"
"ellps=bessel"
"datum=potsdam"
"no_defs"
END
# Background color for the map canvas -- change as desired
IMAGECOLOR 255 255 140
IMAGEQUALITY 95
IMAGETYPE png
# Legend
LEGEND
IMAGECOLOR 255 255 255
OUTLINECOLOR 0 0 0
KEYSIZE 30 20
STATUS embed
POSITIon UR
TRANSPARENT off
END
# SCALEBAR
SCALEBAR
STATUS embed
STYLE 0
UNITS kilometers
INTERVALS 3
TRANSPARENT true
OUTLINECOLOR 0 0 0
END
# Web interface definition. only the template parameter
# is required to display a map. See MapServer documentation
WEB
# Set IMAGEPATH to the path where MapServer should
# write its output.
IMAGEPATH "./srv/www/htdocs/maptemp/"
# Set IMAGEURL to the url that points to IMAGEPATH
# as defined in your web server configuration
IMAGEURL "./maptemp/"
#Scale range at which web interface will operate
# Template and header/footer settings
# only the template parameter is required to display a map. See
MapServer documentation
#TEMPLATE template.html
METADATA
#WMS
"wms_TITLE" "WMS Studieren in Bochum"
"wms_ABSTRACT" "WMS Studieren in Bochum"
"wms_FEATURE_INFO_MIME_TYPE" "text/html"
"wms_onLINESOURCE"
"http://gis-test.geomatik.rub.de/cgi-bin/mapserv?map=/srv/www/htdocs/GIS2/Studieren_in_Bochum.map";
"wms_SRS" "EPSG:31466"
#WFS
"wfs_TITLE" "WFS Studieren in Bochum"
"wfs_ABSTRACT" "WFS Studieren in Bochum"
"wfs_onLINESOURCE"
"http://gis-test.geomatik.rub.de/cgi-bin/mapserv?map=/srv/www/htdocs/GIS2/Studieren_in_Bochum.map";
"wfs_SRS" "EPSG:31466"
END
END
LAYER
NAME "OePNVLinien"
TYPE LINE
DUMP true
EXTENT 2579969.569440 5698881.998161 2594471.381955 5705864.352335
DATA "OePNVLinien.shp"
METADATA
"wms_title" "OePNVLinien"
"wfs_title" "OePNVLinien"
"wfs_featureid" "Linie"
"gml_include_items" "all"
END
#MINSCALEDENOM 1
#MAXSCALEDENOM 10
STATUS default
TRANSPARENCY 100
#PROJECTION
#"proj=longlat"
#"ellps=WGS84"
#"datum=WGS84"
#"no_defs"
#END
CLASS
NAME "OePNV-Linien"
STYLE
WIDTH 2
COLOR 255 0 0
END
END
END
LAYER
NAME "Studentenwohnheime"
TYPE POINT
DUMP true
EXTENT 2579969.569440 5698881.998161 2594471.381955 5705864.352335
DATA "Studentenwohnheime.shp"
METADATA
"wms_title" "Studentenwohnheime"
"wfs_title" "Studentenwohnheime"
"wfs_featureid" "Point_ID"
"gml_include_items" "all"
END
#MINSCALEDENOM 1
#MAXSCALEDENOM 10
STATUS default
TRANSPARENCY 100
#PROJECTION
#"proj=longlat"
#"ellps=WGS84"
#"datum=WGS84"
#"no_defs"
#END
CLASS
NAME "Studentenwohnheime"
STYLE
SYMBOL "Studentenwohnheime"
MAXSIZE 10
END
END
END
LAYER
NAME "Sport_und_Freizeit"
TYPE POINT
DUMP true
EXTENT 2579969.569440 5698881.998161 2594471.381955 5705864.352335
DATA "Sport_und_Freizeit.shp"
METADATA
"wms_title" "Sport_und_Freizeit"
"wfs_title" "Sport_und_Freizeit"
"wfs_featureid" "Linie"
"gml_include_items" "all"
END
#MINSCALEDENOM 1
#MAXSCALEDENOM 10
STATUS default
TRANSPARENCY 100
#PROJECTION
#"proj=longlat"
#"ellps=WGS84"
#"datum=WGS84"
#"no_defs"
#END
CLASS
NAM