AW: [UMN_MAPSERVER-USERS] How to set line width for a polygon layer.

Arnd Wippermann arndw at WTAL.DE
Wed Sep 13 17:19:27 PDT 2006


Hello HTH.,

This should also work

   CLASS
    NAME 'Regierungsbezirke'
    EXPRESSION /./
    OUTLINECOLOR 255 0 0
    SYMBOL 'W045'
    SIZE 1
    OVERLAYSYMBOL 'Circle'
    OVERLAYOUTLINECOLOR 255 0 0 #here is the trick - will force outline
    OVERLAYSIZE 2
  END

Mit freundlichen Grüssen

Arnd Wippermann
http://gis.ibbeck.de/pinguinale/ 

-----Ursprüngliche Nachricht-----
Von: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] Im
Auftrag von Luca Manganelli
Gesendet: Mittwoch, 13. September 2006 15:33
An: MAPSERVER-USERS at LISTS.UMN.EDU
Betreff: [UMN_MAPSERVER-USERS] How to set line width for a polygon layer.

Hi,

I have a poligon layer. I want it to be filled empty and to have a line with
3 pixels in width.

The FAQ:

http://mapserver.gis.umn.edu/docs/faq/linewidth

didn't work for me. At least, it works only with line layers, not for
polygons.

Here's my solution:


	LAYER
		NAME "blabla"
		DATA "blabla"
		TYPE POLYGON
		STATUS OFF
		TEMPLATE void
		CLASS
			NAME "blabla"
			SIZE 3
			STYLE
				SYMBOL 'solid'
				OUTLINECOLOR 255 0 0
			END
		END
	END

HTH.



More information about the MapServer-users mailing list