[mkgmap-dev] splitter and options --description / --geonames-file
From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Apr 9 15:48:55 BST 2020
Hi all, sorry, I think some mails where not sent to the list. I've attached a patch that adds a number to the city name when --geonames-file is used and multiple tiles are close to that city. I fear I don't know in what situation these names are important. So, please try if this improves something. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com> Gesendet: Mittwoch, 8. April 2020 16:40 An: Development list for mkgmap; Ticker Berkin Betreff: Re: [mkgmap-dev] splitter and options --description / --geonames-file Hi Randolph, in what situation do you use these codes? I am happy with the mapids generated by splitter. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Randolph J. Herber <army.bronze.star at gmail.com> Gesendet: Mittwoch, 8. April 2020 15:13 An: Development list for mkgmap; Ticker Berkin Betreff: Re: [mkgmap-dev] splitter and options --description / --geonames-file Hi, all, The Definition of Google Plus Codes, a.k.a. Opern Location Codes, can be found at https://en.wikipedia.org/wiki/Open_Location_Code The complete code also specifies, by its length, the size of the area being described. When using them in splitter, I have never seen a tile whose code was longer than 8 characters, an area 250m east to west and 125m north to south. I use the largest OLC centered on the tile in question that fits within the tile. Randolph J. Herber On 4/8/2020 4:59 AM, Ticker Berkin wrote: > Hi Gerd > > I'd say that if the splitter is going to generate descriptions per tile > (geonames) it should generate one for each tile and, if there isn't a > centre of a city within the tile and no default description, it should > use a modified form of the nearest city to make it unique from a > possible adjacent tile that might use the same city. > > Maybe something like "GB-~Basingstoke", but no solution is ideal and > there could still be duplicates. > > The splitter could keep track of which names were have been used and, > for the ones outside the tile, added an increasing suffix number, so > would have "GB-Basingstoke-2" etc > > Ticker > > On Wed, 2020-04-08 at 08:38 +0000, Gerd Petermann wrote: >> Hi all, >> >> this is a follow up of http://gis.19327.n8.nabble.com/documentation-i >> mprovement-tp5962609p5962747.html >> >> Since I don't use these options for my maps I am unsure what is best. >> The --geonames-file option tries to find a city within the calculated >> tile. If none is found it either writes the value >> given with --description or just a comment. >> I think it would be best to always write the nearest city. >> >> Gerd >> _______________________________________________ >> mkgmap-dev mailing list >> mkgmap-dev at lists.mkgmap.org.uk >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- A non-text attachment was scrubbed... Name: geonames.patch Type: application/octet-stream Size: 3552 bytes Desc: geonames.patch URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200409/82b9f409/attachment.obj>
- Previous message: [mkgmap-dev] splitter and options --description / --geonames-file
- Next message: [mkgmap-dev] splitter and options --description / --geonames-file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list