[Mapserver-users] WMS server issues

Doug Cates doug at moximedia.com
Sat May 3 09:14:03 PDT 2003


Hi,

I've encountered a couple of problems using MapServer as a WMS server. I
couldn't get the bugzilla to work for me, so here they are here.

1. Commas in layer names

I've been accessing a remote French MapServer site that uses commas in the
layer names like "pe_7,5m", which indicate that the layer is at 1:7.5
million (the comma is the decimal character). Even when requesting the
layers in an encoded way (like
LAYERS=rec_7%2C5m,pe_7%2C5m,hydro_7%2C5m ...), the layers are not included
in the GetMap image that is returned. Although it is not necessary for
people to name their layers this way, MapServer should deal with this if
they do.

2. Invalid XML in application/vnd.ogc.gml GetFeatureInfo response.

When requested this way (layer must be defined as DUMP true in order for
this to work), the resulting XML response can be invalid if the fields
contain certain text. MapServer should automatically convert special
characters (&,",') to &, " and ' that are found in field
values to ensure a valid XML response.

Doug
--
Doug Cates
Moxi Media Inc.
757 - 1641 Lonsdale Avenue,
Vancouver, BC, Canada V7M 2J5
Phone:  604-984-8109
Fax:    604-608-4764
E-Mail: doug at moximedia.com
Web:    www.moximedia.com






More information about the MapServer-users mailing list