[mapserver-users] different stroke color for lines?
Ahmet Temiz
ahmettemiz88 at gmail.com
Tue Sep 6 00:37:24 PDT 2016
Thank you Lars,
It was great. I tried it looks OK.
One thing more:
I need upper (red) arrow indicating right and lower indicating left.
I changed offsets and anchors but arrow directions did not change.
How can I reverse the arrows' directions?
regards
On Mon, Sep 5, 2016 at 9:45 PM, <lars.schylberg at blixtmail.se> wrote:
> Ahmet,
>
> Here is an example: just run it with: shp2img -m arrow-on-line.map -o
> arrows-on-line.png
> It shows both outline and what You asked for the other day with arrows.
>
> Have fun
>
> Lars S.
>
> ========================================
> MAP # arrows-on-line.map
> IMAGETYPE png
> EXTENT 0 0 100 100
> SIZE 250 280
> IMAGECOLOR 225 225 225
>
> SYMBOL
> NAME "arrow-start"
> TYPE vector
> FILLED true
> POINTS
> 0 0.4
> 3 0.4
> 3 0
> 5 0.8
> 3 1.6
> 3 1.2
> 0 1.2
> 0 0.4
> END # POINTS
> ANCHORPOINT 0 0.5
> END
>
> LAYER # Line
> STATUS DEFAULT
> TYPE LINE
> FEATURE
> POINTS
> 20 80
> 40 85
> 60 85
> 70 80
> END # Points
> END
> CLASS ## Outline stroke
> STYLE
> COLOR 7 7 7
> WIDTH 4.0
> LINECAP ROUND
> LINEJOIN ROUND
> END
> STYLE ## Inner stroke
> COLOR 255 255 255
> WIDTH 2.5
> LINECAP BUTT
> LINEJOIN ROUND
> END
>
> STYLE ## Red arrows
> COLOR 102 0 0
> SYMBOL "arrow-start"
> SIZE 10.0
> INITIALGAP 15
> GAP -50
> OFFSET -10 -99
> END
>
> STYLE ## Green arrows
> COLOR 0 104 0
> SYMBOL "arrow-start"
> SIZE 10.0
> INITIALGAP 15
> GAP -50
> OFFSET 10 -99
> END # STYLE
> END # CLASS
> END # LAYER
> END # MAP
>
>
> ------------------------------
> -----Originalmeddelande-----
> Från: "Ahmet Temiz" <ahmettemiz88 at gmail.com>
> Till: mapserver-users <mapserver-users at lists.osgeo.org>
> Datum: 2016-09-05 19:50
> Ämne: [mapserver-users] different stroke color for lines?
>
>
> Hi,
>
> If Outlinecolor has no effect on lines, which function can be used to Give
> different stroke color for lines?
>
> Regards
>
>
> --
> Ahmet Temiz
> Jeoloji Müh.
> Afet ve Acil Durum Yönetimi Başkanlığı
> Bilgi İşlem Dairesi Başkanlığı-CBS Grubu
>
>
> ________________________
>
> Ahmet Temiz
> Geological Eng.
> Information Systems - GIS Group
> Disaster and Emergency Management
> of Presidency
>
> ------------------------------
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
> --
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
--
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Bilgi İşlem Dairesi Başkanlığı-CBS Grubu
________________________
Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160906/dac6f49a/attachment.htm>
More information about the MapServer-users
mailing list