<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Marko,<br><br>sounds not bad. We could remove the --link-pois-to-ways option.<br>The style author can decide whether to display the barrier and<br>only those nodes with mkgmap:barrier=yes are considered <br>for routing.<br><br>Gerd<br><br><div>> Date: Mon, 11 Aug 2014 11:31:01 +0300<br>> From: marko.makela@iki.fi<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] barrier=lift_gate<br>> <br>> Hi Gerd,<br>> <br>> On Fri, Aug 08, 2014 at 10:57:38PM -0700, GerdP wrote:<br>> >Hi all,<br>> ><br>> >I noticed that the default style is a bit strange regrading barriers:<br>> ><br>> >The barrier at node<br>> >http://www.openstreetmap.org/node/1597509392#map=19/52.21425/8.81559<br>> >has an influence on routing (with --link-pois-to-ways), but it is not<br>> >displayed<br>> >in the map.<br>> ><br>> >The reason is that we use barrier=* when we evaluate the effect on routing,<br>> >but we display only specific barriers:<br>> >barrier=bollard | barrier=bus_trap | barrier=gate [0x660f resolution 24]<br>> >barrier=block | barrier=cycle_barrier | barrier=stile | barrier=kissing_gate<br>> >[0x660f resolution 24]<br>> ><br>> >I think we should display all barriers which have an effect on routing,<br>> >but I am not sure what to change in the style.<br>> ><br>> >Any suggestions?<br>> <br>> What about the following:<br>> <br>> barrier=* { set mkgmap:barrier=yes } [0x660f resolution 24]<br>> <br>> Then, change the internal processing to look for mkgmap:barrier instead <br>> of barrier. In this way, certain barriers can be ignored by style file <br>> authors.<br>> <br>>         Marko<br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                            </div></body>
</html>