[mapserver-users] Rendering of adjacent dashed lines
Ziegler Stefan
Stefan.Ziegler at bd.so.ch
Fri Jun 17 13:47:46 PDT 2016
Hi Jukka
Yes. Seems similar to what you can do with QGIS.
Regards
Stefan
> -----Ursprüngliche Nachricht-----
> Von: Rahkonen Jukka (MML) [mailto:jukka.rahkonen at maanmittauslaitos.fi]
> Gesendet: Freitag, 17. Juni 2016 16:20
> An: Ziegler Stefan; 'mapserver-users at lists.osgeo.org'
> Betreff: Re: Rendering of adjacent dashed lines
>
> Hi,
>
> The only method that really works is to remove adjacent lines. Your trick seems to be
> the same as this https://knowledge.autodesk.com/support/autocad-map-
> 3d/troubleshooting/caas/sfdcarticles/sfdcarticles/Using-a-dashed-line-symbol-with-
> adjacent-polygons-masking.html
> but they used a wider white line. However, it feels usable only if the background is also
> white and there are no lines very close to each other.
>
> -Jukka Rahkonen-
>
>
> Ziegler Stefan 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
> stefan.ziegler at bd.so.ch
> http://www.so.ch
>
> _______________________________________________
> 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