[maplab-users] wms server problems[Scanned for Viruses and Spam]

joanne cook j.cook at oxfordarch.co.uk
Fri Dec 3 11:52:27 EST 2004


Hi William,
 
I think I have removed that as a possibility by following the mapserver wms server docs and adding a line to my apache configuration file so I don't have to use the spaces in my connection url. Then I got a whole new set of messages about various wms parameters that I hadn't included, so I've included them. Now I don't get any error messages, but I still don't get the option to add my layer from the data store window.
 
Any further thoughts?
 
Thanks for your help
 
Jo
-------------------------------------------
Joanne Cook
Oxford Archaeology North
-------------------------------------------

________________________________

From: William Bronsema [mailto:wbronsema at dmsolutions.ca]
Sent: Wed 01/12/2004 14:07
To: joanne cook
Cc: maplab-users at maptools.org
Subject: Re: [maplab-users] wms server problems[Scanned for Viruses and Spam]



Hi Joanne,

The first thing that jumped out at me was the use of "C:/Program Files".
  The space in the name might be causing the problem.  Try using a path
that does not contain a space.

Regards,
Bill

joanne cook wrote:
> Hi List,
> 
> I am trying to set up a test wms server with one layer in it, and have tested it with GetCapabilities and GetMap directly in the address bar of my browser, and it seems to work. However, when I use MapBrowser and try to connect to the server I get two things happening: The first is that the Manage Servers window returns the following error:
> 
> Building server list....OK
> The following errors occurred:
> 1) Parse returned 1
> 2) The output was:
> 3) An error occurred parsing capabilities.
> 4) Parse returned 1
> 5) The output was:
> 6) An error occurred parsing capabilities.
> 7) Parse returned 1
> 8) The output was:
> 9) An error occurred parsing capabilities.
> 10) Parse returned 1
> 11) The output was:
> 12) An error occurred parsing capabilities.
> 13) Parse returned 1
> 14) The output was:
> 15) An error occurred parsing capabilities.
> *** Execution complete - Errors Occurred ***
>
> The second is that my server name appears in the Data Store window but there is no drill-down button to select the layer. The url that I am using to connect is:
> 
> http://pc242-lancs/cgi-bin/mapserv.exe?map=C:/Program <http://pc242-lancs/cgi-bin/mapserv.exe?map=C:/Program>  Files/Apache Group/Apache2/htdocs/maplab-2.2/OS_Coverage/Sites3.map&
> 
> I attach my mapfile below
> 
> MAP
>   NAME "WMS Demo"
>   STATUS ON
>   EXTENT -299000 0 999000 1300000
>   SIZE 400 400
>   SHAPEPATH "./data"
>   SYMBOLSET "./symbols35.sym"
>   FONTSET "./fonts/fonts.txt"
>   IMAGETYPE JPEG
>   IMAGECOLOR 255 255 255
>   UNITS METERS
>   DEBUG ON
>   WEB
>     IMAGEPATH "C:/Program Files/Apache Group/Apache2/htdocs/tmp/ms_tmp/"
>     IMAGEURL "/tmp/ms_tmp/"
>     TEMPLATE "map.html"
>     LOG "C:/Program Files/Apache Group/Apache2/htdocs/tmp/mapserv.log"
>     METADATA
>       "WMS_SRS"    "EPSG:27700"
>    "WMS_ONLINERESOURCE"    "http://pc242-lancs/cgi-bin/mapserv.exe?map=C:/Program <http://pc242-lancs/cgi-bin/mapserv.exe?map=C:/Program>  Files/Apache Group/Apache2/htdocs/maplab-2.2/OS_Coverage/Sites3.map&"
>       "WMS_ABSTRACT"    "Locations of CAU/CAL events, as plotted in Carlisle Archives Project Stage One"
>       "WMS_FORMAT"    "image/jpeg"
>       "WMS_ACCESSCONSTRAINTS"    "none"
>       "WMS_TITLE"    "CAU/CAL Trench Locations"
>     END
>   END
>   PROJECTION
>     "init=epsg:27700"
>   END
>   LAYER
>     NAME "CALtrenches"
>     STATUS ON
>     DATA "trenchlocfinal"
>     TYPE POLYGON
>     UNITS METERS
>     SIZEUNITS PIXELS
>     TOLERANCE 1
>     TOLERANCEUNITS PIXELS
>     DEBUG ON
>     METADATA
>       "WMS_SRS"    "EPSG:27700"
>       "WMS_TITLE"    "CALtrenches"
>     END
>     PROJECTION
>       "init=epsg:27700"
>     END
>     CLASS
>       NAME "CALtrenches"
>       STYLE
>         SYMBOL 0
>         COLOR 154 213 154
>       END
>     END
>   END
> END
> 
> Am I missing somthing very simple and obvious about creating wms maps?
> 
> Thanks in advance
> 
> Jo
> -------------------------------------------
> Joanne Cook
> Oxford Archaeology North
> -------------------------------------------
>
> _______________________________________________
> Maplab-users mailing list
> Maplab-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-users
>
>

--

William A. Bronsema, C.E.T.
Software & Applications Development,
DM Solutions Group Inc.

e-mail: wbronsema at dmsolutions.ca
Web   : http://www.dmsolutions.ca
Phone : (613) 565-5056 ext.25
Fax   : (613) 565-0925
________________________________________________






More information about the Maplab-users mailing list