display polygons with transparent fill color {Scanned} {Scanned}
Siki Zoltan
siki at AGT.BME.HU
Sun Nov 14 05:10:21 PST 2004
Hi,
Define layer type POLYGON and give
OUTLINECOLOR any color you want
COLOR -1 -1 -1
in the class part.
Color -1 -1 -1 means no fill color
Labels will be places inside the polygon.
If you would like to display labels at the centroid, add a new point
layer using the polygon shape with the annotation, that case you get the
labels at the centroid of the polygons.
Bye
Zoltan
On Sat, 13 Nov 2004, Dylan Beaudette wrote:
> greetings!
>
> I have some polygon data that i would like to overlay on top of some DOQQ
> data. if i define the polygon data as a LINE, i can see the outlines of the
> polygons on top of the DOQQ... However, when i label the polygons, the labels
> are applied on top of the outlines, and not in the center of the polygons.
> this makes since, as i have defined the polygons as lines...
>
> my question- is there anyway to label a line as if it were a polygon (i.e. at
> its center)?
>
> or, better yet - can i define polygon data with an invisible fillcolor, so
> that only its outlines are displayed, and labels are placed in the center of
> the features?
>
> many thanks,
>
> --
> Dylan Beaudette
> Soil Science Graduate Group
> University of California at Davis
>
More information about the MapServer-users
mailing list