Advertisement
Guest User

mkgmap changelog

a guest
Jul 25th, 2020
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.42 KB | None | 0 0
  1. ------------------------------------------------------------------------
  2. r4432 | gerd | 2020-01-27 11:22:45 +0300 (Mon, 27 Jan 2020) | 8 lines
  3.  
  4. utf8-v3.patch by Ticker Berkin
  5. - uses StandardCharsets.* where possible.
  6. - notes some usage of the java local DefaultCharset.
  7. - changed a couple of these to force utf-8 instead.
  8. - if --read-config file gives decoding errors, names the charset used to read the file (ie DefaultCharset) instead of 'utf-8' in the error message.
  9. - accepts/ignores unicode BOM in more files
  10. - uses try (open...) {} where possible in files changed for the above reasons.
  11.  
  12. ------------------------------------------------------------------------
  13. r4433 | gerd | 2020-01-30 17:36:34 +0300 (Thu, 30 Jan 2020) | 2 lines
  14.  
  15. improve documentation (Patch by Mike Baggaley)
  16. TODO: add program to compile help/en/options from doc/options.txt during the build process
  17. ------------------------------------------------------------------------
  18. r4434 | gerd | 2020-01-31 10:23:28 +0300 (Fri, 31 Jan 2020) | 1 line
  19.  
  20. remove :: from pre-formatted section in documentation
  21. ------------------------------------------------------------------------
  22. r4435 | gerd | 2020-02-03 17:19:12 +0300 (Mon, 03 Feb 2020) | 5 lines
  23.  
  24. reduce line distortion:
  25. - in some cases a junction of a routable line and a non-routable line was split. E.g. when a footway ends on barrier=fence line.
  26. - POIs for barrier=* nodes are less often somewhere next to the way instead of on the way. This is not done when a straight highway would zig-zag so that the barrier is on the way. In that case the highway stays straight and the barrier node is still placed next to the way.
  27.  
  28. See also http://gis.19327.n8.nabble.com/distorted-lines-again-tp5957394.html
  29. ------------------------------------------------------------------------
  30. r4436 | gerd | 2020-02-04 13:23:43 +0300 (Tue, 04 Feb 2020) | 4 lines
  31.  
  32. Correction: Invalid NOD data was written for roads with > 250 points (after merge) and no connections to other roads or housenumbers (extra bit was not set properly).
  33. This is likely to happen in "empty" areas like parts of Africa or Canada, unlikely in dense areas like Germany.
  34. Problem was introduced in the NET-no-NOD branch.
  35. In tiles where this problem occured the img size will grow a little bit.
  36. ------------------------------------------------------------------------
  37. r4437 | gerd | 2020-02-04 16:59:16 +0300 (Tue, 04 Feb 2020) | 1 line
  38.  
  39. perform some basic checks for invalid type/subtype in polish (.mp) input
  40. ------------------------------------------------------------------------
  41. r4448 | gerd | 2020-02-13 12:15:26 +0300 (Thu, 13 Feb 2020) | 3 lines
  42.  
  43. fix possible NPE introduced with r4432
  44. FileNotFoundException was ignored. May result in a NullPointerException when input file is not in the expected format. e.g. with
  45. java -jar mkgmap.jar .
  46. ------------------------------------------------------------------------
  47. r4450 | gerd | 2020-02-13 13:32:00 +0300 (Thu, 13 Feb 2020) | 3 lines
  48.  
  49. Produce better error message when input-file is a directory
  50. This also prevents a possible StringIndexOutOfBoundsException
  51.  
  52. ------------------------------------------------------------------------
  53. r4452 | gerd | 2020-02-15 10:41:44 +0300 (Sat, 15 Feb 2020) | 6 lines
  54.  
  55. documentation improvements and program to generate help file options from doc/options.txt
  56. Based on patches from Mike Baggaley
  57.  
  58. To generate help/en/options from doc/options.txt use
  59. ant gen-options-file
  60. Take care: no backup is made, manual changes are overwritten
  61. ------------------------------------------------------------------------
  62. r4454 | gerd | 2020-02-20 12:16:06 +0300 (Thu, 20 Feb 2020) | 3 lines
  63.  
  64. Correct WrongAngleFixer: Avoid to disconnect end points of routable lines from non-routable lines even when the end point causes a distortion of the non-routable line.
  65.  
  66.  
  67. ------------------------------------------------------------------------
  68. r4462 | gerd | 2020-03-05 08:34:19 +0300 (Thu, 05 Mar 2020) | 13 lines
  69.  
  70. implement new option --dead-ends[=key[=value]][,key[=value]...]
  71. --dead-ends[=key[=value]][,key[=value]...]
  72. Specify a list of keys and optional values that should be considered to be
  73. valid dead ends when found on the node at the end of a way. Ways with nodes
  74. matching any of the items in the list will not be reported as dead ends. If
  75. no value or * is specified for value then presence of the key alone will
  76. cause the dead end check to be skipped. The default is
  77. --dead-ends=fixme,FIXME.
  78.  
  79. Also corrects some typos in documentation and javadoc.
  80.  
  81. deadendcheck3.patch by Mike Baggaley with small modifications
  82.  
  83. ------------------------------------------------------------------------
  84. r4463 | gerd | 2020-03-07 09:02:00 +0300 (Sat, 07 Mar 2020) | 5 lines
  85.  
  86. minor documentation update (options_v3.patch by Ticker Berkin)
  87. Changes are mostly adding some missing blank lines between options and
  88. removing some excess ones. Also fix a line folding problem that show on
  89. the web-site and remove trailing spaces.
  90.  
  91. ------------------------------------------------------------------------
  92. r4464 | gerd | 2020-03-07 09:13:25 +0300 (Sat, 07 Mar 2020) | 3 lines
  93.  
  94. merge the is-in branch
  95. - adds the new style function is_in(), see style documentation for details.
  96. - the ResidentialHook is disabled if the style doesn't explicitely use mkgmap:residential
  97. ------------------------------------------------------------------------
  98. r4465 | gerd | 2020-03-09 08:41:06 +0300 (Mon, 09 Mar 2020) | 1 line
  99.  
  100. improve error message when reading invalid (0-bytes) *.img file
  101. ------------------------------------------------------------------------
  102. r4466 | gerd | 2020-03-13 16:22:58 +0300 (Fri, 13 Mar 2020) | 2 lines
  103.  
  104. backgroundMP.patch by Andrzej Popowski
  105. Improve polish reader compatibility with cGPSmapper reg. background polygon(s)
  106. ------------------------------------------------------------------------
  107. r4467 | gerd | 2020-03-15 11:46:53 +0300 (Sun, 15 Mar 2020) | 1 line
  108.  
  109. fix regression introduced with r4437: allow 0x4a polygon in polish input
  110. ------------------------------------------------------------------------
  111. r4468 | gerd | 2020-03-16 10:03:54 +0300 (Mon, 16 Mar 2020) | 1 line
  112.  
  113. fix some issues reported by sonarlint, no functional change
  114. ------------------------------------------------------------------------
  115. r4469 | gerd | 2020-03-18 21:17:34 +0300 (Wed, 18 Mar 2020) | 2 lines
  116.  
  117. fix performance issue introduced with merge from is-in branch:
  118. Use again Area.contains() instead of BoundaryUtil.pointInsideArea()
  119. ------------------------------------------------------------------------
  120. r4470 | gerd | 2020-03-18 21:23:28 +0300 (Wed, 18 Mar 2020) | 2 lines
  121.  
  122. genSea.patch by Ticker Berkin
  123. fixes flooded areas caused by changes in r4392 and other issues with unclosed coastlines
  124. ------------------------------------------------------------------------
  125. r4471 | gerd | 2020-03-19 07:53:28 +0300 (Thu, 19 Mar 2020) | 1 line
  126.  
  127. remove dead code
  128. ------------------------------------------------------------------------
  129. r4472 | gerd | 2020-03-19 09:24:59 +0300 (Thu, 19 Mar 2020) | 4 lines
  130.  
  131. Make sure that getKeystring() doesn't return something like null=way for a rule which cannot be indexed, e.g.
  132. type()=way [0x02]
  133. or
  134. type()=way & highway!=* {add blabla}
  135. ------------------------------------------------------------------------
  136. r4473 | gerd | 2020-03-19 11:30:47 +0300 (Thu, 19 Mar 2020) | 1 line
  137.  
  138. use high precision in BoundaryQuadTree.Node.get()
  139. ------------------------------------------------------------------------
  140. r4474 | gerd | 2020-03-23 08:51:18 +0300 (Mon, 23 Mar 2020) | 3 lines
  141.  
  142. implement support for --copyright-file and --copyright-message option in PolishReader.
  143. (mp-copyright.patch)
  144.  
  145. ------------------------------------------------------------------------
  146. r4475 | gerd | 2020-03-26 09:27:41 +0300 (Thu, 26 Mar 2020) | 5 lines
  147.  
  148. improvements for typ file source mapnik.txt
  149. - removes a "," from a default string.
  150. - doesn't indent the Bay Xpm section.
  151. - fixes a spelling mistake.
  152. Patch by Ticker Berkin
  153. ------------------------------------------------------------------------
  154. r4476 | gerd | 2020-04-01 12:16:32 +0300 (Wed, 01 Apr 2020) | 11 lines
  155.  
  156. mapnik-TYPViewer-2.patch by Ticker Berkin:
  157. I've changed the characters used to represent the pixels in the bay
  158. icon. I've just loaded TYPViewer and used it to convert latest
  159. mapnik.txt to mapnik.typ. It seemed quite happy to do this, but when
  160. using TYPViewer to read back the .typ file, it gives the errors:
  161.  
  162. Error while reading polygon 0x03d/00 : Error #9 Description:
  163. Subscript out of range
  164. ...
  165.  
  166. This patch stop this happening.
  167. ------------------------------------------------------------------------
  168. r4477 | gerd | 2020-04-02 15:13:29 +0300 (Thu, 02 Apr 2020) | 10 lines
  169.  
  170. mapnik-TYPViewer-3.patch by Ticker Berkin:
  171. - mkgmap TYP compiler skips [_comments] ... [End] sections
  172. - for TYP lines in the [_id] section like:
  173. ProductCode=
  174. FID=
  175. CodePage=
  176. ie. without a value, mkgmap now writes a WARN message to the log instead of a SEVE: MapFailedException. These values will be supplied from the main mkgmap --options anyway.
  177. - put the mapnik.txt copyright message etc in the new [_comments] section
  178. - a few minor layout tweaks to mapnik.txt
  179.  
  180. ------------------------------------------------------------------------
  181. r4478 | gerd | 2020-04-07 16:17:21 +0300 (Tue, 07 Apr 2020) | 2 lines
  182.  
  183. - add range check for --family-id, value must be in the range 1..65535, not 1..9999
  184. - document the larger range
  185. ------------------------------------------------------------------------
  186. r4479 | gerd | 2020-04-09 16:28:30 +0300 (Thu, 09 Apr 2020) | 2 lines
  187.  
  188. improve documentation: options4.txt.patch by Mike Baggaley
  189.  
  190. ------------------------------------------------------------------------
  191. r4480 | gerd | 2020-04-13 09:25:57 +0300 (Mon, 13 Apr 2020) | 1 line
  192.  
  193. Ignore tags with empty value when reading OSM files.
  194. ------------------------------------------------------------------------
  195. r4481 | gerd | 2020-04-14 15:41:12 +0300 (Tue, 14 Apr 2020) | 5 lines
  196.  
  197. Improve documentation of options (Patch by Ticker Berkin)
  198. - layout and spacing
  199. - gmapi and family-name
  200. - generate-sea options
  201.  
  202. ------------------------------------------------------------------------
  203. r4482 | gerd | 2020-04-15 12:02:03 +0300 (Wed, 15 Apr 2020) | 28 lines
  204.  
  205. improve evaluation of barrier=* nodes (barrierAccess.patch by Ticker Berkin)
  206.  
  207. Default style "points" has code that, when option --link-pois-to-ways
  208. is in effect, sets highway access and speed restrictions that mkgmap
  209. then imposes on the highway that the point is on.
  210.  
  211. These rules had various errors:
  212. - didn't expand the access mode hierarchy, see
  213. https://wiki.openstreetmap.org/wiki/Key:access
  214. - tested the wrong tag for mkgmap:bus and mkgmap:delivery
  215. - if the "access" tag was set, apply this to all modes before
  216. processing allowances and restrictions imposed by the
  217. barrier; but these actions would have no effect because the
  218. the specified mode tags are now all set
  219. - assumed that a gate stops motor_vehicle access
  220. - didn't handle other common forms of gate
  221. - allowed bicycle through kissing_gate and stile
  222.  
  223. This patch fixes these problems and also adds a speed restriction for
  224. all barriers.
  225.  
  226. The general principle is that barrier rules add specific "no"
  227. restrictions that the barrier prevents, but must not add "yes".
  228. The "access" tag is a default for all modes not implicitly or explicit
  229. handled; there could be, say, osm tags [barrier=stile,
  230. access=destination] and this should not imply there is unrestricted
  231. foot access.
  232.  
  233. ------------------------------------------------------------------------
  234. r4483 | gerd | 2020-04-19 10:34:02 +0300 (Sun, 19 Apr 2020) | 2 lines
  235.  
  236. fix documentation for --licence-file reg. underscores
  237. $LONG_DATE$ -> $LONGDATE$, $SHORT_DATE$ -> $SHORTDATE$
  238. ------------------------------------------------------------------------
  239. r4484 | gerd | 2020-04-27 18:29:33 +0300 (Mon, 27 Apr 2020) | 1 line
  240.  
  241. improve/correct example roadNameConfig.txt (patches by Ticker Berkin and Mike Baggaley)
  242. ------------------------------------------------------------------------
  243. r4485 | gerd | 2020-04-30 11:15:47 +0300 (Thu, 30 Apr 2020) | 3 lines
  244.  
  245. Implement and document new options --nearby-poi-rules and --nearby-poi-rules-config
  246. Patch nearbyPOI8.patch by Mike Baggaley
  247.  
  248. ------------------------------------------------------------------------
  249. r4486 | gerd | 2020-05-06 11:36:53 +0300 (Wed, 06 May 2020) | 1 line
  250.  
  251. revert changes r4485 nearby-POI handling needs more thinking
  252. ------------------------------------------------------------------------
  253. r4493 | gerd | 2020-05-21 10:06:39 +0300 (Thu, 21 May 2020) | 1 line
  254.  
  255. fix some sonarlint issues, simplify code (no change in output expected)
  256. ------------------------------------------------------------------------
  257. r4494 | gerd | 2020-05-21 11:41:43 +0300 (Thu, 21 May 2020) | 1 line
  258.  
  259. fix some sonarlint issues, simplify code (no change in output expected)
  260. ------------------------------------------------------------------------
  261. r4495 | gerd | 2020-05-21 12:53:25 +0300 (Thu, 21 May 2020) | 2 lines
  262.  
  263. isin.patch: allow to use '*' as a value in the is_in style function
  264.  
  265. ------------------------------------------------------------------------
  266. r4496 | gerd | 2020-05-22 16:59:30 +0300 (Fri, 22 May 2020) | 2 lines
  267.  
  268. Allow to use e.g. type 0x5400 instead of 0x54 for polygons in polish input (*.mp)
  269. We did that already for special type 0x4b00.
  270. ------------------------------------------------------------------------
  271. r4497 | gerd | 2020-05-23 09:01:54 +0300 (Sat, 23 May 2020) | 2 lines
  272.  
  273. Allow to use e.g. type 0x0e00 instead of 0x0e for polyline in polish input (*.mp)
  274. Forgot that in the previous change.
  275. ------------------------------------------------------------------------
  276. r4498 | gerd | 2020-05-23 09:14:05 +0300 (Sat, 23 May 2020) | 2 lines
  277.  
  278. Now really allow to use e.g. type 0x0e00 instead of 0x0e for polyline in polish input (*.mp)
  279.  
  280. ------------------------------------------------------------------------
  281. r4499 | gerd | 2020-05-23 16:12:56 +0300 (Sat, 23 May 2020) | 1 line
  282.  
  283. fix is_in() style function. isPointInShape_v3.patch by Ticker Berkin, modified
  284. ------------------------------------------------------------------------
  285. r4502 | gerd | 2020-05-25 09:38:27 +0300 (Mon, 25 May 2020) | 1 line
  286.  
  287. add one more method to GpxCreator which helps debugging
  288. ------------------------------------------------------------------------
  289. r4503 | gerd | 2020-05-25 09:43:11 +0300 (Mon, 25 May 2020) | 1 line
  290.  
  291. merge the nearby-POI branch which implements and documents new options --nearby-poi-rules and --nearby-poi-rules-config.
  292. ------------------------------------------------------------------------
  293. r4504 | gerd | 2020-05-27 21:47:52 +0300 (Wed, 27 May 2020) | 1 line
  294.  
  295. Add robustness for length style function. Nested relations may form loops like A has member B and B has member A.
  296. ------------------------------------------------------------------------
  297. r4505 | gerd | 2020-05-28 09:38:56 +0300 (Thu, 28 May 2020) | 2 lines
  298.  
  299. Improve documentation, add hints about performance tuning (nsis-doc3.patch by Mike Baggaley)
  300.  
  301. ------------------------------------------------------------------------
  302. r4506 | gerd | 2020-05-28 12:17:53 +0300 (Thu, 28 May 2020) | 4 lines
  303.  
  304. Improve performance in combiner phase:
  305. - Avoid to read full LBL file when we only need the header info
  306. - Avoid to repeat the extraction of the mapId field when sorting the names of the *.img files.
  307. Saves some seconds when processing many tiles.
  308. ------------------------------------------------------------------------
  309. r4507 | gerd | 2020-06-03 10:14:52 +0300 (Wed, 03 Jun 2020) | 7 lines
  310.  
  311. improve POIGeneratorHook
  312. - add parameter list to option add-pois-to-lines to give user more control about the POIs that are generated
  313. - copy tags of original nodes with prefix mkgmap:from-node: to the generated POI when the points style checks the value. Example usage:
  314. mkgmap:from-node:highway = turning_circle & highway = track [0x641a resolution 24]
  315. mkgmap:from-node:highway = turning_circle & highway != track [0x641b resolution 24]
  316. - change OsmReadingHooks interface so that the style is passed in init()
  317. - some minor code simplifications
  318. ------------------------------------------------------------------------
  319. r4508 | gerd | 2020-06-03 17:08:10 +0300 (Wed, 03 Jun 2020) | 1 line
  320.  
  321. minor code improvements, no change in output expected
  322. ------------------------------------------------------------------------
  323. r4509 | gerd | 2020-06-03 17:34:31 +0300 (Wed, 03 Jun 2020) | 1 line
  324.  
  325. minor code improvements, no change in output expected
  326. ------------------------------------------------------------------------
  327. r4510 | gerd | 2020-06-03 18:06:32 +0300 (Wed, 03 Jun 2020) | 1 line
  328.  
  329. minor code improvements, no change in output expected
  330. ------------------------------------------------------------------------
  331. r4511 | gerd | 2020-06-03 18:15:07 +0300 (Wed, 03 Jun 2020) | 1 line
  332.  
  333. allow to use single or double quotes in the name-tag-list option
  334. ------------------------------------------------------------------------
  335. r4512 | gerd | 2020-06-04 07:53:27 +0300 (Thu, 04 Jun 2020) | 1 line
  336.  
  337. improve "file doesn't exist" message: put name in quotes
  338. ------------------------------------------------------------------------
  339. r4513 | gerd | 2020-06-04 09:57:38 +0300 (Thu, 04 Jun 2020) | 1 line
  340.  
  341. fix obvious typo in evaluation of seamark:light:character found by sonarlint
  342. ------------------------------------------------------------------------
  343. r4514 | gerd | 2020-06-04 11:10:18 +0300 (Thu, 04 Jun 2020) | 1 line
  344.  
  345. minor code simplifications, no change in output intended
  346. ------------------------------------------------------------------------
  347. r4515 | gerd | 2020-06-04 11:49:42 +0300 (Thu, 04 Jun 2020) | 1 line
  348.  
  349. minor code improvements, no change in output expected
  350. ------------------------------------------------------------------------
  351. r4516 | gerd | 2020-06-04 16:34:33 +0300 (Thu, 04 Jun 2020) | 1 line
  352.  
  353. slightly improve variable names and javadoc
  354. ------------------------------------------------------------------------
  355. r4517 | gerd | 2020-06-04 16:44:48 +0300 (Thu, 04 Jun 2020) | 4 lines
  356.  
  357. Implement check for options which expect comma separated lists of values like --name-tag-list
  358. Use common code to parse these lists (allow quote or double quote, detect comma at end as error)
  359.  
  360. Intention is to find those cases where a misplaced blank ended the list so that a following string is not recognized as part of the list but as an input file. Should lead to more helpful error messages/warnings.
  361. ------------------------------------------------------------------------
  362. r4518 | gerd | 2020-06-07 08:59:03 +0300 (Sun, 07 Jun 2020) | 1 line
  363.  
  364. Swaziland changed name to Eswatini (eswatini.patch)
  365. ------------------------------------------------------------------------
  366. r4519 | gerd | 2020-06-07 11:27:50 +0300 (Sun, 07 Jun 2020) | 1 line
  367.  
  368. add new method Element.getBasicLogInformation() to replace duplicated code
  369. ------------------------------------------------------------------------
  370. r4520 | gerd | 2020-06-07 11:40:29 +0300 (Sun, 07 Jun 2020) | 8 lines
  371.  
  372. Implement new style function is_drive_on_left()
  373. The function can be used in points, lines and polygons.
  374. The function returns "true" or "false". The return code depends on the information stored in the LocatorConfig.xml and on the iso code in the tag mkgmap:admin_level2. If the latter is not set the function tries the value in mkgmap:country.
  375. If both are not set the function returns false.
  376. If the iso code is not found in LocatorConfig.xml the function returns false.
  377. If the iso code is found and the driveOnLeft attribute is not set in LocatorConfig.xml the function returns false.
  378. If (and only if) the iso code is found and the driveOnLeft attribute is set in LocatorConfig.xml the function returns true.
  379.  
  380. ------------------------------------------------------------------------
  381. r4521 | gerd | 2020-06-07 18:05:28 +0300 (Sun, 07 Jun 2020) | 2 lines
  382.  
  383. fix stupid typo lenght -> length to make length() style function work again
  384. Error was introduced with r4520.
  385. ------------------------------------------------------------------------
  386. r4522 | gerd | 2020-06-07 21:42:05 +0300 (Sun, 07 Jun 2020) | 1 line
  387.  
  388. fix position of documentation for is_drive_on_left() style function
  389. ------------------------------------------------------------------------
  390. r4523 | gerd | 2020-06-08 08:44:30 +0300 (Mon, 08 Jun 2020) | 5 lines
  391.  
  392. nearby POI: fix nonsense message "Removed nearby (<0 m) POI with ..."
  393. - use getDisplayedCoord() when calculating the distance used in log messages
  394. - use string <= in the log messages
  395.  
  396. There is still a glitch in the calculation of the nearby POIs as KdTree also ignores the possible distance between the displayed point and the point returned by getLocation(). Have to think about that again.
  397. ------------------------------------------------------------------------
  398. r4524 | gerd | 2020-06-09 08:37:17 +0300 (Tue, 09 Jun 2020) | 29 lines
  399.  
  400. Improve default style points: defaultStylePoints5.patch by Ticker Berkin
  401. Summary of changes:
  402. - for amenity={atm/bar/cafe} allow additional POI from other tags,
  403. eg shop=bakery or any others: leisure/tourism/sport/...=...
  404. - create POI 0x6605 for bench (Geographic>Land>Bench)
  405. - don't create POI for private parking
  406. - create parking POI for parking_entrance
  407. - if parking unnamed, use access tag if exists, giving names like
  408. "Customer parking", "Permissive parking"...
  409. - explicit shelter_type=basic_hut rather that trying to exclude
  410. bus shelters etc for Find>Lodgings
  411. - marina code from 0x4300 to 0x2f09; searchable as "Others"
  412. - POI for nature_reserve, even if not named
  413. - don't create POI for pitch if no name or sport
  414. - don't create POI for private swimming pools
  415. - don't create POI for unnamed cliff
  416. - add POI 0x6503 for named bay (Geographic>Water>Bay)
  417. - for platforms, just 1 POI when --add-pois-to-lines
  418. - name unnamed shops as category, regardless of category being matched
  419. - add, commented out, extra shop categories supported by some devices
  420. - add POI for shop=outdoor
  421. - for {camp/caravan}_site have BOTH 0x2b03 AND 0x2b05;
  422. 03 not shown on modern devices, 05 not shown on old devices
  423. - have both Food & Lodging POI for same point if appropriate
  424. - landuse=basin code from 0x650f (Geographic>Water>Reservoir)
  425. to 0x6603 (Geographic>Land>Basin)
  426. - water=reservoir as well as landuse=reservoir
  427. - add POI 0x650d for named water=lake/pond (Geograhic>Water>Lake)
  428.  
  429. ------------------------------------------------------------------------
  430. r4525 | gerd | 2020-06-09 09:33:41 +0300 (Tue, 09 Jun 2020) | 1 line
  431.  
  432. nearby-poi: compare high prec locations in removeSimpleDuplicates() to handle duplicate POI which were moved to different places by WrongAngleFixer.
  433. ------------------------------------------------------------------------
  434. r4526 | gerd | 2020-06-13 09:12:05 +0300 (Sat, 13 Jun 2020) | 11 lines
  435.  
  436. exists.patch by Ticker Berkin with one minor change: add motorroad to used tags in HighwayHooks
  437. - set exit:road_ref for highway=rest_area as well as motorway_junction and services.
  438. - do the above for motorroad, trunk and primary highways as well as motorways.
  439. - for services and rest_area, if option --link-pois-to-ways is set, handle "Ways" in a similar manner to "Nodes".
  440. - allow the point/area in above to be slightly off the road.
  441. - improve the efficiency of the setting of exit:road_ref for motorway_junction.
  442. - Change the typCode of motorway junction from 0x2100 (Exit with Services) to 0x2000 (Exit without Services) and only do if exit:road_ref is set. Also attempt to set exit:to from standard OSM tags exit_to or destination.
  443. - Change the typCode of services from 0x210f (see above) to 0x230f (Exit Service Area), do even if generated from polygon, set some facilities and show at a lower resolution.
  444. - correct the allowable ranges of the different POI subtypes.
  445.  
  446.  
  447. ------------------------------------------------------------------------
  448. r4527 | gerd | 2020-06-13 21:03:46 +0300 (Sat, 13 Jun 2020) | 2 lines
  449.  
  450. refactoring, no functional change
  451.  
  452. ------------------------------------------------------------------------
  453. r4528 | gerd | 2020-06-13 23:04:57 +0300 (Sat, 13 Jun 2020) | 4 lines
  454.  
  455. refactoring, no functional change intended
  456. - use common name scheme for constants reg. TagDict.getinstance().xlate()
  457. - improve housenumber/HousenumberGenerator
  458.  
  459. ------------------------------------------------------------------------
  460. r4529 | gerd | 2020-06-13 23:17:01 +0300 (Sat, 13 Jun 2020) | 1 line
  461.  
  462. fix compile error
  463. ------------------------------------------------------------------------
  464. r4530 | gerd | 2020-06-13 23:27:47 +0300 (Sat, 13 Jun 2020) | 1 line
  465.  
  466. use indexOf(char) instead of indexOf(String) where possible
  467. ------------------------------------------------------------------------
  468. r4531 | gerd | 2020-06-14 00:06:10 +0300 (Sun, 14 Jun 2020) | 3 lines
  469.  
  470. refactoring, no funnctional change intended
  471. - replace "== false"
  472. - remove "== true"
  473. ------------------------------------------------------------------------
  474. r4532 | gerd | 2020-06-14 09:22:08 +0300 (Sun, 14 Jun 2020) | 1 line
  475.  
  476. enable -Xlint
  477. ------------------------------------------------------------------------
  478. r4533 | gerd | 2020-06-14 09:35:51 +0300 (Sun, 14 Jun 2020) | 5 lines
  479.  
  480. lintWarn.patch by Ticker Berkin:
  481. "Here are some fixes to warnings I get when I build with options
  482. -XLint:all -Xlint:-serial -Xlint:-path
  483.  
  484. also an improvement to where city/zip/highway/exitFac ptr sizes are calculated when POIs are written"
  485. ------------------------------------------------------------------------
  486. r4534 | gerd | 2020-06-14 10:15:58 +0300 (Sun, 14 Jun 2020) | 1 line
  487.  
  488. fix remaining xLint issue although it's a false positive
  489. ------------------------------------------------------------------------
  490. r4535 | gerd | 2020-06-14 10:19:52 +0300 (Sun, 14 Jun 2020) | 1 line
  491.  
  492. options: correct wording sample -> example
  493. ------------------------------------------------------------------------
  494. r4536 | gerd | 2020-06-14 11:01:17 +0300 (Sun, 14 Jun 2020) | 1 line
  495.  
  496. code simplification: use Map.computeIfAbsent()
  497. ------------------------------------------------------------------------
  498. r4537 | gerd | 2020-06-14 13:21:48 +0300 (Sun, 14 Jun 2020) | 4 lines
  499.  
  500. Fix severe error in handling of option --road-name-config
  501. The code produced wrong results for countries with prefixes because a sort was missing.
  502. Effect: for "Place de l'Etoile" the detected prefix was "Place de" instead of the longer "Place de l'"
  503.  
  504. ------------------------------------------------------------------------
  505. r4538 | gerd | 2020-06-14 15:14:16 +0300 (Sun, 14 Jun 2020) | 1 line
  506.  
  507. improve code, no functional change expected
  508. ------------------------------------------------------------------------
  509. r4539 | gerd | 2020-06-14 17:16:03 +0300 (Sun, 14 Jun 2020) | 4 lines
  510.  
  511. minor code improvements
  512. - Replace the type specification in this constructor call with the diamond operator ("<>").
  513. - Reorder the modifiers to comply with the Java Language Specification.
  514. - Move string literal on the left side of string comparison.
  515. ------------------------------------------------------------------------
  516. r4540 | gerd | 2020-06-15 09:10:27 +0300 (Mon, 15 Jun 2020) | 1 line
  517.  
  518. Don't create cycleway for route=ferry when ferry way has oneway tag and --make-opposite-cycleways is active
  519. ------------------------------------------------------------------------
  520. r4541 | gerd | 2020-06-15 09:45:12 +0300 (Mon, 15 Jun 2020) | 6 lines
  521.  
  522. Simplify code, slightly improve performance
  523. OsmReadingHooks: replace onCoordAddedToWay() method by onNodeAddedToWay()
  524. - now the method is (really) only called when a tagged node is added to a way
  525. - the node is passed as argument, it will never be null.
  526. The old code called the hook for every node, but no hook was interested in untagged nodes. Those hooks which implemented the method all used saver.getNode() to find the node which triggered the call. Now this is done only once in OsmHandler.
  527.  
  528. ------------------------------------------------------------------------
  529. r4542 | gerd | 2020-06-15 11:43:38 +0300 (Mon, 15 Jun 2020) | 4 lines
  530.  
  531. minor code improvements
  532. - Replace the type specification in this constructor call with the diamond operator ("<>").
  533. - Reorder the modifiers to comply with the Java Language Specification.
  534. - add static to some methods
  535. ------------------------------------------------------------------------
  536. r4543 | gerd | 2020-06-15 12:24:27 +0300 (Mon, 15 Jun 2020) | 1 line
  537.  
  538. simplify code, no functional change
  539. ------------------------------------------------------------------------
  540. r4544 | gerd | 2020-06-15 12:57:46 +0300 (Mon, 15 Jun 2020) | 1 line
  541.  
  542. improve code, use lambdas
  543. ------------------------------------------------------------------------
  544. r4545 | gerd | 2020-06-15 13:01:46 +0300 (Mon, 15 Jun 2020) | 3 lines
  545.  
  546. simplify code:
  547. - use default in interface OsmConverter
  548. - add more @override
  549. ------------------------------------------------------------------------
  550. r4546 | gerd | 2020-06-15 13:38:06 +0300 (Mon, 15 Jun 2020) | 2 lines
  551.  
  552. improve code: fix sonarlint issues reg. "Move the string literal on the left side of string comparison."
  553.  
  554. ------------------------------------------------------------------------
  555. r4547 | gerd | 2020-06-16 09:02:29 +0300 (Tue, 16 Jun 2020) | 1 line
  556.  
  557. revert changes from r4541, result is not the same
  558. ------------------------------------------------------------------------
  559. r4548 | gerd | 2020-06-16 11:18:53 +0300 (Tue, 16 Jun 2020) | 6 lines
  560.  
  561. rework handling of nodes in osm input files
  562. - see also r4541 and r4547 which reverted it (problem was that HousenumberHooks expected that the hook was called for each coord of a way)
  563. - replace onCoordAddedToWay by onNodeAddedToWay again, be aware that the hooks can replace the objects which are associated with the node id.
  564. - change HousenumberHooks so that the tagged nodes of interpolation ways are properly collected
  565. - move common code for node members of relations into ElementSaver
  566. - further simplify code in HousenumberHooks by using streams
  567. ------------------------------------------------------------------------
  568. r4549 | gerd | 2020-06-16 12:12:35 +0300 (Tue, 16 Jun 2020) | 5 lines
  569.  
  570. code simplification (osmstyle), no functional change intended
  571. - move common code in toString() methods to calcValueBuildersString(), it is only used when debugging
  572. - remove commented or dead code and some TODO statements
  573. - add @override
  574. - various other small changes suggested by sonarlint
  575. ------------------------------------------------------------------------
  576. r4550 | gerd | 2020-06-16 12:41:00 +0300 (Tue, 16 Jun 2020) | 2 lines
  577.  
  578. refactoring, no functional change
  579. rename variable fmt to sb cause it's a StringBuilder, not a Formatter
  580. ------------------------------------------------------------------------
  581. r4551 | gerd | 2020-06-19 18:14:01 +0300 (Fri, 19 Jun 2020) | 1 line
  582.  
  583. Report type(node,way,relation) of original element in "generated from" messages (slightly modified generated-from.patch)
  584. ------------------------------------------------------------------------
  585. r4552 | gerd | 2020-06-20 06:51:27 +0300 (Sat, 20 Jun 2020) | 6 lines
  586.  
  587. miscDoc_v2.patch by Ticker Berkin:
  588. "Here are some documentation fixes & improvements + a change to
  589. build.xml to use 4 chars for the unknown version number so that offsets
  590. match the typical 4 digit svn version number. This minimises noise when
  591. comparing the display of internal structures."
  592.  
  593. ------------------------------------------------------------------------
  594. r4553 | gerd | 2020-06-20 14:42:35 +0300 (Sat, 20 Jun 2020) | 1 line
  595.  
  596. doc: improve formatting (miscDoc_v3.patch by Ticker Berkin)
  597. ------------------------------------------------------------------------
  598. r4554 | steve | 2020-06-22 16:37:19 +0300 (Mon, 22 Jun 2020) | 4 lines
  599.  
  600. Fix for text rendering of documentation
  601.  
  602. Well hopefully... see if it builds
  603.  
  604. ------------------------------------------------------------------------
  605. r4555 | steve | 2020-06-22 19:00:28 +0300 (Mon, 22 Jun 2020) | 5 lines
  606.  
  607. juncArea.path by Ticker Berkin
  608.  
  609. Warn when something not a Node is tagged as highway=motorway_junction
  610. instead of crashing.
  611.  
  612. ------------------------------------------------------------------------
  613. r4556 | gerd | 2020-07-09 09:48:02 +0300 (Thu, 09 Jul 2020) | 5 lines
  614.  
  615. route1.patch by Steve Ratcliffe (modified)
  616. - reverts the size improvements introduced with r4360, but seems to improve routing on devices
  617. - I added undocumented option --x-no-force-end-nodes-routing-nodes which can be used to get the previous behaviour of r4555
  618.  
  619.  
  620. ------------------------------------------------------------------------
  621. r4557 | gerd | 2020-07-09 09:50:52 +0300 (Thu, 09 Jul 2020) | 3 lines
  622.  
  623. Sorry, last minute change was not saved to file
  624.  
  625.  
  626. ------------------------------------------------------------------------
  627. r4558 | gerd | 2020-07-09 11:27:25 +0300 (Thu, 09 Jul 2020) | 1 line
  628.  
  629. adapt unit test to match increased NOD file size
  630. ------------------------------------------------------------------------
  631. r4559 | gerd | 2020-07-09 12:07:22 +0300 (Thu, 09 Jul 2020) | 3 lines
  632.  
  633. Make sure that way members of turn restriction relations start and end with routing nodes even when --x-no-force-end-nodes-routing-nodes is used.
  634. Fixes an error that was introduced with r4360. Certain no-u-turn restrictions were ignored:
  635. WARN: uk.me.parabola.imgfmt.app.net.RoadNetwork ... Turn restriction (no_u_turn) http://www.openstreetmap.org/relation/5975593 (at http://www.openstreetmap.org/?mlat=51.050000&mlon=-1.348031&zoom=17) can't locate 'from' RouteNode for 'from' way 397748521
  636. ------------------------------------------------------------------------
  637. r4560 | gerd | 2020-07-09 12:08:42 +0300 (Thu, 09 Jul 2020) | 3 lines
  638.  
  639. Ouch, committed again experimental code. Now really: Make sure that way members of turn restriction relations start and end with routing nodes even when --x-no-force-end-nodes-routing-nodes is used.
  640. Fixes an error that was introduced with r4360. Certain no-u-turn restrictions were ignored:
  641. WARN: uk.me.parabola.imgfmt.app.net.RoadNetwork ... Turn restriction (no_u_turn) http://www.openstreetmap.org/relation/5975593 (at http://www.openstreetmap.org/?mlat=51.050000&mlon=-1.348031&zoom=17) can't locate 'from' RouteNode for 'from' way 397748521
  642. ------------------------------------------------------------------------
  643. r4561 | gerd | 2020-07-09 12:14:33 +0300 (Thu, 09 Jul 2020) | 3 lines
  644.  
  645. miscDoc_v4.patch by Ticker Berkin:
  646. "Minor documentation fix and correction of mapnik.txt after I reallocated some EXIT point types."
  647.  
  648. ------------------------------------------------------------------------
  649. r4562 | gerd | 2020-07-10 10:50:13 +0300 (Fri, 10 Jul 2020) | 1 line
  650.  
  651. fix wording in warning message
  652. ------------------------------------------------------------------------
  653. r4563 | gerd | 2020-07-21 07:27:11 +0300 (Tue, 21 Jul 2020) | 3 lines
  654.  
  655. routeableLines.patch by Ticker Berkin
  656. fixes isSpecialRoutableLineType() to values that definitely make BaseCamp routeing to fail when they are used for a non-routeable line and a change to allow mkgmap:set-[un,semi-]connected-type to be a non-routeable type lower than 0x30
  657.  
  658. ------------------------------------------------------------------------
  659. r4564 | gerd | 2020-07-21 07:30:59 +0300 (Tue, 21 Jul 2020) | 3 lines
  660.  
  661. roadspeed_v2.patch by Ticker Berkin
  662. - evaluate maxspeed:advisory
  663. - reduce speed for motorways outside Germany if no maxspeed value given
  664. ------------------------------------------------------------------------
  665. r4565 | gerd | 2020-07-22 22:17:21 +0300 (Wed, 22 Jul 2020) | 1 line
  666.  
  667. implement undocumented option --x-keep-empty-value-tags to disable the removal of empty tags while parsing OSM input
  668. ------------------------------------------------------------------------
  669.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement