[Mapserver-users] No map with Windows binary ms 4.0.2 and 4.2!
Benjamin Thelen
thelen at ccgis.de
Tue May 18 07:55:10 PDT 2004
Hello,
Every project which is running fine on FreeBSD/ms 4.0.2(!) or
Windows/ms 4.0.1 does not run on Windows/ms 4.0.2, doesn't matter if
IIS or Apache is used. Apache returns an "Internal Server Error" and a
"Premature End of Script Headers" can be found in the httpd-error.log.
I tested mapserver 4.0.1 and 4.0.2 on Windows 2003 Server/Windows 2000
Server and Windows XP with Apache and IIS with the same mapfile and
data. 4.0.1 worked fine and 4.0.2 not. Finally I tested the same data
- of course a slightly corrected mapfile - on FreeBSD with mapserver
4.0.2 successfully.
An example map-file which runs fine on FreeBSD/ms 4.0.2 and - addapted
to Windows - on Windows/ms 4.0.1 is added below!
Thanks,
Benjamin
---------------------------------
CCGIS GbR - Bonn
http://www.ccgis.de
Siemensstraße 8
53121 Bonn
Germany
Tel: ++49 (0) 228 90826 15
Fax: ++49 (0) 228 90826 11
MAP
NAME "germany_demo_shape"
STATUS ON
EXTENT 2886610 5230448 4285190 6130010 #5.88 46.6213 15 55.7187
PROJECTION
"init=epsg:31463"
END
SIZE 650 420
SHAPEPATH "/data/umn/germany_demo/shapes/"
SYMBOLSET "/data/umn/germany_demo/symbols/symbols_germany_demo.sym"
FONTSET "/data/umn/germany_demo/fonts/fonts.list"
IMAGECOLOR 255 255 255
UNITS METERS #Units mapcoordinates; für scale/scalebar Berechnungen
RESOLUTION 72 #Pixel/inch für Output (scalecomputation; def 72)
#IMAGETYPE PNG
#OUTPUTFORMAT
# NAME png
# DRIVER "GD/PNG"
# MIMETYPE "image/png"
# EXTENSION PNG
# IMAGEMODE PC256 #RGBA #oder RGB (für transparent off)
#END
WEB
MINSCALE 1
MAXSCALE 1000000000
IMAGEPATH "/data/umn/umn-www/sessions/"
IMAGEURL "http://wms1.ccgis.de/umn/sessions/"
LOG "/data/umn/log/umn.log"
METADATA
"WMS_ACCESSCONSTRAINTS" "none"
"WMS_SRS" "epsg:31463"
"WMS_ONLINERESOURCE"
"http://wms1.ccgis.de/cgi-bin/mapserv?map=/data/umn/germany_demo/germany_demo_shape.map"
"WMS_TITLE" "Germany Demo with Shapes"
"WMS_FEATURE_INFO_MIME_TYPE" "text/html"
"WMS_ABSTRACT" "germany_demo with shapes"
END
END
#---------------------------------------------------------------
LAYER
NAME "Topographie"
#GROUP "Topographie"
STATUS ON
DATA "topo_pl" #"TOPO_PL"
TYPE POLYGON
PROJECTION
"init=epsg:4326"
END
CLASSITEM "hypytype" #"HYPYTYPE"
SIZEUNITS PIXELS #Units SIZE Value CLASS Objekt
METADATA
"WMS_SRS" "epsg:4326"
"WMS_TITLE" "Topographie"
"WMS_GROUP_TITLE" "Topographie"
"WMS_FEATURE_INFO_MIME_TYPE" "text/html"
END
CLASS
NAME "Küste"
EXPRESSION /./
STYLE
SYMBOL 0
COLOR 204 253 161
END
END
END
END
More information about the MapServer-users
mailing list