Re: [mkgmap-dev] new branch country-borders
Hi Gerd, yes, there are messages like this: SEVERE (WrongAngleFixer): pbf\be\71282723.osm.pbf: country boundary node is replaced by node with non-equal coordinates at http://www.openstreetmap.org/?mlat=50.920098=2.593385=17 SEVERE (WrongAngleFixer): pbf\be\71282721.osm.pbf: country boundary node is replaced by node with non-equal coordinates at http://www.openstreetmap.org/?mlat=51.257172=4.086521=17 I don't know, how it influence routing. We should check in GPS too. > My understanding was that you would create different gmapsupp for each > coountry, with different FID etc. Yes, the idea is that even maps created by different authors would get matching external nodes. But you won't be able to test routing with multiple maps on PC. My test actually creates 3 different maps, but install them as a single item on PC. -- Best regards, Andrzej ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] new branch country-borders
hi Andrzej, thanks for the script and for testing. Did you see error messages from WrongAngleFixer? If yes, I would not be surprised when routing is poor at those places. My understanding was that you would create different gmapsupp for each coountry, with different FID etc. and want to route between them. Do you think this will also work? Gerd Von: mkgmap-dev im Auftrag von Andrzej Popowski Gesendet: Mittwoch, 18. Juli 2018 12:43 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] new branch country-borders Hi Gerd, I have attached a script for creating a test map. It is Benelux, but created from 3 separate countries. It works like 3 separate map. You need 3 extracts form geofabrik.de. You should correct paths to data and tools in scripts. The result of your algorithm is promising. There is easy routing between countries in Mapsource. BaseCamp has problems, but still can calculate some routes. There is no good routing with standard mkgmap. -- Best regards, Andrzej ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] routing between different maps
Hi Gerd, > I am not yet sure what to do with roads that share multiple nodes with > country borders. I guess, some optimization would be beneficial. This is probably a case, where road goes along a border. If there is a series of consecutive external nodes, you could leave only first, last and nodes which are junctions. This probably should be done at later stages of compilation. Or maybe first and last would be enough? I mean, at a junction there should be an external node added for the second road. -- Best regards, Andrzej ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Re: [mkgmap-dev] new branch country-borders
Hi Gerd, I have attached a script for creating a test map. It is Benelux, but created from 3 separate countries. It works like 3 separate map. You need 3 extracts form geofabrik.de. You should correct paths to data and tools in scripts. The result of your algorithm is promising. There is easy routing between countries in Mapsource. BaseCamp has problems, but still can calculate some routes. There is no good routing with standard mkgmap. -- Best regards, Andrzej <> ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
[mkgmap-dev] new branch country-borders
Hi all, I've started this new branch to test code that adds external routing nodes for admin_level=2 borders, r4200 seems to do something useful. The code in WrongAngleFixer prints some error messages, I am not yet sure how to handle the new info in this routine. Performance is poor, but can be improved once that we know that this really helps. The current code is executed before style rules for lines are applied, it adds nodes to all ways with highway=* I am not yet sure where exectly this should be done, probably I will move parts of the code so that this happens later in the data flow. @Andrzej: I did not test if it helps in your case because I don't know for sure in which scenario this can be used. It would be great if you could create a small test set for me. Gerd ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev