[mkgmap-dev] Exits / Service areas improvement
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Thu Jun 11 13:27:36 BST 2020
Hi I've made some improvements to "Exits" handling. The existing logic looked for tags: exit:road_ref - the highway the exit/services is on exit:to - the destination for the exit exit:facilities - what is available at the services These don't exist in OSM data. There is some processing in mkgmap to set exit:road_ref in simple circumstances. Without this being set, Exits don't work. Changes in this patch: - set exit:road_ref for highway=rest_area as well as motorway_junction and services. - do the above for motorroad, trunk and primary highways as well as motorways. - for services and rest_area, if option --link-pois-to-ways is set, handle "Ways" in a similar manner to "Nodes". - allow the point/area in above to be slightly off the road. - improve the efficiency of the setting of exit:road_ref for motorway_junction. - Change the typCode of motorway junction from 0x2100 (Exit with Services) to 0x2000 (Exit without Services) and only do if exit:road_ref is set. Also attempt to set exit:to from standard OSM tags exit_to or destination. - Change the typCode of services from 0x210f (see above) to 0x230f (Exit Service Area), do even of generated from polygon, set some facilities and show at a lower resolution. - correct the allowable ranges of the different POI subtypes. My eTrex HCx supports "Find > Exits" and shows the facility details. However the "Select Map" option for this defaults to "Use Best Maps" and this always chooses the inbuilt Basemap, even when disabled. Selecting the mkgmap generated map shows the junctions and services along the major road that the cursor is nearest. Stupidly, the map selection lists the tiles rather than the complete map, naming each tile as the --series-name, which is the same for all of them! There are stupidities with most aspect of Exits definitions and device handling of it and I can see why support seems to have been dropped on more modern devices, but maybe it works better on other devices, specifically car navigation systems. Ticker -------------- next part -------------- A non-text attachment was scrubbed... Name: exits.patch Type: text/x-patch Size: 11448 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200611/99112b84/attachment.bin>
- Previous message: [mkgmap-dev] Osmium or Splitter/mkgmap issue?
- Next message: [mkgmap-dev] Exits / Service areas improvement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list