[mapserver-users] complex symbol

Matt McClelland matt at wildwalks.com
Sun Feb 5 17:54:11 EST 2012


Hi Sev

Yes you can.

If you can get a handle on this page
http://mapserver.org/mapfile/symbology/construction.html
You can do some pretty amazing things.

Here is what I did for cliffs
This example puts the detail to the right of the line, you can change it to
move it to the left side.

    CLASS
        EXPRESSION 'cliff'
        STYLE
          COLOR "#868f72"
          WIDTH 2
        END # STYLE
        STYLE
          COLOR "#868f72"
          SYMBOL "cliff"
          SIZE 20.0
          WIDTH 1
          #ANGLE 25
          GAP -20
        END # STYLE
    END



SYMBOL ## triangle option
  NAME "cliff"
  TYPE vector
  FILLED true
  POINTS
    0 5
    3 10
    6 5
    0 5
  END # POINTS
END # SYMBOL

SYMBOL ## line option (a little different from your, but you can do it
still)
  NAME "cliff"
  TYPE vector
  FILLED true
  POINTS
    0 5
    0 10
  END # POINTS
END # SYMBOL

Hope that helps

Matt  :)




On Mon, Feb 6, 2012 at 8:11 AM, mmypost mmypost <mmypost at yandex.ru> wrote:

> Hi!
>
> Sorry for my bad English.
> Can I to create mapserver complex line symbols like attachments?
> "Offset" and "Angle" to help create the lines for small part line without
> frequent turnings.
> Mapserver version is 5.6.6.
>
>
> Yours sincerely,
> Sev
>
> _______________________________________________
> 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/20120206/3f45b9ca/attachment.html


More information about the mapserver-users mailing list