Remove small polygons
Leonardo Andrade
leonardo at NOVAGEO.PT
Mon Aug 20 07:22:18 PDT 2007
Hi,
IMHO, I think the most efficient way is to solve your problem is as
follows:
1. export the data table do postgis (or another spatial db)
2. create another database table with only the largest polygons derived
from the original table
3. in the mapfile, create different classes for each table appearing on
diferent scales using the MINSCALE and MAXSCALE tags.
Leonardo Andrade
Novageo Solutions
Thomas Z. wrote:
> Hi List,
>
> I hope someone can help me.
> I have a town layer with lot of polygons but there is no information inside
> how big are the polygons.
> There is the town name and a part of information.
> Is there a way to tell the mapserver to draw only polygons they are bigger then
> 5x5 pixel, or the area is bigger then 25 pixel ?
>
> best regards
> Thomas
>
>
More information about the MapServer-users
mailing list