logo separator

[mkgmap-dev] Commit: r676: Route is now active with a small test .mp file.

From Steve Ratcliffe steve at parabola.demon.co.uk on Mon Aug 25 20:55:20 BST 2008

I realise that no one reads this list, but for anyone that reads the

> Route is now active with a small test .mp file.

1. The input must be in polish .mp format
2. The file must be very small, say less than 50 roads
3. Use the flags --route --tdbfile --tdb-v4

I've only tested it with a single very small file with about 3 roads, so
you may not have any luck with random files.

There are many limitations there but I think we know enough to create full
maps and it is just a matter of coding it up with some trial and error.

The rough steps that are needed are:

1. Make it work with a .osm input file.  This should be a matter of looking
at how the osm to .mp converters work and doing something similar.

2. The roads need to be split into smaller areas, this shouldn't be too
difficult as similar things are done already inside mkgmap.  You should
then be able to do a full map, but each area would be an island.  To get
routes from area to area you need to add records the routing section that
link between areas.

3. Routing between tiles in a map set.  There is a section where you need
to list all the nodes on the boundaries of the map.  I don't know if that is
all you have to do (and make sure that there are matching nodes in the
adjacent map) or if there is any else involved.


More information about the mkgmap-dev mailing list