[mapserver-users] Re: Dashed outline for polygon (migration to 6.0)

Havard Tveite havard.tveite at umb.no
Mon Aug 29 07:14:31 EDT 2011


The following should work with AGG (don't use SYMBOL):

################################   ODTOKLINIE_NEJ
###############################
   LAYER
      . . . .
     CLASS
       NAME "odtoková linie nejdelší (červená)"

       STYLE
         OUTLINECOLOR 255 255 0
         WIDTH 2
         PATTERN
               10 10 10 10
         END
       END

     END

  END
############################## END ODTOKLINIE_NEJ

Håvard

On 8/29/2011 9:33 AM, Petra Pietrasová wrote:
> Thank you for your answer. Anyway I have a with the polygon layer. We need
> DASHED OUTLINE in the polygon layer. I have tried your example in our layer
> (I have changed COLOR on OUTLINECOLOR) but dashed outline doesn't work.
>
>
> We are using this as outputformat:
>    OUTPUTFORMAT
>      NAME "AGG_Q"
>      DRIVER AGG/PNG
>      IMAGEMODE RGBA
>      EXTENSION "png"
>      MIMETYPE "image/png"
>      FORMATOPTION "QUANTIZE_FORCE=ON"
>      FORMATOPTION "QUANTIZE_DITHER=OFF"
>      FORMATOPTION "QUANTIZE_COLORS=128"
>    END


More information about the mapserver-users mailing list