[mkgmap-dev] Request for feature: show wrong roundabouts
From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon May 4 14:17:06 BST 2015
Hi Thorsten, I think it should be easy to report the "wrong" ones, but I am not sure what bug is causing this. I'd say the problem is in the boundaries then, and it has nothing to do with round-abouts here. The two counters are based on the result of the LocationHook which depends on the --bounds and maybe the --autofill-location option and also on --country and --country-abbr. The check works like this: For each road, the LocationHook sets the values like mkgmap:admin_level2 .. mkgmap:admin_level10 These are used in inc/address to set the mkgmap:country which in turn is used to get the drive_on rule from resources\LocatorConfig.xml When this returns a wrong result, I guess that either the LocationHook sets a wrong mkgmap:admin_level2 or the country is missing in LocatorConfig.xml. Gerd > Date: Mon, 4 May 2015 14:59:38 +0200 > From: kukuk at suse.de > To: mkgmap-dev at lists.mkgmap.org.uk > Subject: [mkgmap-dev] Request for feature: show wrong roundabouts > > > Hi, > > from time to time I see this in the log files: > > Attention: Tile contains both drive-on-left (1) and drive-on-right roads (15389) > > The one "drive-on-left" road is clearly a bug in the OSM data. > But finding that is pretty hard (I found one once by accident ...). > > I wanted to try to implement this myself, but I currently > don't see that I have the time to dig into the code myself, > that's why I write here my idea: > > Could we add an option (--x-report-wrong-direction or something > similar), and if drive-on=left or drive-on=right is set, > write the roads with the wrong direction into the log file? > If drive-on= isn't set at all or to "detect", nothing > should be written. > So, additonal to increasing the counter, write the ID at that time > to the log, too. > > Thanks, > Thorsten > > -- > Thorsten Kukuk, Senior Architect SLES & Common Code Base > SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany > GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150504/0243b78a/attachment.html>
- Previous message: [mkgmap-dev] Request for feature: show wrong roundabouts
- Next message: [mkgmap-dev] Request for feature: show wrong roundabouts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list