[mkgmap-dev] Commit r3754: lines_reordering.patch by Carlos Dávila:

2017-01-15 Thread svn commit
Version mkgmap-r3754 was committed by gerd on Sun, 15 Jan 2017 lines_reordering.patch by Carlos Dávila: - place rules for "process-exits/process-destination" before the block "Set highway names to include the reference if there is one" - fix typo in comment http://www.mkgmap.org.uk/websvn/re

Re: [mkgmap-dev] lines default style file reordering?

2017-01-15 Thread Gerd Petermann
Hi Carlos, good catch, will commit it soon. Gerd Von: mkgmap-dev im Auftrag von Carlos Dávila Gesendet: Sonntag, 15. Januar 2017 11:09:43 An: Development list for mkgmap Betreff: [mkgmap-dev] lines default style file reordering? Is there any reason to

Re: [mkgmap-dev] [Patch] "Area too small to split at " ... followed by "Too many POIs at location " error message

2017-01-15 Thread Gerd Petermann
Hi Ticker, the original intention of the useNormalSplit code was to solve a problem with two huge polygons having the same center point. At that time I tried to minimize the possibility that this code is executed in other cases. However, it seems that this is dead code since r3351 because of th

Re: [mkgmap-dev] [Patch] "Area too small to split at " ... followed by "Too many POIs at location " error message

2017-01-15 Thread Ticker Berkin
Hi Gerd Yes; however, regardless of useNormalSplit, with --order-by... the shapes need to be split into their correct area. This bit of code has always troubled me. I wasn't sure if its objective was to lessen the chance of empty subdivisions or to lessen the chance of exceeding maximum data size

Re: [mkgmap-dev] Copyright & License file reader improvements

2017-01-15 Thread Andrzej Popowski
Hi, Product Map Manager displays copyright from TDB file. Probably good opportunity to check, if creating TDB is correct too. -- Best regards, Andrzej ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinf

Re: [mkgmap-dev] How to label maps generated by mkgmap -r3742

2017-01-15 Thread Andrzej Popowski
Hi Gerd, product code is a code assigned by Garmin. I think all Garmin products get a code. For example nuvi 3760 is "006-B1101-00", City Navigator Europe is "006-D2755-xx", where xx is release number. Product code is placed in bytes 0x30-0x39 of header. It is encoded as a string of 6-bit ch

[mkgmap-dev] lines default style file reordering?

2017-01-15 Thread Carlos Dávila
Is there any reason to have "process-exits/process-destination rules" block in lines file inserted in the middle of "Set highway names to include a reference" block? It seems a bit confusing. If there's no reason for the above, attached patch fixes it and also an small typo Index: resources

Re: [mkgmap-dev] SCHWERWIEGEND (MapSplitter): Area too small to split at

2017-01-15 Thread Walter Schlögl
Hi Gerd, you are right, there is more code to add the addr for housenumber 2,3,4,6,...9,11,... mkgmap_POI_addr=* & !(addr:housenumber~'.*0' | addr:housenumber~'.*5' | addr:housenumber='1') & name!=* { add name='${mkgmap_POI_addr}' }[0x1604 resolution 24] If t

[mkgmap-dev] [Patch] "Area too small to split at " ... followed by "Too many POIs at location " error message

2017-01-15 Thread Gerd Petermann
Hi all, attached is a patch to solve this problem. A binary is here: http://files.mkgmap.org.uk/download/327/mkgmap.jar @Ticker: Please review. I've noticed that with --order-by-decreasing-area the code in MapArea to set useNormalSplit may not be used because the condition used[0] != used[1] i

Re: [mkgmap-dev] Copyright & License file reader improvements

2017-01-15 Thread Gerd Petermann
Hi Mike, I do not specify a licence info or copyright in my options file. So, I see the default settings. Maybe that is a hint that something is wrong? Gerd Von: mkgmap-dev im Auftrag von Mike Baggaley Gesendet: Sonntag, 15. Januar 2017 10:02:54 An: '

Re: [mkgmap-dev] SCHWERWIEGEND (MapSplitter): Area too small to split at

2017-01-15 Thread Gerd Petermann
Hi Walter, I tried to reproduce the error messages by adding the rule to points in the default style but (addr:housenumber~'.*0' | addr:housenumber~'.*5' | addr:housenumber='1' | addr:unit=* | addr:door=*) { name '${addr:unit}/${addr:door}' | '${addr:hou

Re: [mkgmap-dev] Copyright & License file reader improvements

2017-01-15 Thread Mike Baggaley
HI Gerd, I only see the copyright info when I click on it! Bizarre! Cheers, Mike -Original Message- From: Gerd Petermann [mailto:gpetermann_muenc...@hotmail.com] Sent: 15 January 2017 08:14 To: Development list for mkgmap Subject: Re: [mkgmap-dev] Copyright & License file reader improv

[mkgmap-dev] [Patch] set map-version in img header

2017-01-15 Thread Gerd Petermann
Hi all, the attached patch implements new option map-version: --map-version=major.minor The map version is written into the header of each *.img file at offset 8 and 9. Defailt is 0.0. Both major and minor values must be between 0 and 255 (including). Example: --map

Re: [mkgmap-dev] Copyright & License file reader improvements

2017-01-15 Thread Gerd Petermann
Hi Mike, today I noticed that MapSource and Basecamp display the licence together with the copyright info when you click on the Copyright button in the "Map Product Manager". Gerd Von: mkgmap-dev im Auftrag von Mike Baggaley Gesendet: Freitag, 6. Janu