class index value ?
Lowell Filak
lfilak at MEDINACO.ORG
Mon Feb 21 19:17:44 PST 2005
The following message was sent by temiz <temiz at DEPREM.GOV.TR> on Mon, 21
Feb 2005 09:53:50 +0200.
> hello
>
> how can I get class index value of any class if its expression (as
> string) is known?
>
> I mean :
> $class = $layer->getClass($formation_name);
> But what if $formation_name is a string ?
Ahmet,
I believe you will need to loop through each class in the layer with
getClass(integer) and check the class->{name}.
Lowell
More information about the MapServer-users
mailing list