<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi Steve,<br><br>maybe you can help me with that? I seem to have no img file<br>with an example.<br><br>I guess we have to <br>1) add a flag to RouteNode which says whether or not the node is used<br>for routing. A RouteNode for housenumbers will have arcs <br>like a normal one, but they are only used to allow placing the<br>housenumber infos. <br><br>2) change RoadDef.writeNod2()<br>to create the bitstream using this flag.<br>3) What happens with the complex<br>routing routines in RouteNode, e.g.<br>addArcsToMajorRoads() ?<br><br>Do we have to add arcs to the "housenumber nodes" ?<br><br>4) In StyledConverter I see a call <br>road.setStartsWithNode(nodeIndices.get(0) == 0);<br>which seems to always set the bit to true.<br>The code in RoadHelper may be work different.<br>Do you have an example that explains this?<br><br>Attached patch shows how I intend to implement the random<br>housenumbers, it doesn't do anything useful yet.<br>Maybe you can tell me if I am on the right way?<br><br>Gerd<br><br><div>> Date: Mon, 22 Dec 2014 10:17:27 +0000<br>> From: steve@parabola.me.uk<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] random housenumbers<br>> <br>> Hi Gerd<br>> <br>> > how can I make sure that Garmin programs do not try to<br>> > interpolate housenumbers for places where this is not<br>> > wanted?<br>> ><br>> > Is it possible that there is another attribute besides<br>> > ODD,EVEN,BOTH ?<br>> <br>> No, you just have a range consisting of the one number to that same <br>> number. eg E,42,42.<br>> <br>> If there are several random numbers on a segment of road then you<br>> would have to introduce new flagged nodes at appropriate places along<br>> the road.<br>> <br>> By flagged node I mean that it has what we call the extra-bit set.<br>> See LinePreparer. Currently I believe that we only set this bit<br>> on road junction nodes, but it can be set on any point in the road.<br>> Unfortunately there may be assumptions in the routing code about usage<br>> of the extra bit, since we didn't know that until house numbers. The<br>> house number code should be OK in that respect though.<br>> <br>> Also when adding extra nodes along the road you would have to be<br>> careful that they are not removed by any of the simplifying filters.<br>> <br>> ..Steve<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>
                                           </div></body>
</html>