I suppose if you were using a RDBMS you could do a sub-select in the data statement. Other idea would be to chain a query with a map draw. That is, do a query to identify 'red fern' and then use attributes from it to parameterize a map draw by passing in the area via runtime substitution.
Steve On Wednesday, September 21, 2011, jjwang <[email protected]> wrote: > Is there any way to get an attribute value of a specific shape in the > mapfile? > For example: > I want to know the value of the attribute 'AREA' of a shape whose 'NAME' is > 'REDFERN'. > So that I can use it in the EXPRESSION like this: > CLASS > EXPRESSION ([AREA] > [the area value of shape whose name is 'redfern']) > ... > END > > JJ > > -- > View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-can-i-get-an-attribute-value-of-a-specific-shape-in-the-mapfile-tp6815042p6815042.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
