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

Brent Fraser bfraser at geoanalytic.com
Fri Aug 26 13:12:45 EDT 2011


Perta,

   I use the following for dashed lines with v6 (AGG/PNG output)

   SYMBOL
     NAME 'dashed5'
     TYPE SIMPLE
   END

   LAYER # Trails

     TYPE LINE

     CLASS
        NAME 'Trails'
       STYLE
          SYMBOL "dashed5"
          PATTERN 5 5 END
          WIDTH 1
          COLOR 80 80 80
       END
     END

   END

Best Regards,
Brent Fraser


On 8/26/2011 7:00 AM, Petra Pietrasová wrote:
> Hi all,
>
> our mapserver is beeing migrated from version 5.6 (5.6.6) to version 6.0
> (6.0.1).
> We have used "Migration Guide" for it.
> We have a problem with a polygon layer specifically with outline. We use
> dashed outline for this layer in the version 5.6.
> But in the version 6.0, we are not doing well with dashed symbol. We have
> tried everything but the outline is still simple  not dashed.
>
> Can you help us? We don't know if this is a problem of new version or we are
> doing something in the wrong way.
>
> Thanks for your answer.
>
> Petra P.
>
>
>
>
> version 5.6
>
> ############# SYMBOL #################
> SYMBOL
>    NAME "LINE12"
>    TYPE ELLIPSE
>    POINTS
>      1 1
>    END
>    STYLE
>          10 10 10 10
>    END
> END
> ############## SYMBOL ################
>
>
>
> ################################   ODTOKLINIE_NEJ
> ###############################
>    LAYER
>       . . . .
>      CLASS
>       NAME "odtoková linie nejdelší (červená)"
>
>        STYLE
>          SYMBOL "LINE12"
>          COLOR 255 255 0
>          WIDTH 2
>        END
>
>      END
>
>   END
> ############################## END ODTOKLINIE_NEJ
> ###############################
>
>
>
>
> version 6.0
>
> ############# SYMBOL #################
> SYMBOL
>    NAME "LINE12"
>    TYPE ELLIPSE
>    POINTS
>      1 1
>    END
> END
> ############## SYMBOL ################
>
>
>
> ################################   ODTOKLINIE_NEJ
> ###############################
>    LAYER
>       . . . .
>      CLASS
>       NAME "odtoková linie nejdelší (červená)"
>
>        STYLE
>          SYMBOL "LINE12"
>          COLOR 255 255 0
>          WIDTH 2
>          PATTERN
>                10 10 10 10
>          END
>        END
>
>      END
>
>   END
> ############################## END ODTOKLINIE_NEJ
> ###############################
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Dashed-outline-for-polygon-migration-to-6-0-tp6728657p6728657.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the mapserver-users mailing list