[mapserver-users] Change a class name by url
Steve Lime
Steve.Lime at dnr.state.mn.us
Tue Aug 19 05:36:56 PDT 2008
Manipulation of parameters that don't go through some validation as part of parsing (e.g. most strings)
is not supported in 5.0 and 5.2. The exceptions are data and template IF datapattern and templatepattern
are set. I've realized this change is probably too limiting and intended to remedy for 5.4. Look for an RFC
on the topic soon.
Steve
>>> Jeff McKenna <jmckenna at gatewaygeomatics.com> 08/19/08 12:55 AM >>>
hmm, u might also refer to the 5.0 migration guide, in case it helps
you:
http://trac.osgeo.org/mapserver/browser/branches/branch-5-0/mapserver/MIGRATION_GUIDE.TXT
I have also seen a variation of this error:
http://lists.osgeo.org/pipermail/mapserver-users/2008-May/055877.html
--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
Jefferson Bauer wrote:
> Hello
>
> I was upgrading my
> mapserver from 4.6 to 5.2 (using MS4W v2.2.8 ) and everything was ok
> utntil i run a function that change the name of a CLASS by URL. My
> mapfile have a layer like:
>
> LAYER
>
> NAME municipio
> ...
>
> CLASS
> NAME
> "sedes"
> ...
>
> END
> END
>
> I'm using mapserver as
> CGI and to do the change in 4.6 i use this:
> &map_municipio_sedes_name=newname
>
> Now in 5.2 i read this
> article:
> http://mapserver.gis.umn.edu/docs/reference/cgi/referencemanual-all-pages
>
> So, the new way to do
> what i want must be something
> like:
> &map_layer[municipio]_class[sedes]_name=newname
> or
> &map_layer[0]_class[0]_name=newname
>
> But it's not working... I receive this error:
>
> loadClass(): Unknown identifier. Parsing error near (name):(line 1)
>
> Am i doing something
> wrong or this change is not allowed anymore?
>
> Thanks,
> Jefferson Bauer
>
>
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list