logo separator

[mkgmap-dev] Splitting an country borders?

From Mark Burton markb at ordern.com on Wed Sep 16 09:23:15 BST 2009

> In principle, it should be quite possible to route across tiles that
> have a wiggly boundary. This could be achieved quite straightforwardly
> by the splitter tagging the boundary points so that mkgmap knows where
> they are.

The attached patch is possibly all you need in mkgmap to be able to
route across non-straight boundaries - it simply recognises nodes that
have been tagged with mkgmap:on-boundary=1. Note, that this is an
XML attribute on the node element not an OSM "tag" element. 

The splitter would have to add this tag to the last point in each way
that has been split at a tile boundary.

Completely untested but it could be worth experimenting with.

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mb-tagged-boundary-nodes-v1.patch
Type: text/x-patch
Size: 1312 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090916/2e576a97/attachment.bin 


More information about the mkgmap-dev mailing list