[mapserver-users] Change a class name by url

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue Aug 19 01:10:45 EDT 2008


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
> 
>



More information about the mapserver-users mailing list