<div dir="ltr"><div><div><div><div><div><div><br></div>hi!<br><br></div>I use custom codes (0x10e00 and such) and those lines render fine on top of any other road (I also use transparent background). Problem is in this situation:<br>
<br></div>when road in OSM is directed from left to right, trail is rendered below the road:<br><br>- - -_ _ _ - - -<br><br></div>when road in OSM is directed from righ to left, trail is rendered above the road:<br><br>___-----___<br>
<br></div><br>As road directions in OSM are mostly random, trails render either below or above roads, which looks ugly (there is a quite large gap) when one road connects with other road.<br><br></div>best regards<br><br>
Michal Rogala<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-23 16:58 GMT+02:00 Minko <span dir="ltr"><<a href="mailto:ligfietser@online.nl" target="_blank">ligfietser@online.nl</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I know what you mean,<br>
It is rendered like this: - - -_ _ _ - - -<br>
<br>
To prevent this I use a important road type like 0x02 for cycle routes.<br>
This is always rendered on top (in the centre of the road axis).<br>
You can also use 0x01. Disadvantage is that these road type must be routable.<br>
If you dont make them routable it will cause routing errors.<br>
Another way is make a separate map layer with routes that can be switched on or off.<br>
<div><div class="h5"><br>
<br>
> Hi!<br>
><br>
> I've a problem with rendering trails on my map. Trails in TYP files<br>
> are defined with transparent background and off the road axis (below<br>
> it) so they don't render on top of the real road.<br>
><br>
> But roads in OSM have pretty random direction (unless used with<br>
> oneway=yes) and trails are rendered above real roads or below it<br>
> depending of a road direction - this looks quite ugly and leaves empty<br>
> gaps on road junctions.<br>
><br>
> Is is any way to force consistent rendering of such trail regardless<br>
> of the road direction?<br>
><br>
> best regards<br>
><br>
> Michal Rogala<br>
</div></div>_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</blockquote></div><br></div>