logo separator

[mkgmap-dev] Re: my map testing

From Alexander Atanasov aatanasov at gmail.com on Thu Dec 11 17:58:41 GMT 2008


Not even compile tested but ...
Try to check if the road comes from level0

Do not increase bmlen if the starting point is not a node.
It represents the count of nodes, not their locations in the line
and nnodes is set to the real count from the reader.

I don't know how this is handled:
  R1                           R1
                       | R2

If R1 is the first segment it can be split in two and have bmlen=2 and
01 10 bitmaps.

If it's not the first segment starting point is a node depending on
the last point from the previous segment.

So extend the nodes count only for roads with one node which is not
the starting one, i don't see how to find the segments.

have fun,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: checkl0.diff
Type: application/octet-stream
Size: 668 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20081211/e5d155c4/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rdsn.diff
Type: application/octet-stream
Size: 803 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20081211/e5d155c4/attachment-0001.obj 

More information about the mkgmap-dev mailing list