[Mapserver-users] Timeout for wms layer
Martin Høgh
mh at svaj.dk
Thu Jul 1 02:21:28 PDT 2004
Dear List
I've posted this message
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0406/msg00759.html
earlier without much luck., so I'll try again.
I'm trying to use Mapserver as a wms client for this server
http://www.moeldrup.dk/scripts/mapserv.exe?map=d:/www/website/Ortofoto/moeldrup.map
I am administrating this server so I can alter the settings if necessary.
The problem is that when the layer from this server is requested by a
Mapserver client it will timeout. A .img.tmp of 0k file is created and
no errors from the client.
I've tested with ms3.6.6 (both php/mapscript and cgi) on linux and ms4.0
on winxp with same result
The projection for all is set to "epsg:32632". But actually the data
projected in a odd Danish system which can not be reprojected. But I
believe that an epsg or auto code must be specified.
My map-file (client)
#
# Start of map file
#
NAME Province
STATUS ON
SIZE 700 440
EXTENT -277553.292530 232924.427400 -252200.662530 251396.532600
UNITS METERS
#SHAPEPATH "../data/grundkort"
IMAGECOLOR 215 226 233
FONTSET "../etc/fonts.txt"
IMAGETYPE png
PROJECTION
"init=epsg:32632"
END
WEB
#
# On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root
# of the drive where the .MAP file resides.
#
IMAGEPATH "C:\Programmer\EasyPHP1-7\www\wms\ms_tmp\"
IMAGEURL "http://localhost/wms/ms_tmp/"
LOG "C:\Programmer\EasyPHP1-7\www\wms\map.log"
END
LAYER
NAME orto
METADATA
"wms_srs" "EPSG:32632"
"wms_connectiontimeout" "15"
END
TYPE RASTER
STATUS default
CONNECTIONTYPE WMS
CONNECTION
"http://www.moeldrup.dk/scripts/mapserv.exe?map=d:/www/website/Ortofoto/moeldrup.map&WMTVER=1.0.0&FORMAT=image/jpeg&"
END
end #mapfile
mapfile (server)
#
# Start of map file
#
NAME Moeldrup_WMS
STATUS ON
EXTENT -277553.292530 232924.427400 -252200.662530 251396.532600
UNITS METERS
#SHAPEPATH "../data/grundkort"
IMAGECOLOR 255 255 255
IMAGETYPE png
PROJECTION
"init=epsg:32632"
END
SIZE 700 440
#
# Start of web interface definition
#
# On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root
# of the drive where the .MAP file resides.
#
web
IMAGEPATH "D:\www\website\ms_tmp\"
IMAGEURL "http://http://www.moeldrup.dk/ms_tmp/"
LOG "map.log"
METADATA
"wms_title" "Møldrup ortofoto WMS server"
"wms_onlineresource"
"http://www.moeldrup.dk/scripts/mapserv.exe?map=d:/www/website/Ortofoto/moeldrup.map&WMTVER=1.0.0&"
"wms_srs" "EPSG:32632"
END
END
#
# Start of layer definitions
#
LAYER
NAME "Ortofoto"
STATUS default
TILEINDEX "KX-1569_Index.shp"
TILEITEM "location"
TYPE RASTER
PROJECTION
"init=epsg:32632"
END
END
END # Map File
Best regards
Martin
More information about the MapServer-users
mailing list