Thaks for your reply Jeff. I've used the migration guide to change the way i modify variables by URL, like setting templates in WEB or LEGEND, adding POINTS in a FEATURE, etc.
With that, my application works fine. But in some cases i need to modify the name of a class adding a number or a new text and this is the problem. In the older version it's quite simple as i wrote, but now i can't do in this new way and the error message doesn't explain too much... Did you try to do this class name change? Do you know another way to this? Jefferson Bauer ----- Mensagem original ---- De: Jeff McKenna <[EMAIL PROTECTED]> Para: [email protected] Enviadas: Terça-feira, 19 de Agosto de 2008 2:10:45 Assunto: Re: [mapserver-users] Change a class name by url 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 [email protected] 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 _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
