[mapserver-users] HI EVERYONE

Jeff McKenna jmckenna at gatewaygeomatics.com
Mon Apr 16 13:05:52 EDT 2012


On 12-04-16 5:21 AM, Özgür Arslan wrote:
> Hi everyone ,
> 
> I have a problem with this three layers. The problem is when I run the
> layers Copper and silver are only giving the gold locations and
> information. I couldn't figure out the problem. Can someone please help
> me about issue? Also do my class items correct? Maybe class items are
> the problems. Help please!
> 

Hello,

I took a quick glance at your example LAYERS, and I see several bad
things (multiple CLASSITEM declarations for a single layer, multiple
EXPRESSION lines for a single class); you might want to review the
MapServer expressions document
(http://www.mapserver.org/mapfile/expressions.html).   In general, if I
was in your shoes, I might use the LAYER parameter FILTER (see "filter"
parameter at http://www.mapserver.org/mapfile/layer.html) to handle your
gold/silver/copper filtering, and then use a single CLASSITEM and
EXPRESSION in your class for that other filtering.

-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the mapserver-users mailing list