Res: [mapserver-users] Change a class name by url
Jefferson Bauer
jepibr at yahoo.com.br
Tue Aug 19 09:26:01 PDT 2008
Hi
Steve
I
receive now your answer just after send another one to Jeff.
I've
used the CGI reference manual and your RFC 31 to try a solution but
didn't realize
that's
not possible. Thanks for the answer and i'll be waiting for this new
RFC!
Jefferson
Bauer
----- Mensagem original ----
De: Steve Lime <Steve.Lime at dnr.state.mn.us>
Para: jmckenna at gatewaygeomatics.com; mapserver-users at lists.osgeo.org
Enviadas: Terça-feira, 19 de Agosto de 2008 9:36:56
Assunto: Re: [mapserver-users] Change a class name by url
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
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses
More information about the MapServer-users
mailing list