[ka-Map-users] Customizing layers on KaMap
Sacha Black
sacha.black at gmail.com
Thu Dec 13 13:36:05 EST 2007
matteo,
maybe there is another way, but you can do it with a cartographic
trick... put two layers with the same data in the one group. make one
layer with transparency (and your query needs) and one with just the
OUTLINECOLOR. this should show how you want it.
to show in the legend properly you will have to use a KEYIMAGE that
you create separately.
sacha
----eg----->
LAYER
NAME "myPolygonsInternal"
GROUP "Beautiful Polygons"
TYPE POLYGON
DATA \mypathtodata\data
TRANSPARENCY 50
METADATA
"queryable" "true"
"DESCRIPTION" "Beautiful Polygons"
"RESULT_FIELDS" "NAME1"
"SEARCHFIELD" "NAME1"
"fields" "NAME1:Name"
END
CLASS
NAME 'Beautiful Polygons'
TEMPLATE "ttt_query.html"
STYLE
COLOR 255 0 255
END
KEYIMAGE 'beautiful_keyimage.jpg'
END
END
LAYER
NAME "myPolygonsOutline"
GROUP "Beautiful Polygons"
TYPE POLYGON
DATA \mypathtodata\data
CLASS
STYLE
OUTLINECOLOR 255 0 255
END
END
END
On Dec 13, 2007 9:57 AM, matteo rossi <matteo.oettam at gmail.com> wrote:
> very well! :-)
> now it works properly.
>
> it still remains the problem with TRANSPARENCY....
>
> I read what alessio told, about the opacity of both boundaries and polygon
> area.
>
> but how to manage the transparency with COLOR and OUTLINECOLOR?
> how to set (in the mapfile, of course) a transparency of xx% affecting only
> the area of my polygon layer and not its boundaries?
>
> matteo
>
>
>
> 2007/12/13, Luca Casagrande < luca.casagrande at gmail.com>:
> > matteo rossi ha scritto:
> > > Ho to set the line width for my polygon boundaries?
> > > I tried to change the "SYMBOL" number, but doing so the
> CGI-don'tknowwhat
> > > crashes....
> > >
> > >
> > You had to change the SIZE value. SYMBOL number is used to change the
> > symbol to use.
> >
> > Bye
> >
> > Luca
> >
>
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
>
More information about the ka-Map-users
mailing list