[mapserver-users] Special characters in Mapfile?

Gregor at HostGIS gregor at hostgis.com
Tue Apr 14 17:31:32 EDT 2009


Jeff McKenna wrote:
> - wherever possible, avoid using special characters in the NAME and 
> GROUP parameters, because these might/will cause grief for OGC services

Yeah, that's the part what seems most problematic!

This isn't going to get what you want!
   LAYERS=parks&recreation&SRS=EPSG:4326

This might, or might not:
   LAYERS=parks%26recreation&SRS=EPSG:4326

I would wonder whether the name displayed in your app NEEDS to match the 
name of the layer. Is there a reason you can't have a checkbox to layer 
"parks_rec" which is labelled Parks & Recreation ?

-- 
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
Network+   Server+   A+   Security+


More information about the mapserver-users mailing list