Hi I am trying to change the value of a class expression using the cgi
command line in v5.0.2 and I cannot effect the change.

 

Layer Defn:

      LAYER

            NAME "EOMapID"

            TYPE POLYGON

            STATUS OFF

            DATA "..\ExplorOz\EO_Maps"

            CLASSITEM "ID"

            CLASS

                  NAME "Area covered by map"

                  STYLE

                        SYMBOL 21

                        SIZE 2

                        OUTLINECOLOR 0 0 0

                        COLOR 156 156 156

                  END

                  TEMPLATE "..\Templates/EO_Treks.html"

            END         

            HEADER "..\Templates\EO_Treks_header.html"

            FOOTER "..\Templates\EO_Treks_footer.html"

            TOLERANCE 2

      END

 

Using the following command all do not work:

&map.layer[EOMapID].class[0]=expression+'935'

&map.layer[EOMapID].class=expression+'935'

&map.layer[EOMapID].class[0].style[0]=expression+'935'

&map.layer[EOMapID]=class+expression+'935'

 

Most of these return the following error:

loadClass(): Unknown identifier. Parsing error near (expression):(line
1)

 

I even added EXPRESSION /./ in the map file to ensure the line existed
and still the same errors. I then just to be sure added EXPRESSION '935'
and it worked perfectly.

 

Can someone point me in the right direction - this should be simple.....

Regards
David Martin
Managing Director
I.T. Beyond Pty Ltd

Postal:

PO BOX 967
HILLARYS WA 6923

Ph:

(08) 9403 3737 

Mobile:

0417 677 275 

Fax:

(08) 9403 3738

Skype:

itbeyond_david

________________________________

Check out our websites: www.ExplorOz.com <http://www.exploroz.com/>  and
www.itbeyond.com.au <http://www.itbeyond.com.au/> 

________________________________

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to