Mapfile WMS connection string parsing problem for layer names with dots/periods (".")

Daniel Morissette dmorissette at MAPGEARS.COM
Wed Jan 3 06:36:34 PST 2007


Just looking at the error message it's not obvious what is really 
happening. Could you share your full layer definition from the mapfile? 
Also, which version of MapServer are you using?

Daniel


Havard Tveite wrote:
> I am experiencing problems with a WMS connections where
> layer names contain dots/periods (".").
> Whenever a layer name with a "." appears in the "LAYERS"
> parameter of the WMS connection string, mapserver has
> trouble parsing the connection string.
> 
>  From the Mapserver log (connect string is: 
> "http://wms.server.org/wms_test?VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&TEST.TEST&STYLES=&FORMAT=image/png"): 
> 
> msOWSParseVersionString(): WMS server error. Invalid version 
> (1.1.1&SERVICE=WMS&REQUEST=GetMap&TEST.TEST&STYLES=&FORMAT=image/png). 
> OWS version must be in the format 'x.y' or 'x.y.z' <br>
> 
> If I remove the "." no parsing errors occur.
> 
> Are periods/dots (".") allowed in WMS Layer Name?
> If so, is this a bug?
> 


-- 
Daniel Morissette
http://www.mapgears.com/



More information about the MapServer-users mailing list