[mapserver-users] [Cluster:FeatureCount] is string?
Jörg Thomsen
jt at mapmedia.de
Fri Sep 13 04:25:10 PDT 2013
Hi,
I wonder if the [Cluster:FeatureCount] value is a string?
I have a mapfile with three classes like
> EXPRESSION "1"
> EXPRESSION (("[Cluster:FeatureCount]" > "1") and ("[Cluster:FeatureCount]" < "51")
> EXPRESSION ("[Cluster:FeatureCount]" > "50" )
As result I get mixed symbols, each feature that has a
cluster:featurecount beginning with 2,3,4,or 5 is symbololized with the
styel of the 2nd class (even 101 or 455) and each feature that has a
cluster:featurecount beginning with 6,7,8,or 9 is symbololized with the
styel of the 3. class (even 7 or 9).
An Expression like
> EXPRESSION ("[Cluster:FeatureCount]" > 50 )
(no quotes) does not work.
For a better understanding, here is the resulting image:
http://mapmedia.de/tmp/mapserv.png)
Furthermore it is not posible to calculate with it, sth. like
> SIZE [Cluster:FeatureCount] / 10
does not work.
Thats why I think mapserver treats featurecount as string.
Or am I doing it wrong?
Jörg
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Aufwind durch Wissen!
Qualifizierte Open Source Schulungen bei der
http://www.foss-akademie.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_________________________________________________
MapMedia
Kartographie und raumbezogene Informationssysteme
Gillweg 3, 14193 Berlin
fon: +49 30 89 06 82-70
fax: +49 30 89 09 53-21
mail: jt at mapmedia.de
net: www.mapmedia.de
_________________________________________________
Geschäftsführer: G. v. Tschirnhaus, J. Thomsen, P. Stamm
Registergericht, Berlin - Amtsgericht Charlottenburg,
HRB 89625, Umsatzsteuer-Identnummer: DE 813794062
More information about the MapServer-users
mailing list