Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------------------------------------------------
- r4432 | gerd | 2020-01-27 11:22:45 +0300 (Mon, 27 Jan 2020) | 8 lines
- utf8-v3.patch by Ticker Berkin
- - uses StandardCharsets.* where possible.
- - notes some usage of the java local DefaultCharset.
- - changed a couple of these to force utf-8 instead.
- - 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.
- - accepts/ignores unicode BOM in more files
- - uses try (open...) {} where possible in files changed for the above reasons.
- ------------------------------------------------------------------------
- r4433 | gerd | 2020-01-30 17:36:34 +0300 (Thu, 30 Jan 2020) | 2 lines
- improve documentation (Patch by Mike Baggaley)
- TODO: add program to compile help/en/options from doc/options.txt during the build process
- ------------------------------------------------------------------------
- r4434 | gerd | 2020-01-31 10:23:28 +0300 (Fri, 31 Jan 2020) | 1 line
- remove :: from pre-formatted section in documentation
- ------------------------------------------------------------------------
- r4435 | gerd | 2020-02-03 17:19:12 +0300 (Mon, 03 Feb 2020) | 5 lines
- reduce line distortion:
- - 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.
- - 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.
- See also http://gis.19327.n8.nabble.com/distorted-lines-again-tp5957394.html
- ------------------------------------------------------------------------
- r4436 | gerd | 2020-02-04 13:23:43 +0300 (Tue, 04 Feb 2020) | 4 lines
- 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).
- This is likely to happen in "empty" areas like parts of Africa or Canada, unlikely in dense areas like Germany.
- Problem was introduced in the NET-no-NOD branch.
- In tiles where this problem occured the img size will grow a little bit.
- ------------------------------------------------------------------------
- r4437 | gerd | 2020-02-04 16:59:16 +0300 (Tue, 04 Feb 2020) | 1 line
- perform some basic checks for invalid type/subtype in polish (.mp) input
- ------------------------------------------------------------------------
- r4448 | gerd | 2020-02-13 12:15:26 +0300 (Thu, 13 Feb 2020) | 3 lines
- fix possible NPE introduced with r4432
- FileNotFoundException was ignored. May result in a NullPointerException when input file is not in the expected format. e.g. with
- java -jar mkgmap.jar .
- ------------------------------------------------------------------------
- r4450 | gerd | 2020-02-13 13:32:00 +0300 (Thu, 13 Feb 2020) | 3 lines
- Produce better error message when input-file is a directory
- This also prevents a possible StringIndexOutOfBoundsException
- ------------------------------------------------------------------------
- r4452 | gerd | 2020-02-15 10:41:44 +0300 (Sat, 15 Feb 2020) | 6 lines
- documentation improvements and program to generate help file options from doc/options.txt
- Based on patches from Mike Baggaley
- To generate help/en/options from doc/options.txt use
- ant gen-options-file
- Take care: no backup is made, manual changes are overwritten
- ------------------------------------------------------------------------
- r4454 | gerd | 2020-02-20 12:16:06 +0300 (Thu, 20 Feb 2020) | 3 lines
- 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.
- ------------------------------------------------------------------------
- r4462 | gerd | 2020-03-05 08:34:19 +0300 (Thu, 05 Mar 2020) | 13 lines
- implement new option --dead-ends[=key[=value]][,key[=value]...]
- --dead-ends[=key[=value]][,key[=value]...]
- Specify a list of keys and optional values that should be considered to be
- valid dead ends when found on the node at the end of a way. Ways with nodes
- matching any of the items in the list will not be reported as dead ends. If
- no value or * is specified for value then presence of the key alone will
- cause the dead end check to be skipped. The default is
- --dead-ends=fixme,FIXME.
- Also corrects some typos in documentation and javadoc.
- deadendcheck3.patch by Mike Baggaley with small modifications
- ------------------------------------------------------------------------
- r4463 | gerd | 2020-03-07 09:02:00 +0300 (Sat, 07 Mar 2020) | 5 lines
- minor documentation update (options_v3.patch by Ticker Berkin)
- Changes are mostly adding some missing blank lines between options and
- removing some excess ones. Also fix a line folding problem that show on
- the web-site and remove trailing spaces.
- ------------------------------------------------------------------------
- r4464 | gerd | 2020-03-07 09:13:25 +0300 (Sat, 07 Mar 2020) | 3 lines
- merge the is-in branch
- - adds the new style function is_in(), see style documentation for details.
- - the ResidentialHook is disabled if the style doesn't explicitely use mkgmap:residential
- ------------------------------------------------------------------------
- r4465 | gerd | 2020-03-09 08:41:06 +0300 (Mon, 09 Mar 2020) | 1 line
- improve error message when reading invalid (0-bytes) *.img file
- ------------------------------------------------------------------------
- r4466 | gerd | 2020-03-13 16:22:58 +0300 (Fri, 13 Mar 2020) | 2 lines
- backgroundMP.patch by Andrzej Popowski
- Improve polish reader compatibility with cGPSmapper reg. background polygon(s)
- ------------------------------------------------------------------------
- r4467 | gerd | 2020-03-15 11:46:53 +0300 (Sun, 15 Mar 2020) | 1 line
- fix regression introduced with r4437: allow 0x4a polygon in polish input
- ------------------------------------------------------------------------
- r4468 | gerd | 2020-03-16 10:03:54 +0300 (Mon, 16 Mar 2020) | 1 line
- fix some issues reported by sonarlint, no functional change
- ------------------------------------------------------------------------
- r4469 | gerd | 2020-03-18 21:17:34 +0300 (Wed, 18 Mar 2020) | 2 lines
- fix performance issue introduced with merge from is-in branch:
- Use again Area.contains() instead of BoundaryUtil.pointInsideArea()
- ------------------------------------------------------------------------
- r4470 | gerd | 2020-03-18 21:23:28 +0300 (Wed, 18 Mar 2020) | 2 lines
- genSea.patch by Ticker Berkin
- fixes flooded areas caused by changes in r4392 and other issues with unclosed coastlines
- ------------------------------------------------------------------------
- r4471 | gerd | 2020-03-19 07:53:28 +0300 (Thu, 19 Mar 2020) | 1 line
- remove dead code
- ------------------------------------------------------------------------
- r4472 | gerd | 2020-03-19 09:24:59 +0300 (Thu, 19 Mar 2020) | 4 lines
- Make sure that getKeystring() doesn't return something like null=way for a rule which cannot be indexed, e.g.
- type()=way [0x02]
- or
- type()=way & highway!=* {add blabla}
- ------------------------------------------------------------------------
- r4473 | gerd | 2020-03-19 11:30:47 +0300 (Thu, 19 Mar 2020) | 1 line
- use high precision in BoundaryQuadTree.Node.get()
- ------------------------------------------------------------------------
- r4474 | gerd | 2020-03-23 08:51:18 +0300 (Mon, 23 Mar 2020) | 3 lines
- implement support for --copyright-file and --copyright-message option in PolishReader.
- (mp-copyright.patch)
- ------------------------------------------------------------------------
- r4475 | gerd | 2020-03-26 09:27:41 +0300 (Thu, 26 Mar 2020) | 5 lines
- improvements for typ file source mapnik.txt
- - removes a "," from a default string.
- - doesn't indent the Bay Xpm section.
- - fixes a spelling mistake.
- Patch by Ticker Berkin
- ------------------------------------------------------------------------
- r4476 | gerd | 2020-04-01 12:16:32 +0300 (Wed, 01 Apr 2020) | 11 lines
- mapnik-TYPViewer-2.patch by Ticker Berkin:
- I've changed the characters used to represent the pixels in the bay
- icon. I've just loaded TYPViewer and used it to convert latest
- mapnik.txt to mapnik.typ. It seemed quite happy to do this, but when
- using TYPViewer to read back the .typ file, it gives the errors:
- Error while reading polygon 0x03d/00 : Error #9 Description:
- Subscript out of range
- ...
- This patch stop this happening.
- ------------------------------------------------------------------------
- r4477 | gerd | 2020-04-02 15:13:29 +0300 (Thu, 02 Apr 2020) | 10 lines
- mapnik-TYPViewer-3.patch by Ticker Berkin:
- - mkgmap TYP compiler skips [_comments] ... [End] sections
- - for TYP lines in the [_id] section like:
- ProductCode=
- FID=
- CodePage=
- 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.
- - put the mapnik.txt copyright message etc in the new [_comments] section
- - a few minor layout tweaks to mapnik.txt
- ------------------------------------------------------------------------
- r4478 | gerd | 2020-04-07 16:17:21 +0300 (Tue, 07 Apr 2020) | 2 lines
- - add range check for --family-id, value must be in the range 1..65535, not 1..9999
- - document the larger range
- ------------------------------------------------------------------------
- r4479 | gerd | 2020-04-09 16:28:30 +0300 (Thu, 09 Apr 2020) | 2 lines
- improve documentation: options4.txt.patch by Mike Baggaley
- ------------------------------------------------------------------------
- r4480 | gerd | 2020-04-13 09:25:57 +0300 (Mon, 13 Apr 2020) | 1 line
- Ignore tags with empty value when reading OSM files.
- ------------------------------------------------------------------------
- r4481 | gerd | 2020-04-14 15:41:12 +0300 (Tue, 14 Apr 2020) | 5 lines
- Improve documentation of options (Patch by Ticker Berkin)
- - layout and spacing
- - gmapi and family-name
- - generate-sea options
- ------------------------------------------------------------------------
- r4482 | gerd | 2020-04-15 12:02:03 +0300 (Wed, 15 Apr 2020) | 28 lines
- improve evaluation of barrier=* nodes (barrierAccess.patch by Ticker Berkin)
- Default style "points" has code that, when option --link-pois-to-ways
- is in effect, sets highway access and speed restrictions that mkgmap
- then imposes on the highway that the point is on.
- These rules had various errors:
- - didn't expand the access mode hierarchy, see
- https://wiki.openstreetmap.org/wiki/Key:access
- - tested the wrong tag for mkgmap:bus and mkgmap:delivery
- - if the "access" tag was set, apply this to all modes before
- processing allowances and restrictions imposed by the
- barrier; but these actions would have no effect because the
- the specified mode tags are now all set
- - assumed that a gate stops motor_vehicle access
- - didn't handle other common forms of gate
- - allowed bicycle through kissing_gate and stile
- This patch fixes these problems and also adds a speed restriction for
- all barriers.
- The general principle is that barrier rules add specific "no"
- restrictions that the barrier prevents, but must not add "yes".
- The "access" tag is a default for all modes not implicitly or explicit
- handled; there could be, say, osm tags [barrier=stile,
- access=destination] and this should not imply there is unrestricted
- foot access.
- ------------------------------------------------------------------------
- r4483 | gerd | 2020-04-19 10:34:02 +0300 (Sun, 19 Apr 2020) | 2 lines
- fix documentation for --licence-file reg. underscores
- $LONG_DATE$ -> $LONGDATE$, $SHORT_DATE$ -> $SHORTDATE$
- ------------------------------------------------------------------------
- r4484 | gerd | 2020-04-27 18:29:33 +0300 (Mon, 27 Apr 2020) | 1 line
- improve/correct example roadNameConfig.txt (patches by Ticker Berkin and Mike Baggaley)
- ------------------------------------------------------------------------
- r4485 | gerd | 2020-04-30 11:15:47 +0300 (Thu, 30 Apr 2020) | 3 lines
- Implement and document new options --nearby-poi-rules and --nearby-poi-rules-config
- Patch nearbyPOI8.patch by Mike Baggaley
- ------------------------------------------------------------------------
- r4486 | gerd | 2020-05-06 11:36:53 +0300 (Wed, 06 May 2020) | 1 line
- revert changes r4485 nearby-POI handling needs more thinking
- ------------------------------------------------------------------------
- r4493 | gerd | 2020-05-21 10:06:39 +0300 (Thu, 21 May 2020) | 1 line
- fix some sonarlint issues, simplify code (no change in output expected)
- ------------------------------------------------------------------------
- r4494 | gerd | 2020-05-21 11:41:43 +0300 (Thu, 21 May 2020) | 1 line
- fix some sonarlint issues, simplify code (no change in output expected)
- ------------------------------------------------------------------------
- r4495 | gerd | 2020-05-21 12:53:25 +0300 (Thu, 21 May 2020) | 2 lines
- isin.patch: allow to use '*' as a value in the is_in style function
- ------------------------------------------------------------------------
- r4496 | gerd | 2020-05-22 16:59:30 +0300 (Fri, 22 May 2020) | 2 lines
- Allow to use e.g. type 0x5400 instead of 0x54 for polygons in polish input (*.mp)
- We did that already for special type 0x4b00.
- ------------------------------------------------------------------------
- r4497 | gerd | 2020-05-23 09:01:54 +0300 (Sat, 23 May 2020) | 2 lines
- Allow to use e.g. type 0x0e00 instead of 0x0e for polyline in polish input (*.mp)
- Forgot that in the previous change.
- ------------------------------------------------------------------------
- r4498 | gerd | 2020-05-23 09:14:05 +0300 (Sat, 23 May 2020) | 2 lines
- Now really allow to use e.g. type 0x0e00 instead of 0x0e for polyline in polish input (*.mp)
- ------------------------------------------------------------------------
- r4499 | gerd | 2020-05-23 16:12:56 +0300 (Sat, 23 May 2020) | 1 line
- fix is_in() style function. isPointInShape_v3.patch by Ticker Berkin, modified
- ------------------------------------------------------------------------
- r4502 | gerd | 2020-05-25 09:38:27 +0300 (Mon, 25 May 2020) | 1 line
- add one more method to GpxCreator which helps debugging
- ------------------------------------------------------------------------
- r4503 | gerd | 2020-05-25 09:43:11 +0300 (Mon, 25 May 2020) | 1 line
- merge the nearby-POI branch which implements and documents new options --nearby-poi-rules and --nearby-poi-rules-config.
- ------------------------------------------------------------------------
- r4504 | gerd | 2020-05-27 21:47:52 +0300 (Wed, 27 May 2020) | 1 line
- Add robustness for length style function. Nested relations may form loops like A has member B and B has member A.
- ------------------------------------------------------------------------
- r4505 | gerd | 2020-05-28 09:38:56 +0300 (Thu, 28 May 2020) | 2 lines
- Improve documentation, add hints about performance tuning (nsis-doc3.patch by Mike Baggaley)
- ------------------------------------------------------------------------
- r4506 | gerd | 2020-05-28 12:17:53 +0300 (Thu, 28 May 2020) | 4 lines
- Improve performance in combiner phase:
- - Avoid to read full LBL file when we only need the header info
- - Avoid to repeat the extraction of the mapId field when sorting the names of the *.img files.
- Saves some seconds when processing many tiles.
- ------------------------------------------------------------------------
- r4507 | gerd | 2020-06-03 10:14:52 +0300 (Wed, 03 Jun 2020) | 7 lines
- improve POIGeneratorHook
- - add parameter list to option add-pois-to-lines to give user more control about the POIs that are generated
- - copy tags of original nodes with prefix mkgmap:from-node: to the generated POI when the points style checks the value. Example usage:
- mkgmap:from-node:highway = turning_circle & highway = track [0x641a resolution 24]
- mkgmap:from-node:highway = turning_circle & highway != track [0x641b resolution 24]
- - change OsmReadingHooks interface so that the style is passed in init()
- - some minor code simplifications
- ------------------------------------------------------------------------
- r4508 | gerd | 2020-06-03 17:08:10 +0300 (Wed, 03 Jun 2020) | 1 line
- minor code improvements, no change in output expected
- ------------------------------------------------------------------------
- r4509 | gerd | 2020-06-03 17:34:31 +0300 (Wed, 03 Jun 2020) | 1 line
- minor code improvements, no change in output expected
- ------------------------------------------------------------------------
- r4510 | gerd | 2020-06-03 18:06:32 +0300 (Wed, 03 Jun 2020) | 1 line
- minor code improvements, no change in output expected
- ------------------------------------------------------------------------
- r4511 | gerd | 2020-06-03 18:15:07 +0300 (Wed, 03 Jun 2020) | 1 line
- allow to use single or double quotes in the name-tag-list option
- ------------------------------------------------------------------------
- r4512 | gerd | 2020-06-04 07:53:27 +0300 (Thu, 04 Jun 2020) | 1 line
- improve "file doesn't exist" message: put name in quotes
- ------------------------------------------------------------------------
- r4513 | gerd | 2020-06-04 09:57:38 +0300 (Thu, 04 Jun 2020) | 1 line
- fix obvious typo in evaluation of seamark:light:character found by sonarlint
- ------------------------------------------------------------------------
- r4514 | gerd | 2020-06-04 11:10:18 +0300 (Thu, 04 Jun 2020) | 1 line
- minor code simplifications, no change in output intended
- ------------------------------------------------------------------------
- r4515 | gerd | 2020-06-04 11:49:42 +0300 (Thu, 04 Jun 2020) | 1 line
- minor code improvements, no change in output expected
- ------------------------------------------------------------------------
- r4516 | gerd | 2020-06-04 16:34:33 +0300 (Thu, 04 Jun 2020) | 1 line
- slightly improve variable names and javadoc
- ------------------------------------------------------------------------
- r4517 | gerd | 2020-06-04 16:44:48 +0300 (Thu, 04 Jun 2020) | 4 lines
- Implement check for options which expect comma separated lists of values like --name-tag-list
- Use common code to parse these lists (allow quote or double quote, detect comma at end as error)
- 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.
- ------------------------------------------------------------------------
- r4518 | gerd | 2020-06-07 08:59:03 +0300 (Sun, 07 Jun 2020) | 1 line
- Swaziland changed name to Eswatini (eswatini.patch)
- ------------------------------------------------------------------------
- r4519 | gerd | 2020-06-07 11:27:50 +0300 (Sun, 07 Jun 2020) | 1 line
- add new method Element.getBasicLogInformation() to replace duplicated code
- ------------------------------------------------------------------------
- r4520 | gerd | 2020-06-07 11:40:29 +0300 (Sun, 07 Jun 2020) | 8 lines
- Implement new style function is_drive_on_left()
- The function can be used in points, lines and polygons.
- 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.
- If both are not set the function returns false.
- If the iso code is not found in LocatorConfig.xml the function returns false.
- If the iso code is found and the driveOnLeft attribute is not set in LocatorConfig.xml the function returns false.
- If (and only if) the iso code is found and the driveOnLeft attribute is set in LocatorConfig.xml the function returns true.
- ------------------------------------------------------------------------
- r4521 | gerd | 2020-06-07 18:05:28 +0300 (Sun, 07 Jun 2020) | 2 lines
- fix stupid typo lenght -> length to make length() style function work again
- Error was introduced with r4520.
- ------------------------------------------------------------------------
- r4522 | gerd | 2020-06-07 21:42:05 +0300 (Sun, 07 Jun 2020) | 1 line
- fix position of documentation for is_drive_on_left() style function
- ------------------------------------------------------------------------
- r4523 | gerd | 2020-06-08 08:44:30 +0300 (Mon, 08 Jun 2020) | 5 lines
- nearby POI: fix nonsense message "Removed nearby (<0 m) POI with ..."
- - use getDisplayedCoord() when calculating the distance used in log messages
- - use string <= in the log messages
- 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.
- ------------------------------------------------------------------------
- r4524 | gerd | 2020-06-09 08:37:17 +0300 (Tue, 09 Jun 2020) | 29 lines
- Improve default style points: defaultStylePoints5.patch by Ticker Berkin
- Summary of changes:
- - for amenity={atm/bar/cafe} allow additional POI from other tags,
- eg shop=bakery or any others: leisure/tourism/sport/...=...
- - create POI 0x6605 for bench (Geographic>Land>Bench)
- - don't create POI for private parking
- - create parking POI for parking_entrance
- - if parking unnamed, use access tag if exists, giving names like
- "Customer parking", "Permissive parking"...
- - explicit shelter_type=basic_hut rather that trying to exclude
- bus shelters etc for Find>Lodgings
- - marina code from 0x4300 to 0x2f09; searchable as "Others"
- - POI for nature_reserve, even if not named
- - don't create POI for pitch if no name or sport
- - don't create POI for private swimming pools
- - don't create POI for unnamed cliff
- - add POI 0x6503 for named bay (Geographic>Water>Bay)
- - for platforms, just 1 POI when --add-pois-to-lines
- - name unnamed shops as category, regardless of category being matched
- - add, commented out, extra shop categories supported by some devices
- - add POI for shop=outdoor
- - for {camp/caravan}_site have BOTH 0x2b03 AND 0x2b05;
- 03 not shown on modern devices, 05 not shown on old devices
- - have both Food & Lodging POI for same point if appropriate
- - landuse=basin code from 0x650f (Geographic>Water>Reservoir)
- to 0x6603 (Geographic>Land>Basin)
- - water=reservoir as well as landuse=reservoir
- - add POI 0x650d for named water=lake/pond (Geograhic>Water>Lake)
- ------------------------------------------------------------------------
- r4525 | gerd | 2020-06-09 09:33:41 +0300 (Tue, 09 Jun 2020) | 1 line
- nearby-poi: compare high prec locations in removeSimpleDuplicates() to handle duplicate POI which were moved to different places by WrongAngleFixer.
- ------------------------------------------------------------------------
- r4526 | gerd | 2020-06-13 09:12:05 +0300 (Sat, 13 Jun 2020) | 11 lines
- exists.patch by Ticker Berkin with one minor change: add motorroad to used tags in HighwayHooks
- - set exit:road_ref for highway=rest_area as well as motorway_junction and services.
- - do the above for motorroad, trunk and primary highways as well as motorways.
- - for services and rest_area, if option --link-pois-to-ways is set, handle "Ways" in a similar manner to "Nodes".
- - allow the point/area in above to be slightly off the road.
- - improve the efficiency of the setting of exit:road_ref for motorway_junction.
- - 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.
- - 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.
- - correct the allowable ranges of the different POI subtypes.
- ------------------------------------------------------------------------
- r4527 | gerd | 2020-06-13 21:03:46 +0300 (Sat, 13 Jun 2020) | 2 lines
- refactoring, no functional change
- ------------------------------------------------------------------------
- r4528 | gerd | 2020-06-13 23:04:57 +0300 (Sat, 13 Jun 2020) | 4 lines
- refactoring, no functional change intended
- - use common name scheme for constants reg. TagDict.getinstance().xlate()
- - improve housenumber/HousenumberGenerator
- ------------------------------------------------------------------------
- r4529 | gerd | 2020-06-13 23:17:01 +0300 (Sat, 13 Jun 2020) | 1 line
- fix compile error
- ------------------------------------------------------------------------
- r4530 | gerd | 2020-06-13 23:27:47 +0300 (Sat, 13 Jun 2020) | 1 line
- use indexOf(char) instead of indexOf(String) where possible
- ------------------------------------------------------------------------
- r4531 | gerd | 2020-06-14 00:06:10 +0300 (Sun, 14 Jun 2020) | 3 lines
- refactoring, no funnctional change intended
- - replace "== false"
- - remove "== true"
- ------------------------------------------------------------------------
- r4532 | gerd | 2020-06-14 09:22:08 +0300 (Sun, 14 Jun 2020) | 1 line
- enable -Xlint
- ------------------------------------------------------------------------
- r4533 | gerd | 2020-06-14 09:35:51 +0300 (Sun, 14 Jun 2020) | 5 lines
- lintWarn.patch by Ticker Berkin:
- "Here are some fixes to warnings I get when I build with options
- -XLint:all -Xlint:-serial -Xlint:-path
- also an improvement to where city/zip/highway/exitFac ptr sizes are calculated when POIs are written"
- ------------------------------------------------------------------------
- r4534 | gerd | 2020-06-14 10:15:58 +0300 (Sun, 14 Jun 2020) | 1 line
- fix remaining xLint issue although it's a false positive
- ------------------------------------------------------------------------
- r4535 | gerd | 2020-06-14 10:19:52 +0300 (Sun, 14 Jun 2020) | 1 line
- options: correct wording sample -> example
- ------------------------------------------------------------------------
- r4536 | gerd | 2020-06-14 11:01:17 +0300 (Sun, 14 Jun 2020) | 1 line
- code simplification: use Map.computeIfAbsent()
- ------------------------------------------------------------------------
- r4537 | gerd | 2020-06-14 13:21:48 +0300 (Sun, 14 Jun 2020) | 4 lines
- Fix severe error in handling of option --road-name-config
- The code produced wrong results for countries with prefixes because a sort was missing.
- Effect: for "Place de l'Etoile" the detected prefix was "Place de" instead of the longer "Place de l'"
- ------------------------------------------------------------------------
- r4538 | gerd | 2020-06-14 15:14:16 +0300 (Sun, 14 Jun 2020) | 1 line
- improve code, no functional change expected
- ------------------------------------------------------------------------
- r4539 | gerd | 2020-06-14 17:16:03 +0300 (Sun, 14 Jun 2020) | 4 lines
- minor code improvements
- - Replace the type specification in this constructor call with the diamond operator ("<>").
- - Reorder the modifiers to comply with the Java Language Specification.
- - Move string literal on the left side of string comparison.
- ------------------------------------------------------------------------
- r4540 | gerd | 2020-06-15 09:10:27 +0300 (Mon, 15 Jun 2020) | 1 line
- Don't create cycleway for route=ferry when ferry way has oneway tag and --make-opposite-cycleways is active
- ------------------------------------------------------------------------
- r4541 | gerd | 2020-06-15 09:45:12 +0300 (Mon, 15 Jun 2020) | 6 lines
- Simplify code, slightly improve performance
- OsmReadingHooks: replace onCoordAddedToWay() method by onNodeAddedToWay()
- - now the method is (really) only called when a tagged node is added to a way
- - the node is passed as argument, it will never be null.
- 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.
- ------------------------------------------------------------------------
- r4542 | gerd | 2020-06-15 11:43:38 +0300 (Mon, 15 Jun 2020) | 4 lines
- minor code improvements
- - Replace the type specification in this constructor call with the diamond operator ("<>").
- - Reorder the modifiers to comply with the Java Language Specification.
- - add static to some methods
- ------------------------------------------------------------------------
- r4543 | gerd | 2020-06-15 12:24:27 +0300 (Mon, 15 Jun 2020) | 1 line
- simplify code, no functional change
- ------------------------------------------------------------------------
- r4544 | gerd | 2020-06-15 12:57:46 +0300 (Mon, 15 Jun 2020) | 1 line
- improve code, use lambdas
- ------------------------------------------------------------------------
- r4545 | gerd | 2020-06-15 13:01:46 +0300 (Mon, 15 Jun 2020) | 3 lines
- simplify code:
- - use default in interface OsmConverter
- - add more @override
- ------------------------------------------------------------------------
- r4546 | gerd | 2020-06-15 13:38:06 +0300 (Mon, 15 Jun 2020) | 2 lines
- improve code: fix sonarlint issues reg. "Move the string literal on the left side of string comparison."
- ------------------------------------------------------------------------
- r4547 | gerd | 2020-06-16 09:02:29 +0300 (Tue, 16 Jun 2020) | 1 line
- revert changes from r4541, result is not the same
- ------------------------------------------------------------------------
- r4548 | gerd | 2020-06-16 11:18:53 +0300 (Tue, 16 Jun 2020) | 6 lines
- rework handling of nodes in osm input files
- - see also r4541 and r4547 which reverted it (problem was that HousenumberHooks expected that the hook was called for each coord of a way)
- - replace onCoordAddedToWay by onNodeAddedToWay again, be aware that the hooks can replace the objects which are associated with the node id.
- - change HousenumberHooks so that the tagged nodes of interpolation ways are properly collected
- - move common code for node members of relations into ElementSaver
- - further simplify code in HousenumberHooks by using streams
- ------------------------------------------------------------------------
- r4549 | gerd | 2020-06-16 12:12:35 +0300 (Tue, 16 Jun 2020) | 5 lines
- code simplification (osmstyle), no functional change intended
- - move common code in toString() methods to calcValueBuildersString(), it is only used when debugging
- - remove commented or dead code and some TODO statements
- - add @override
- - various other small changes suggested by sonarlint
- ------------------------------------------------------------------------
- r4550 | gerd | 2020-06-16 12:41:00 +0300 (Tue, 16 Jun 2020) | 2 lines
- refactoring, no functional change
- rename variable fmt to sb cause it's a StringBuilder, not a Formatter
- ------------------------------------------------------------------------
- r4551 | gerd | 2020-06-19 18:14:01 +0300 (Fri, 19 Jun 2020) | 1 line
- Report type(node,way,relation) of original element in "generated from" messages (slightly modified generated-from.patch)
- ------------------------------------------------------------------------
- r4552 | gerd | 2020-06-20 06:51:27 +0300 (Sat, 20 Jun 2020) | 6 lines
- miscDoc_v2.patch by Ticker Berkin:
- "Here are some documentation fixes & improvements + a change to
- build.xml to use 4 chars for the unknown version number so that offsets
- match the typical 4 digit svn version number. This minimises noise when
- comparing the display of internal structures."
- ------------------------------------------------------------------------
- r4553 | gerd | 2020-06-20 14:42:35 +0300 (Sat, 20 Jun 2020) | 1 line
- doc: improve formatting (miscDoc_v3.patch by Ticker Berkin)
- ------------------------------------------------------------------------
- r4554 | steve | 2020-06-22 16:37:19 +0300 (Mon, 22 Jun 2020) | 4 lines
- Fix for text rendering of documentation
- Well hopefully... see if it builds
- ------------------------------------------------------------------------
- r4555 | steve | 2020-06-22 19:00:28 +0300 (Mon, 22 Jun 2020) | 5 lines
- juncArea.path by Ticker Berkin
- Warn when something not a Node is tagged as highway=motorway_junction
- instead of crashing.
- ------------------------------------------------------------------------
- r4556 | gerd | 2020-07-09 09:48:02 +0300 (Thu, 09 Jul 2020) | 5 lines
- route1.patch by Steve Ratcliffe (modified)
- - reverts the size improvements introduced with r4360, but seems to improve routing on devices
- - I added undocumented option --x-no-force-end-nodes-routing-nodes which can be used to get the previous behaviour of r4555
- ------------------------------------------------------------------------
- r4557 | gerd | 2020-07-09 09:50:52 +0300 (Thu, 09 Jul 2020) | 3 lines
- Sorry, last minute change was not saved to file
- ------------------------------------------------------------------------
- r4558 | gerd | 2020-07-09 11:27:25 +0300 (Thu, 09 Jul 2020) | 1 line
- adapt unit test to match increased NOD file size
- ------------------------------------------------------------------------
- r4559 | gerd | 2020-07-09 12:07:22 +0300 (Thu, 09 Jul 2020) | 3 lines
- 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.
- Fixes an error that was introduced with r4360. Certain no-u-turn restrictions were ignored:
- 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
- ------------------------------------------------------------------------
- r4560 | gerd | 2020-07-09 12:08:42 +0300 (Thu, 09 Jul 2020) | 3 lines
- 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.
- Fixes an error that was introduced with r4360. Certain no-u-turn restrictions were ignored:
- 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
- ------------------------------------------------------------------------
- r4561 | gerd | 2020-07-09 12:14:33 +0300 (Thu, 09 Jul 2020) | 3 lines
- miscDoc_v4.patch by Ticker Berkin:
- "Minor documentation fix and correction of mapnik.txt after I reallocated some EXIT point types."
- ------------------------------------------------------------------------
- r4562 | gerd | 2020-07-10 10:50:13 +0300 (Fri, 10 Jul 2020) | 1 line
- fix wording in warning message
- ------------------------------------------------------------------------
- r4563 | gerd | 2020-07-21 07:27:11 +0300 (Tue, 21 Jul 2020) | 3 lines
- routeableLines.patch by Ticker Berkin
- 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
- ------------------------------------------------------------------------
- r4564 | gerd | 2020-07-21 07:30:59 +0300 (Tue, 21 Jul 2020) | 3 lines
- roadspeed_v2.patch by Ticker Berkin
- - evaluate maxspeed:advisory
- - reduce speed for motorways outside Germany if no maxspeed value given
- ------------------------------------------------------------------------
- r4565 | gerd | 2020-07-22 22:17:21 +0300 (Wed, 22 Jul 2020) | 1 line
- implement undocumented option --x-keep-empty-value-tags to disable the removal of empty tags while parsing OSM input
- ------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement