[mkgmap-dev] Commit r4919: Avoid possible integer overflow in blocksize calculation when gmapsupp contains large number of tiles

2024-04-04 Thread svn commit
Version mkgmap-r4919 was committed by gerd on Thu, 04 Apr 2024 Avoid possible integer overflow in blocksize calculation when gmapsupp contains large number of tiles http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4919 ___ mkgmap-dev

[mkgmap-dev] Commit r4918: add surface=chipseal to group of surfaces which means paved

2024-03-05 Thread svn commit
Version mkgmap-r4918 was committed by gerd on Wed, 06 Mar 2024 add surface=chipseal to group of surfaces which means paved Patch chipseal.diff by Carlos Dávila http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4918 ___ mkgmap-dev mailing

[mkgmap-dev] Commit r4917: fix typos in documentation: $LONG_DATE$ -> $LONGDATE$, $SHORT_DATE$ -> $SHORTDATE$

2024-02-18 Thread svn commit
Version mkgmap-r4917 was committed by gerd on Sun, 18 Feb 2024 fix typos in documentation: $LONG_DATE$ -> $LONGDATE$, $SHORT_DATE$ -> $SHORTDATE$ http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4917 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4916: sortResource_v3.patch (with updated date in comment) by Ticker Berkin

2023-10-13 Thread svn commit
Version mkgmap-r4916 was committed by gerd on Fri, 13 Oct 2023 sortResource_v3.patch (with updated date in comment) by Ticker Berkin "Last year it was reported that string ordering with the '#' character was incorrect. This was because, in the sort/cp*.txt files, the relevant line with the '#'

[mkgmap-dev] Commit r4915: Polish format (*.mp) Don't crash with NullPointerException when a contour line has no label

2023-10-11 Thread svn commit
Version mkgmap-r4915 was committed by gerd on Wed, 11 Oct 2023 Polish format (*.mp) Don't crash with NullPointerException when a contour line has no label This is a quick hack to restore the old behaviour before r4907. http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4915

[mkgmap-dev] Commit r4914: no_hp-overflow_v2.patch by Ticker Berkin (with modified javadoc and updated unit tests):

2023-10-07 Thread svn commit
Version mkgmap-r4914 was committed by gerd on Sun, 08 Oct 2023 no_hp-overflow_v2.patch by Ticker Berkin (with modified javadoc and updated unit tests): Improve conversion between degrees and mapunit or high precision values. This fixes spurious artifacts (gaps or zig-zagging) and typically

[mkgmap-dev] Commit r4913: adapt test values to reflect recent changes. RGN sizes decreesed a bit with the changes in r4909

2023-10-07 Thread svn commit
Version mkgmap-r4913 was committed by gerd on Sat, 07 Oct 2023 adapt test values to reflect recent changes. RGN sizes decreesed a bit with the changes in r4909 http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4913 ___ mkgmap-dev mailing

[mkgmap-dev] Commit r4912: addr_hack.patch:

2023-09-18 Thread svn commit
Version mkgmap-r4912 was committed by gerd on Mon, 18 Sep 2023 addr_hack.patch: If the mkgmap:street=* in the address information for a POI is not set, try to fill it from the addr:place=* value. http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4912

[mkgmap-dev] Commit r4911: Improve house number processing:

2023-09-18 Thread svn commit
Version mkgmap-r4911 was committed by gerd on Mon, 18 Sep 2023 Improve house number processing: - don't add a further label for an unamned road if there are no house numbers (reduces IMG size) - if an unnamed road is used for addr:place addresses, forget a previously assigned label from a

[mkgmap-dev] Commit r4910: Fix calculation of minimun resolution in overview map: Use same constant as in MapSplitter so that the tile selection polygon 0x4a is not split as this confuses the Garmin P

2023-07-15 Thread svn commit
Version mkgmap-r4910 was committed by gerd on Sun, 16 Jul 2023 Fix calculation of minimun resolution in overview map: Use same constant as in MapSplitter so that the tile selection polygon 0x4a is not split as this confuses the Garmin PC programs.

[mkgmap-dev] Commit r4909: Fix possible AssertionError in RoadIndex.java:45 reported by Carlos Dávila

2023-06-05 Thread svn commit
Version mkgmap-r4909 was committed by gerd on Mon, 05 Jun 2023 Fix possible AssertionError in RoadIndex.java:45 reported by Carlos Dávila filterOrder_v2.patch by Ticker Berkin plus changes in unit tests by Gerd Petermann The patch changes the order of the filters to the order that is expected in

[mkgmap-dev] Commit r4908: update some values in unit tests to check that they work on the build system

2023-06-05 Thread svn commit
Version mkgmap-r4908 was committed by gerd on Mon, 05 Jun 2023 update some values in unit tests to check that they work on the build system http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4908 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4907: Accept elevation values given in m with decimals in polish (*.mp) format and use Math.round() for the result of the convertion to feet instead of always rounding down.

2023-03-05 Thread svn commit
Version mkgmap-r4907 was committed by gerd on Mon, 06 Mar 2023 Accept elevation values given in m with decimals in polish (*.mp) format and use Math.round() for the result of the convertion to feet instead of always rounding down.

[mkgmap-dev] Commit r4906: Treat also line types 0x23..0x25 as contour lines in method isContourLine()

2023-03-02 Thread svn commit
Version mkgmap-r4906 was committed by gerd on Thu, 02 Mar 2023 Treat also line types 0x23..0x25 as contour lines in method isContourLine() http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4906 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4905: Stop execution and report error when number of DEM dist values is higher than the levels.

2022-07-12 Thread svn commit
Version mkgmap-r4905 was committed by gerd on Wed, 13 Jul 2022 Stop execution and report error when number of DEM dist values is higher than the levels. http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4905 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4904: mp-rendering.patch:

2022-05-29 Thread svn commit
Version mkgmap-r4904 was committed by gerd on Mon, 30 May 2022 mp-rendering.patch: Handle special case with a complex multipolygon that contains the whole tile without intersection. This can lead to large missing rectangular parts of the multipolygon.

[mkgmap-dev] Commit r4903: fix typo in comment, no functional change

2022-05-29 Thread svn commit
Version mkgmap-r4903 was committed by gerd on Mon, 30 May 2022 fix typo in comment, no functional change http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4903 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4902: slightly modified genSeaEnhance_v3.patch by Ticker Berkin:

2022-05-13 Thread svn commit
Version mkgmap-r4902 was committed by gerd on Fri, 13 May 2022 slightly modified genSeaEnhance_v3.patch by Ticker Berkin: "I've attached a patch for an enhanced version of SeaGenerator that distinguishes between land/sea areas that touch the edge and true [anti-]islands and only use MP processing

[mkgmap-dev] Commit r4901: fix bug in code which is used to generate precompSea.zip

2022-05-13 Thread svn commit
Version mkgmap-r4901 was committed by gerd on Fri, 13 May 2022 fix bug in code which is used to generate precompSea.zip Tiles with complex coastlines contained ways with tag natural=sea outside of the tile bounds. Not sure if this cause wrong maps, it seems that the downloadable sea-latest.zip

[mkgmap-dev] Commit r4900: Show file name when mkgmap stops because the img file get's too big

2022-05-02 Thread svn commit
Version mkgmap-r4900 was committed by gerd on Tue, 03 May 2022 Show file name when mkgmap stops because the img file get's too big ShowFailingTile.patch by Carlos Dávila http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4900 ___ mkgmap-dev

[mkgmap-dev] Commit r4899: Polish input: Only create roads for line types which are considered special routable types,

2022-04-08 Thread svn commit
Version mkgmap-r4899 was committed by gerd on Fri, 08 Apr 2022 Polish input: Only create roads for line types which are considered special routable types, not all types 0x01..03f http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4899 ___

[mkgmap-dev] Commit r4898: prevent NullPointerException for roads which are not added to NOD

2022-04-08 Thread svn commit
Version mkgmap-r4898 was committed by gerd on Fri, 08 Apr 2022 prevent NullPointerException for roads which are not added to NOD http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4898 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4897: merge (again) from faster-mp branch

2022-02-24 Thread svn commit
Version mkgmap-r4897 was committed by gerd on Fri, 25 Feb 2022 merge (again) from faster-mp branch http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4897 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4896: step 1 of partial merge from mdr2 branch

2022-02-11 Thread svn commit
Version mkgmap-r4896 was committed by gerd on Fri, 11 Feb 2022 step 1 of partial merge from mdr2 branch - don't render natural=coastline as lines, this is rarely useful - don't fill string table and don't create tempFile for strings when calculating global index for gnapsupp. This reduces I/O

[mkgmap-dev] Commit r4895: oops, 4894 caused a change (and infinite(?) loop in unit test

2022-02-04 Thread svn commit
Version mkgmap-r4895 was committed by gerd on Fri, 04 Feb 2022 oops, 4894 caused a change (and infinite(?) loop in unit test http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4895 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4894: code simplification (no functional change)

2022-02-04 Thread svn commit
Version mkgmap-r4894 was committed by gerd on Fri, 04 Feb 2022 code simplification (no functional change) - use new readSectionInfo http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4894 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4893: code simplification (no functional change)

2022-02-04 Thread svn commit
Version mkgmap-r4893 was committed by gerd on Fri, 04 Feb 2022 code simplification (no functional change) - add method readSectionInfo that also reads magic (extraValue) as 4 byte int - use it in some headers http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4893

[mkgmap-dev] Commit r4892: minor code improvement: readBitStream only needs the shift value from subdiv, so don't pass more than needed

2022-02-03 Thread svn commit
Version mkgmap-r4892 was committed by gerd on Thu, 03 Feb 2022 minor code improvement: readBitStream only needs the shift value from subdiv, so don't pass more than needed http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4892 ___ mkgmap-dev

[mkgmap-dev] Commit r4891: add getter for tre7Magic, is needed by RgnDisplay to display Huffman encoded delta streams

2022-02-03 Thread svn commit
Version mkgmap-r4891 was committed by gerd on Thu, 03 Feb 2022 add getter for tre7Magic, is needed by RgnDisplay to display Huffman encoded delta streams http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4891 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4890: fix failing unit tests

2022-02-01 Thread svn commit
Version mkgmap-r4890 was committed by gerd on Tue, 01 Feb 2022 fix failing unit tests http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4890 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4889: Improve interpretation of TRE7 data (extended types offsets) not written by mkgmap

2022-02-01 Thread svn commit
Version mkgmap-r4889 was committed by gerd on Tue, 01 Feb 2022 Improve interpretation of TRE7 data (extended types offsets) not written by mkgmap - check magic value in TRE7 to find out which offsets are set (mkgmap write 0x607 which means all offsets are valid). GPXSee does something similar

[mkgmap-dev] Commit r4888: improve handling of data inside GMP file

2022-02-01 Thread svn commit
Version mkgmap-r4888 was committed by gerd on Tue, 01 Feb 2022 improve handling of data inside GMP file - probably all uses of reader.position(xxx) where xxx is a constant must be changed to reader.position(reader.getGMPOffset() + xxx) - add more code to handle unexpected data in TRE7 It seems

[mkgmap-dev] Commit r4887: Fix assertions to actually check the calculated sizes.

2022-01-31 Thread svn commit
Version mkgmap-r4887 was committed by gerd on Tue, 01 Feb 2022 Fix assertions to actually check the calculated sizes. The code to read TRE7 data (extended types offsets) only works for maps where tre7.recsize() <= 13. Maps can have larger record sizes and the current logic in

[mkgmap-dev] Commit r4886: simplify code to write MDR1 reverse index (no change in output expected)

2022-01-31 Thread svn commit
Version mkgmap-r4886 was committed by gerd on Tue, 01 Feb 2022 simplify code to write MDR1 reverse index (no change in output expected) http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4886 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4885: Simplify code to write extended type data, no change in output expected

2022-01-30 Thread svn commit
Version mkgmap-r4885 was committed by gerd on Sun, 30 Jan 2022 Simplify code to write extended type data, no change in output expected There is no need for lazy allocation of ByteArrayOutputStream fields http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4885

[mkgmap-dev] Commit r4884: - fix long standing errors in the code that reads extended data (introduced with r2546)

2022-01-30 Thread svn commit
Version mkgmap-r4884 was committed by gerd on Sun, 30 Jan 2022 - fix long standing errors in the code that reads extended data (introduced with r2546) - method fetchPointsCommonExtType expected an offset for end but caller passed the size. Proably never did anything useful. Renamed to

[mkgmap-dev] Commit r4883: fix indention, no functional change

2022-01-29 Thread svn commit
Version mkgmap-r4883 was committed by gerd on Sat, 29 Jan 2022 fix indention, no functional change http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4883 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4882: improve comment reg. MAX_DIVISION_SIZE

2022-01-28 Thread svn commit
Version mkgmap-r4882 was committed by gerd on Fri, 28 Jan 2022 improve comment reg. MAX_DIVISION_SIZE I think GPXSee ignores the top bit in the width field, so values >= 0x8000 probably really cause trouble. http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4882

[mkgmap-dev] Commit r4881: Add more code needed in display tool to read GMP files or locked files

2022-01-28 Thread svn commit
Version mkgmap-r4881 was committed by gerd on Fri, 28 Jan 2022 Add more code needed in display tool to read GMP files or locked files http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4881 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4880: styleManual-20220126.patch by Ticker Berkin:

2022-01-28 Thread svn commit
Version mkgmap-r4880 was committed by gerd on Fri, 28 Jan 2022 styleManual-20220126.patch by Ticker Berkin: 1/ Keep |not-contained filter example within the page. 2/ Fix the highway-symbol documentation to agree with the code. 3/ Describe road_class more accurately; consistent with default style.

[mkgmap-dev] Commit r4879: original code for demangle is older, update comment

2022-01-27 Thread svn commit
Version mkgmap-r4879 was committed by gerd on Thu, 27 Jan 2022 original code for demangle is older, update comment http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4879 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4878: - Add code needed in display tool to read GMP files or locked files

2022-01-26 Thread svn commit
Version mkgmap-r4878 was committed by gerd on Thu, 27 Jan 2022 - Add code needed in display tool to read GMP files or locked files - Add some code in LBLFileReader to handle newer structures. Note that some labels offsets are now used with mask (offset & 0x3f). I hope this doesn't break

[mkgmap-dev] Commit r4877: remove dead code

2022-01-26 Thread svn commit
Version mkgmap-r4877 was committed by gerd on Thu, 27 Jan 2022 remove dead code http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4877 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4855: improve documentation, esp. about --mdr7-del (options2.patch by Mike Baggaley)

2022-01-09 Thread svn commit
Version mkgmap-r4855 was committed by gerd on Mon, 10 Jan 2022 improve documentation, esp. about --mdr7-del (options2.patch by Mike Baggaley) http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4855 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4850: revert merge from faster-mp branch, causes crashes in some maps

2022-01-06 Thread svn commit
Version mkgmap-r4850 was committed by gerd on Thu, 06 Jan 2022 revert merge from faster-mp branch, causes crashes in some maps http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4850 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4845: merge from faster-mp branch

2022-01-05 Thread svn commit
Version mkgmap-r4845 was committed by gerd on Wed, 05 Jan 2022 merge from faster-mp branch - don't render natural=coastline in lines - implement faster (but possibly less reliable) algorithm to render complex multipolygons - don't render MP without tags (old code did that when all tags were

[mkgmap-dev] Commit r4839: surrogatePair.patch by Ticker Berkin (slightly modified)

2021-12-30 Thread svn commit
Version mkgmap-r4839 was committed by gerd on Thu, 30 Dec 2021 surrogatePair.patch by Ticker Berkin (slightly modified) "handles UTF16 surrogate pairs so that mkgmap style filters substring and highway-shield give correct results, the LBL trimming leaves the correct amount and neither end up with

[mkgmap-dev] Commit r4838: prevent infinite loop when encoder detects malformed input

2021-12-28 Thread svn commit
Version mkgmap-r4838 was committed by gerd on Tue, 28 Dec 2021 prevent infinite loop when encoder detects malformed input http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4838 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4837: prevent possible crash when label has 170 leading blanks

2021-12-27 Thread svn commit
Version mkgmap-r4837 was committed by gerd on Mon, 27 Dec 2021 prevent possible crash when label has 170 leading blanks http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4837 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4836: Cut labels which are longer than 170 characters, but not the copyright message or labels from ExtTypeAttributes

2021-12-13 Thread svn commit
Version mkgmap-r4836 was committed by gerd on Mon, 13 Dec 2021 Cut labels which are longer than 170 characters, but not the copyright message or labels from ExtTypeAttributes modified label_len170.patch http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4836

[mkgmap-dev] Commit r4835: Throw a MapFailedException when MDR sub file size > 2G instead of crashing later or writing empty files.

2021-12-12 Thread svn commit
Version mkgmap-r4835 was committed by gerd on Sun, 12 Dec 2021 Throw a MapFailedException when MDR sub file size > 2G instead of crashing later or writing empty files. Maybe remove this again if someone can prove that Garmin software can handle MDR sub file with more than 2G. We could probably

[mkgmap-dev] Commit r4827: document that options --mdr7-del and mdr7-excl are case insensitive

2021-12-02 Thread svn commit
Version mkgmap-r4827 was committed by gerd on Thu, 02 Dec 2021 document that options --mdr7-del and mdr7-excl are case insensitive http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4827 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4826: fix typo in method name, no functional change

2021-12-02 Thread svn commit
Version mkgmap-r4826 was committed by gerd on Thu, 02 Dec 2021 fix typo in method name, no functional change http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4826 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4825: 2nd try to throw exception when invalid --code-page parameter is given

2021-12-01 Thread svn commit
Version mkgmap-r4825 was committed by gerd on Wed, 01 Dec 2021 2nd try to throw exception when invalid --code-page parameter is given http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4825 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4824: partly revert r4822, it breaks unit tests (problem with junit?)

2021-12-01 Thread svn commit
Version mkgmap-r4824 was committed by gerd on Wed, 01 Dec 2021 partly revert r4822, it breaks unit tests (problem with junit?) http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4824 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4823: minor fixes

2021-12-01 Thread svn commit
Version mkgmap-r4823 was committed by gerd on Wed, 01 Dec 2021 minor fixes - remove extra line feed in some log messages - add missing cast http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4823 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4822: - use StandardCharsets.US_ASCII instead of "ascii" parameter where possible

2021-11-30 Thread svn commit
Version mkgmap-r4822 was committed by gerd on Tue, 30 Nov 2021 - use StandardCharsets.US_ASCII instead of "ascii" parameter where possible - stop with error when --code-page option is not a number (instead of silently using 0) http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4822

[mkgmap-dev] Commit r4821: revert changes from r4820, global index is wrong and search for roads on the device doesn't work

2021-11-30 Thread svn commit
Version mkgmap-r4821 was committed by gerd on Tue, 30 Nov 2021 revert changes from r4820, global index is wrong and search for roads on the device doesn't work http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4821 ___ mkgmap-dev mailing

[mkgmap-dev] Commit r4820: Modify default encoder (code-page=0)

2021-11-30 Thread svn commit
Version mkgmap-r4820 was committed by gerd on Tue, 30 Nov 2021 Modify default encoder (code-page=0) format6-v6.patch by Ticker Berkin. Original description for the first version of the patch: "I was looking at encoders and noticed obvious mistake in Format6Decoder relating to lower-case, plus

[mkgmap-dev] Commit r4819: relationlabel.patch by Mike Baggaley:

2021-11-29 Thread svn commit
Version mkgmap-r4819 was committed by gerd on Mon, 29 Nov 2021 relationlabel.patch by Mike Baggaley: "Allows a node tagged with a role of label or admin_centre to be still used if it has no name defined, rather than only if it matches the name on the relation. Also an improvement in the

[mkgmap-dev] Commit r4818: mdrUnicode_v9a.patch by Ticker Berkin

2021-11-18 Thread svn commit
Version mkgmap-r4818 was committed by gerd on Fri, 19 Nov 2021 mdrUnicode_v9a.patch by Ticker Berkin "While looking at the mdr output from Mapinstall and the differences in the street repeat flags, mainly where there are shield/road-ref entries, I realised my change to Sort.java for undefined

[mkgmap-dev] Commit r4817: fix possible assertion with codepage 932

2021-11-18 Thread svn commit
Version mkgmap-r4817 was committed by gerd on Thu, 18 Nov 2021 fix possible assertion with codepage 932 - improve handling of translitaration problems, make sure that unmappable characters are replaced by the encoders replacement, normally this is the question mark '?'

[mkgmap-dev] Commit r4816: Use Normalizer.normalize() before converting unicode strings to label

2021-11-16 Thread svn commit
Version mkgmap-r4816 was committed by gerd on Tue, 16 Nov 2021 Use Normalizer.normalize() before converting unicode strings to label Fixes Twülpstedt issue (u-umlaut either encoded as multiple characters u + "COMBINING DIAERESIS" (0x75 + 0x308) or as single character LATIN SMALL LETTER U WITH

[mkgmap-dev] Commit r4815: remove unused import

2021-11-15 Thread svn commit
Version mkgmap-r4815 was committed by gerd on Mon, 15 Nov 2021 remove unused import http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4815 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4814: fix Mdr12 index position calculation for maps with mixed case labels

2021-11-15 Thread svn commit
Version mkgmap-r4814 was committed by gerd on Mon, 15 Nov 2021 fix Mdr12 index position calculation for maps with mixed case labels Seems the position must refer to the first entry in Mdr11 that mmatches using PRIMARY strength. Alternative would be to stop writing this small section, but maybe

[mkgmap-dev] Commit r4813: Format change to prevent error

2021-11-08 Thread svn commit
Version mkgmap-r4813 was committed by steve on Mon, 08 Nov 2021 Format change to prevent error There was a line beginning with a '*' which is not meant to be a list and was causing a crash preventing the page being displayed on the website. Re-arranged the line so that it didn't start with the

[mkgmap-dev] Commit r4812: fix possible but very unlikely error in mdr25 section

2021-11-08 Thread svn commit
Version mkgmap-r4812 was committed by gerd on Mon, 08 Nov 2021 fix possible but very unlikely error in mdr25 section - handle the case that the same combination of city name and region name occurs in two or more different countries

[mkgmap-dev] Commit r4811: fix java.lang.AssertionError while building index from unicode tiles

2021-11-05 Thread svn commit
Version mkgmap-r4811 was committed by gerd on Fri, 05 Nov 2021 fix java.lang.AssertionError while building index from unicode tiles Changes extracted from mdrUnicode_v8.patch by Ticker Berkin http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4811

[mkgmap-dev] Commit r4810: revert changes from r4809 for now, they caused more trouble

2021-10-25 Thread svn commit
Version mkgmap-r4810 was committed by gerd on Mon, 25 Oct 2021 revert changes from r4809 for now, they caused more trouble http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4810 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4809: fix java.lang.AssertionError while building index from unicode tiles

2021-10-22 Thread svn commit
Version mkgmap-r4809 was committed by gerd on Fri, 22 Oct 2021 fix java.lang.AssertionError while building index from unicode tiles mdrUnicode_v2.patch by Ticker Berkin http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4809 ___ mkgmap-dev

[mkgmap-dev] Commit r4808: implement new option --gmapi-minimal (gmapi-minimal-v5.patch)

2021-10-12 Thread svn commit
Version mkgmap-r4808 was committed by gerd on Tue, 12 Oct 2021 implement new option --gmapi-minimal (gmapi-minimal-v5.patch) Special option for map providers to reduce disk writes when updating. See help for detailed usage. See also thread "mkgmap doing excessive writing and converting to disk

[mkgmap-dev] Commit r4807: fix possible NPE when --keep-going is used in combination with an input file that doesn't exist

2021-09-14 Thread svn commit
Version mkgmap-r4807 was committed by gerd on Tue, 14 Sep 2021 fix possible NPE when --keep-going is used in combination with an input file that doesn't exist http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4807 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4806: missing brackets: fix NullPointerException when option --pois-to-areas-placement is used with invalid args like

2021-08-10 Thread svn commit
Version mkgmap-r4806 was committed by gerd on Tue, 10 Aug 2021 missing brackets: fix NullPointerException when option --pois-to-areas-placement is used with invalid args like --pois-to-areas-placement=abc= or with placeholder like in --pois-to-areas-placement=shop=*;amentity=* Error was

[mkgmap-dev] Commit r4805: split route center if last offset in TableC (route restrictions) size is >= 0x8000

2021-08-07 Thread svn commit
Version mkgmap-r4805 was committed by gerd on Sat, 07 Aug 2021 split route center if last offset in TableC (route restrictions) size is >= 0x8000 Alternative would be to add code to support table offsets >= 0x8000 (3 bytes), but Garmin doesn't to use this and thus this might not even be

[mkgmap-dev] Commit r4804: log also the cause of a "Bad file format"

2021-08-07 Thread svn commit
Version mkgmap-r4804 was committed by gerd on Sat, 07 Aug 2021 log also the cause of a "Bad file format" http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4804 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4802: lower severity level for ShapeSplitter "split failed" message

2021-07-08 Thread svn commit
Version mkgmap-r4802 was committed by gerd on Thu, 08 Jul 2021 lower severity level for ShapeSplitter "split failed" message http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4802 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4801: sample.cfg was not copied to dist

2021-07-03 Thread svn commit
Version mkgmap-r4801 was committed by gerd on Sun, 04 Jul 2021 sample.cfg was not copied to dist http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4801 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4800: improve unit test

2021-07-01 Thread svn commit
Version mkgmap-r4800 was committed by gerd on Thu, 01 Jul 2021 improve unit test - fix more deprecation warnings from jdk 11 - fix order of expected/actual parameters http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4800 ___ mkgmap-dev

[mkgmap-dev] Commit r4799: add missing copyright info to extracted class

2021-07-01 Thread svn commit
Version mkgmap-r4799 was committed by gerd on Thu, 01 Jul 2021 add missing copyright info to extracted class http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4799 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4798: - add Xlint to all compile targets

2021-07-01 Thread svn commit
Version mkgmap-r4798 was committed by gerd on Thu, 01 Jul 2021 - add Xlint to all compile targets - fix various warnings and deprecations http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4798 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4793: revert major bug in relation handling that was introduced with r4784 in the low-res-opt branch

2021-06-26 Thread svn commit
Version mkgmap-r4793 was committed by gerd on Sat, 26 Jun 2021 revert major bug in relation handling that was introduced with r4784 in the low-res-opt branch http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4793 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4791: prevent possible IndexOutOfBoundsException in ShapeMergeFilter

2021-06-25 Thread svn commit
Version mkgmap-r4791 was committed by gerd on Fri, 25 Jun 2021 prevent possible IndexOutOfBoundsException in ShapeMergeFilter http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4791 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4786: merge from low-res-opt branch

2021-06-23 Thread svn commit
Version mkgmap-r4786 was committed by gerd on Wed, 23 Jun 2021 merge from low-res-opt branch - new options --simplify-lines, --simplify-polygons, and --improve-overview - better handling of contour lines and lines in overview map (less zig-zagging/diverging of parallel lines) - direction flag is

[mkgmap-dev] Commit r4767: raise minimum resolution of overview map to 13 to match the alignment of tiles produced by splitter with default resolution 13

2021-06-10 Thread svn commit
Version mkgmap-r4767 was committed by gerd on Fri, 11 Jun 2021 raise minimum resolution of overview map to 13 to match the alignment of tiles produced by splitter with default resolution 13 This will slightly increase the size of the overview map but should also improve its quality near tile

[mkgmap-dev] Commit r4766: map-split.patch - fix possible "Problem writing line ..." message which caused data loss of huge polygons

2021-06-10 Thread svn commit
Version mkgmap-r4766 was committed by gerd on Fri, 11 Jun 2021 map-split.patch - fix possible "Problem writing line ..." message which caused data loss of huge polygons http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4766 ___ mkgmap-dev

[mkgmap-dev] Commit r4765: rework roundabout checks (roundaboutchecks4.patch by Mike Baggaley)

2021-06-10 Thread svn commit
Version mkgmap-r4765 was committed by gerd on Thu, 10 Jun 2021 rework roundabout checks (roundaboutchecks4.patch by Mike Baggaley) - deprecate options --check-roundabouts, --check-roundabout-flares, and --max-flare-length-ratio - implement new options --fix-roundabout-direction,

[mkgmap-dev] Commit r4763: - fix bug in Coord.distToLineSegment(Coord a, Coord b), it returned Double.NaN when a and b are the same

2021-06-08 Thread svn commit
Version mkgmap-r4763 was committed by gerd on Tue, 08 Jun 2021 - fix bug in Coord.distToLineSegment(Coord a, Coord b), it returned Double.NaN when a and b are the same Now it returns the distance to a, similar to shortestDistToLineSegment() - minor code improvements in

[mkgmap-dev] Commit r4760: minor performance tweak: only create node instance when it is needed

2021-06-06 Thread svn commit
Version mkgmap-r4760 was committed by gerd on Sun, 06 Jun 2021 minor performance tweak: only create node instance when it is needed http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4760 ___ mkgmap-dev mailing list

[mkgmap-dev] Commit r4758: merge fix for IsInUtil from faster-mp branch

2021-06-05 Thread svn commit
Version mkgmap-r4758 was committed by gerd on Sun, 06 Jun 2021 merge fix for IsInUtil from faster-mp branch http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4758 ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Commit r4745: fix possible wrong split with degenarated polygon (splitShapeFix.patch by Ticker Berkin, modified)

2021-05-26 Thread svn commit
Version mkgmap-r4745 was committed by gerd on Wed, 26 May 2021 fix possible wrong split with degenarated polygon (splitShapeFix.patch by Ticker Berkin, modified) http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4745 ___ mkgmap-dev mailing

[mkgmap-dev] Commit r4735: improve Logging/ debugging : todegrees.patch

2021-05-23 Thread svn commit
Version mkgmap-r4735 was committed by gerd on Mon, 24 May 2021 improve Logging/ debugging : todegrees.patch - change Coord.toString() to return the same as toDegreeString() instead of a pair of Garmin units - add method toGarminString() to get a string with Garmin units - deprecate

[mkgmap-dev] Commit r4726: modify evaluation of direction flag (again)

2021-05-18 Thread svn commit
Version mkgmap-r4726 was committed by gerd on Wed, 19 May 2021 modify evaluation of direction flag (again) (dirFlagSetting_v2.patch by Ticker Berkin, modified) - don't ignore option --line-types-with-direction if --allow-reverse-merge option is not set - allow to have direction-flag unset even

[mkgmap-dev] Commit r4717: cleanup, no change in output, maybe minimal performance improvement

2021-05-15 Thread svn commit
Version mkgmap-r4717 was committed by gerd on Sat, 15 May 2021 cleanup, no change in output, maybe minimal performance improvement - remove debug code - remove field index in ConvertedWay, is no longer needed to produce stable results in RoadMerger

[mkgmap-dev] Commit r4715: rework of options for reverse merge

2021-05-14 Thread svn commit
Version mkgmap-r4715 was committed by gerd on Fri, 14 May 2021 rework of options for reverse merge - replace option --x-force-reverse-merge by --allow-reverse-merge which has to be set to enable reversing for merge, add documentation - implement new option --line-types-with-direction to list

[mkgmap-dev] Commit r4714: improve code in containsAction

2021-05-13 Thread svn commit
Version mkgmap-r4714 was committed by gerd on Thu, 13 May 2021 improve code in containsAction - don't check finalizeRule in ExpressionRule - check single actions instead of combining them first (to avoid possible matches created by combining)

[mkgmap-dev] Commit r4713: fix check which detects if lines rules add or set special tag mkgmap:has-direction=true.

2021-05-13 Thread svn commit
Version mkgmap-r4713 was committed by gerd on Thu, 13 May 2021 fix check which detects if lines rules add or set special tag mkgmap:has-direction=true. Old code only found the case that the style checked if a line has the tag, as in mkgmap:has-direction=true {echotags "direction"} Don't invest

[mkgmap-dev] Commit r4712: fix error introduced with r4549: logged action rules did not contain target

2021-05-13 Thread svn commit
Version mkgmap-r4712 was committed by gerd on Thu, 13 May 2021 fix error introduced with r4549: logged action rules did not contain target e.g. instead of "[set mkgmap:country=${mkgmap:admin_level2};]" only "[set ]" was logged Probably only visible when logging or debugging, else this would have

[mkgmap-dev] Commit r4705: reduce peak memory in Mdr5.preWriteImpl() (called by combiners for --index)

2021-05-11 Thread svn commit
Version mkgmap-r4705 was committed by gerd on Tue, 11 May 2021 reduce peak memory in Mdr5.preWriteImpl() (called by combiners for --index) mdr5Mem_v3.patch by Ticker Berkin http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap=4705 ___ mkgmap-dev

[mkgmap-dev] Commit r4704: detect duplicate roads to log a warning when the lines rules add equal routable lines for one OSM way and ignore them

2021-05-11 Thread svn commit
Version mkgmap-r4704 was committed by gerd on Tue, 11 May 2021 detect duplicate roads to log a warning when the lines rules add equal routable lines for one OSM way and ignore them - Uses the code in RoadMerger to detect roads with equal attributes (type, resolution, speed, class, oneway,

[mkgmap-dev] Commit r4703: improve RoadMerger (based on merge-roads-reversed-v6.patch)

2021-05-11 Thread svn commit
Version mkgmap-r4703 was committed by gerd on Tue, 11 May 2021 improve RoadMerger (based on merge-roads-reversed-v6.patch) This has two effects: - it allows RoadMerger to merge roads which build a sharp angle, if that is done an info message is logged - it allows RoadMerger to merge roads with

  1   2   3   4   5   6   7   8   9   10   >