[mapserver-users] How do I make a shapefile polygon thicker within UMN Mapserver
Dean Gadoury
deangadoury at gmail.com
Thu May 8 10:26:02 PDT 2008
Oops. Sorry about that. Hit send by accident.
LAYER
NAME stlouisxdrive
GROUP "gv:stlouisxdrive"
PROJECTION
"init=epsg:26915"
END
TYPE LINE
DATA "C:/TEMP/64Resolution"
STATUS ON
CLASS
STYLE
COLOR 255 0 0
WIDTH 2
END
END
END
If you are using Mapserver 5.x this will work. If you are using an older
version, you will need to use the method another user suggested using the
circle symbol.
Dean
On Thu, May 8, 2008 at 1:23 PM, Dean Gadoury <deangadoury at gmail.com> wrote:
> I don't think you can change the thickness of a polygon's outline. You may
> have to draw the layer twice, once as TYPE POLYGON, then again ad TYPE LINE.
> MapServer actually allows you to draw polygon features as lines. With line
> layers you can change the thickness of features.
>
> Your second layer could be done like this:
>
> LAYER
> NAME stlouisxdrive
> GROUP "gv:stlouisxdrive"
> PROJECTION
> "init=epsg:26915"
> END
>
> TYPE LINE
>
> DATA "C:/TEMP/64Resolution"
>
> STATUS ON
> CLASS
> STYLE
> COLOR 255 0 0
> END
> END
>
> On Thu, May 8, 2008 at 1:09 PM, John Mitchell <mitchelljj98 at gmail.com>
> wrote:
>
>> Hi,
>>
>> How do I make a shapefile polygon thicker within UMN Mapserver?
>>
>> I have listed below the layer that correctly displays the outlines
>> contained within the shapefile, but I can't figure out how to make the
>> polygon outlines thicker.
>>
>>
>> LAYER
>> # name of layer
>> NAME stlouisxdrive
>> GROUP "gv:stlouisxdrive"
>>
>> PROJECTION
>> "init=epsg:26915"
>> END
>>
>> # what type of data is this?
>> TYPE POLYGON
>>
>> DATA "C:/TEMP/64Resolution"
>>
>> # always returned with interface
>> STATUS ON
>>
>> CLASS
>> OUTLINECOLOR 255 0 0
>> END
>> END
>>
>>
>> --
>> John J. Mitchell
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080508/62e573c0/attachment.htm>
More information about the MapServer-users
mailing list