Hi Thomas

Here are the screenshots from QGIS:

https://sogeo.services/tmp/dashed_line_01.png
https://sogeo.services/tmp/dashed_line_02.png

The first result I can get also with MapServer. The second one is the desired 
result which I'm not able to achieve with MapSever.

Regards
Stefan 



> -----Ursprüngliche Nachricht-----
> Von: thomas bonfort [mailto:[email protected]]
> Gesendet: Freitag, 17. Juni 2016 16:41
> An: Ziegler Stefan
> Cc: [email protected]
> Betreff: Re: [mapserver-users] Rendering of adjacent dashed lines
> 
> Can you post a screenshot?
> 
> On 17 June 2016 at 16:27, Ziegler Stefan <[email protected]> wrote:
> > Then I wasn't propably clear about the problem. I can get the desired 
> > effect in
> QGIS. The line symbol is a combination of two line symbols. One is dashed, 
> one is solid.
> >
> > Regards
> > Stefan
> >
> > Sent from my iPhone
> >
> >> On 17 Jun 2016, at 16:20, thomas bonfort <[email protected]> wrote:
> >>
> >> Hi Stefan,
> >> Unfortunately no. When I said "impossible" I meant it in the general
> >> case, not for MapServer specifically.
> >> Regards,
> >> --
> >> thomas
> >>
> >>> On 17 June 2016 at 16:17, Ziegler Stefan <[email protected]> wrote:
> >>> Hi Thomas
> >>>
> >>> Would it be possible to fund such a feature?
> >>>
> >>> Stefan
> >>>
> >>> Sent from my iPhone
> >>>
> >>>> On 17 Jun 2016, at 16:05, thomas bonfort <[email protected]>
> wrote:
> >>>>
> >>>> Stefan,
> >>>> There is no trick/workaround for this aside from preprocessing your
> >>>> data to merge adjacent lines into one. In the general case what you
> >>>> are aiming for is impossible as your adjacent lines will have
> >>>> different lengths but will be using a fixed length dash pattern.
> >>>>
> >>>> --
> >>>> thomas
> >>>>
> >>>>> On 17 June 2016 at 12:38, Ziegler Stefan <[email protected]> 
> >>>>> wrote:
> >>>>> Hi
> >>>>>
> >>>>> I'm trying to render some lines with a pattern. This works and looks 
> >>>>> great as
> long as the lines are not adjacent. When the lines share a common border the 
> dashed
> lines may look ugly since one dashed line is rendered on top of the other 
> rendered
> dashed line. I tried to add a white solid line under the dashed line:
> >>>>>
> >>>>>   CLASS
> >>>>>     STYLE
> >>>>>       COLOR 255 255 255
> >>>>>       WIDTH 2
> >>>>>       LINECAP BUTT
> >>>>>     END
> >>>>>     STYLE
> >>>>>       COLOR 0 0 0
> >>>>>       WIDTH 2
> >>>>>       LINECAP BUTT
> >>>>>       PATTERN 20 4 2 4 2 4 END
> >>>>>     END
> >>>>>   END
> >>>>>
> >>>>>
> >>>>> But the behaviour is still the same. Is there a trick/workaround for 
> >>>>> this? I'm
> using MapServer 7.0.1.
> >>>>>
> >>>>> Best regards
> >>>>> Stefan Ziegler
> >>>>>
> >>>>>
> >>>>>
> >>>>> Freundliche Grüsse
> >>>>> Stefan Ziegler
> >>>>> Kantonsgeometer / Leiter Amt für Geoinformation
> >>>>>
> >>>>> Amt für Geoinformation
> >>>>> Rötistrasse 4
> >>>>> 4500 Solothurn
> >>>>>
> >>>>> Telefon +41 32 627 75 96
> >>>>> Telefax +41 32 627 75 98
> >>>>> [email protected]
> >>>>> http://www.so.ch
> >>>>>
> >>>>> _______________________________________________
> >>>>> 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

Reply via email to