No subject


Fri Feb 8 15:06:04 EST 2008


"Annotation means that a label point will be calculated for the features,
but the feature itself will not be drawn although a marker symbol can be
optionally drawn."

Best regards,
Bart

> Hi List,
>
> I want to draw an polygon shapefile as a pointlayer, each polygon one
> point
> in the center of it. Below my mapfile snippet. What I get is still a
> polygonlayer with a dashed outline (little red points). What's wrong?
>
> thanks!
> Richard
>
>   LAYER
>     NAME "mypolygons"
>     TYPE POINT
>     CLASSITEM mp
>     DATA mp
>     STATUS ON
>     UNITS meters
>     TEMPLATE "templates/mypolygons.html"
>     CLASS
>       STYLE
>  COLOR 255 0 0
>  OUTLINECOLOR 0 0 0
>       END
>     END
>     METADATA
>       WMS_TITLE "My polygons"
>       WMS_ABSTRACT "My polygons"
>       WMS_SRS "epsg:28992"
>     END
>   END
>



More information about the mapserver-users mailing list