Minimum Feature Size
Brock Anderson
banders at REFRACTIONS.NET
Fri Apr 21 10:31:35 PDT 2006
Drew,
If you have some attribute data that indicates the size or importance of
your feautres (such as 'area'), you could use that to control which
features are shown at certain scales.
For example:
LAYER
...
CLASS
#show some features
EXPRESSION ([area] > 500)
MINSCALE 500000
MAXSCALE 750000
...
END #CLASS
CLASS
#show more features
EXPRESSION ([area] > 100)
MINSCALE 250000
MAXSCALE 500000
...
END #CLASS
CLASS
#show all features
MAXSCALE 250000
...
END #CLASS
END #LAYER
Brock
Simpson wrote:
>At certain scales some of my vector features are too small to bother
>rendering, but MS draws a little blob to represent the feature.
>
>Is it possible in the mapfile to limit features to a certain minimum size?
>
>I see LABEL has MINFEATURESIZE, but don't see how to do the same with the
>feature.
>
>Thanks for any help,
>Drew.
>
>
More information about the MapServer-users
mailing list