[Mapserver-dev] polygon outlines with classified layers
Bart van den Eijnden
bartvde at xs4all.nl
Wed Nov 26 15:37:48 EST 2003
Hi developers,
I have switched to the mapserver-dev list, because it is too technical for
the user list I guess.
If I have 2 classes in my LAYER, what determines whether or not the
outline of a polygon is drawn? So I mean 1 class with outline color (class
A), and another one without outlinecolor (class B). I see in my map that
some parts of the border of class A adjacent to a class B polygon are
drawn with an outline/border, and other parts are not. This can also be
seen in this image which contains more than 2 classes:
http://www.vz.geodan.nl/users/bart/mapserver.png
Also is it possible, to only draw an outline when there is a
border/transition between two classes? If I put on outline in all of my
classes I have the problem that adjacent polygons which belong to the same
class are drawn with an outline in between. In an ideal situation I would
want only to have outline when there is a transition of classes.
Can anybody please comment on this subject? Is this kind of thing possible
with Mapserver?
Thanks in advance.
Best regards,
Bart
------- Forwarded message -------
From: Bart van den Eijnden <bartvde at xs4all.nl>
To: bartvde at xs4all.nl, mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] not always outline for polygons
Date: Wed, 26 Nov 2003 21:01:35 +0100
> Hi list,
>
> I found my problem.
>
> The problem was that I was not setting the outlinecolor for all of my
> classes in the layer, just for a few classes.
>
> Best regards,
> Bart
>
> On Wed, 26 Nov 2003 16:51:41 +0100 (CET), <bartvde at xs4all.nl> wrote:
>
>> Hi list,
>>
>> I have a problem with polygons in my map not always getting an outline.
>> I
>> use both PIXMAP (transparent) and VECTOR symbols in my layer.
>>
>> For a clearer image of what I mean, you could take a look at, this is a
>> screendump of the map:
>>
>> http://www.vz.geodan.nl/users/bart/mapserver.png
>>
>> Does anybody have an idea what could be the problem with the OUTLINE?
>>
>> Best regards,
>> Bart
>>
>> My symbol definition is:
>>
>> SYMBOL
>> NAME "lb_hoog"
>> TYPE pixmap
>> IMAGE "../htdocs/images/lb_hoog.png"
>> TRANSPARENT 0
>> END
>>
>> SYMBOL
>> NAME "hashfill_up"
>> TYPE vector
>> TRANSPARENT 0
>> POINTS
>> 0 1
>> 1 0
>> END
>> END
>>
>> The respective classes from my LAYER are:
>>
>> CLASS
>> SYMBOL "lb_hoog"
>> OUTLINECOLOR 36 133 68
>> EXPRESSION "nd_h"
>> NAME "lage bedekking Hoog"
>> COLOR 36 133 68
>> END
>>
>> CLASS
>> SYMBOL "hashfill_up"
>> OUTLINECOLOR 36 133 68
>> SIZE 8
>> EXPRESSION "c_p"
>> NAME "co-dominant Pionier"
>> COLOR 254 255 204
>> END
>> _______________________________________________
>> Mapserver-users mailing list
>> Mapserver-users at lists.gis.umn.edu
>> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>>
>
>
>
--
More information about the mapserver-dev
mailing list