logo separator

[mkgmap-dev] Preventing Routing Node Creation

From Steve Ratcliffe steve at parabola.me.uk on Tue Jul 19 15:46:11 BST 2011

Hi

> I would like to know if is possible in a 'routing generation' compile to
> have a command in the style 'lines' file which will prevent creation of
> routing nodes completely for a specific code for which such nodes would
> normally be created.

There are no routing nodes by default in the style language.

If you want them you have to add road_class and speed:

eg:

   highway=secondary [0xXX road_class=2 road_speed=3]

This will cause mkgmap to add the routing nodes to the map.  It may
not completely stop mapsource or a device using it particularly if
there is no other way, although on a quick test it did and only
straight line routes were drawn to the road.

..Steve



More information about the mkgmap-dev mailing list