Thank you Lars. It looks OK now On Tue, Sep 6, 2016 at 11:43 AM, <[email protected]> wrote:
> Hi, > > Just add ANGLE 180 in the STYLE block and the arrows will change direction. > You could experiement with the ANCHORPOINT in the symbol also to get > different look and feel for the placement of the arrows. > > Have fun. > > Lars S. > ------------------------------------------------- > STYLE ## Red arrows > COLOR 102 0 0 > SYMBOL "arrow-start" > SIZE 10.0 > INITIALGAP 15 > GAP -50 > OFFSET -10 -99 > ANGLE 180 > END > > STYLE ## Green arrows > COLOR 0 104 0 > SYMBOL "arrow-start" > SIZE 10.0 > INITIALGAP 15 > GAP -50 > OFFSET 10 -99 > ANGLE 180 > END # STYLE > > ------------------------------ > -----Originalmeddelande----- > Från: "Ahmet Temiz" <[email protected]> > Till: "Lars Schylberg" <[email protected]> > Kopia: mapserver-users <[email protected]> > Datum: 2016-09-06 09:37 > Ämne: Re: [mapserver-users] different stroke color for lines? > > > 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, <[email protected]> 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" <[email protected]> >> Till: mapserver-users <[email protected]> >> 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 >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> >> -- >> >> _______________________________________________ >> mapserver-users mailing list >> [email protected] >> 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 > > > > -- > > _______________________________________________ > mapserver-users mailing list > [email protected] > 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
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
