Mkgmap splitter Changelog

What's new in Mkgmap splitter 654

Apr 6, 2024
  • add note that splitter doesn't handle holes in *.poly files.

New in Mkgmap splitter 652 (Jun 18, 2022)

  • fix error related to option --polygon-desc-file.

New in Mkgmap splitter 651 (Apr 5, 2022)

  • prevent division by zero edge case.

New in Mkgmap splitter 650 (Mar 29, 2022)

  • fix possible crash with --polygon-desc-option.

New in Mkgmap splitter 647 (Feb 17, 2022)

  • merge from solve-parallel branch.

New in Mkgmap splitter 645 (Nov 26, 2021)

  • Prevent possible StackOverflowError caused by empty tile returned from Tile.divide()
  • don't create empty tile in Tile.divide()
  • don't call Tile.divide() with invalid maxNodes

New in Mkgmap splitter 643 (Nov 6, 2021)

  • merge from branch solve-parallel

New in Mkgmap splitter 642 (Aug 11, 2021)

  • Crash with message "Invalid polygon ring in polygon-file, possibly self-intersecting" if a single ring in a *.poly file is not converted to a "singular" area. This normally means that the ring is self-intersecting, maybe only in a very tiny area. JOSM with the poly plugin helps to find such intersections.

New in Mkgmap splitter 615 (Jul 1, 2021)

  • Correct handling of polygon file with less than 40 edges (when splitter tries hard to fit tiles into the polygon). Since r610 splitter crashed with saarland.poly
  • Improve switching to alternative algo (let it start with an empty solution instead of that of the first algo)
  • This will more likely find a good solution if there is one and the first algo didn't find it.

New in Mkgmap splitter 610 (Jun 27, 2021)

  • remove costly test to reduce run time when using polygon(s).

New in Mkgmap splitter 609 (Jun 26, 2021)

  • Improve split:
  • Don't split single tile which already has less than --max-nodes nodes
  • Improve handling of bounding boxes which span planet (-180 .. 180) when no polygon is given: don't create small gaps between tiles. Value in minEmpty is now 10° instead of 10 grid elements
  • Reset threshold values when switching between the two alternative search algortihmn
  • This allows to find good splits for problematic downloads from geofabrik like asia or australia-oceania.

New in Mkgmap splitter 607 (Jun 25, 2021)

  • Fix handling of concave polygons which can cause holes in the rastered polygon area.

New in Mkgmap splitter 602 (May 8, 2021)

  • remove unused import.

New in Mkgmap splitter 598 (Feb 3, 2021)

  • Fix typo.

New in Mkgmap splitter 597 (Jan 31, 2020)

  • Improved documentation

New in Mkgmap splitter 592 (Dec 14, 2018)

  • apply_first-v2.patch:
  • Implement and document new apply_first style command..

New in Mkgmap splitter 591 (Mar 10, 2018)

  • refactoring, no functional change

New in Mkgmap splitter 590 (Jan 27, 2018)

  • Remove option --align-for-dem

New in Mkgmap splitter 586 (Jan 19, 2018)

  • Correction: option -align-for-dem did not work well with option polypon-desc.

New in Mkgmap splitter 585 (Jan 18, 2018)

  • add option --align-for-dem.

New in Mkgmap splitter 584 (Jul 28, 2017)

  • Update copyright, no functional change

New in Mkgmap splitter 583 (Apr 3, 2017)

  • Improve / correct reporting of overlapping areas in split-file

New in Mkgmap splitter 581 (Apr 3, 2017)

  • Tolerate missing or additional blanks before / after colon in split-file

New in Mkgmap splitter 580 (Jan 23, 2017)

  • write coordinates in *.poly file in "human friendly" format.

New in Mkgmap splitter 579 (Jan 23, 2017)

  • correction for handle-element-version=keep in combination with oztput=pbf.

New in Mkgmap splitter 578 (Jan 23, 2017)

  • fix NPE when option keep-complete=false is used (introduced with r529).

New in Mkgmap splitter 577 (Jan 21, 2017)

  • correct duplicated number in details report.

New in Mkgmap splitter 576 (Jan 19, 2017)

  • use lazy allocation to reduce peak memory in MultiTileProcessor.

New in Mkgmap splitter 575 (Jan 17, 2017)

  • simplify code, small optimisations, update javadoc.

New in Mkgmap splitter 574 (Jan 17, 2017)

  • add unit test for special case where a huge number of nodes are located in the same tile.

New in Mkgmap splitter 573 (Jan 17, 2017)

  • simplify code, no functional change.

New in Mkgmap splitter 572 (Jan 17, 2017)

  • simplify code.

New in Mkgmap splitter 571 (Jan 17, 2017)

  • remove obsolete debugging code.

New in Mkgmap splitter 570 (Jan 17, 2017)

  • remove obsolete debug code.

New in Mkgmap splitter 560 (Jan 6, 2017)

  • fix possible crash when splitting single o5m file without relations (e.g. SRTM data).

New in Mkgmap splitter 558 (Jan 6, 2017)

  • update also the max-areas docu for the man format.

New in Mkgmap splitter 556 (Jan 5, 2017)

  • fix docu for --max-areas option.

New in Mkgmap splitter 555 (Jan 5, 2017)

  • correct prediction of bitstream length.

New in Mkgmap splitter 554 (Jan 5, 2017)

  • avoid ways.get() when a single pass is used in ProblemListProcessor.

New in Mkgmap splitter 553 (Jan 5, 2017)

  • correct calculation of length with dictionary and RLE encoding.

New in Mkgmap splitter 552 (Jan 5, 2017)

  • If appropriate, store a dictionary of the distinct values in a chunk and use references to this dictionary instead of ....

New in Mkgmap splitter 551 (Jan 5, 2017)

  • merge from trunk.

New in Mkgmap splitter 550 (Jan 5, 2017)

  • (memory_opt2) simplify code.

New in Mkgmap splitter 549 (Jan 5, 2017)

  • simplify and improve BitReader get() performance.

New in Mkgmap splitter 548 (Dec 30, 2016)

  • fix error in AreaSet which can cause an IndexOutOfBoundsException.

New in Mkgmap splitter 542 (Dec 28, 2016)

  • fix possible NPE or ArrayIndexOutOfBoundsException when splitting with a small max-area value (introduced with r529).

New in Mkgmap splitter 531 (Dec 27, 2016)

  • correct unit test to really test HashMap against SparseLong2IntMap.

New in Mkgmap splitter 476 (Dec 6, 2016)

  • correction: geonames-file was ignored when --split-file was used.

New in Mkgmap splitter 468 (Dec 6, 2016)

  • fix possible NPE that can occur when you use a split-file in combination with a.

New in Mkgmap splitter 444 (Nov 25, 2016)

  • fix typo compresion -> compression.

New in Mkgmap splitter 443 (Nov 25, 2016)

  • reorganize code to reduce size of class main and improve readability

New in Mkgmap splitter 442 (Nov 24, 2016)

  • Code cleanup:
  • Try to better distinguish between Area and Writer
  • Remove dead code
  • Move o5m specific code from class Main to O5mMapWriter

New in Mkgmap splitter 441 (Nov 18, 2016)

  • fix spelling error in doc : parrallel -> parallel

New in Mkgmap splitter 440 (Nov 18, 2016)

  • Correct (again) handling of split-file that contains overlapping tiles(areas)

New in Mkgmap splitter 439 (Aug 15, 2016)

  • More checks for the check-roundabout option

New in Mkgmap splitter 438 (Aug 8, 2016)

  • move to java 1.8.

New in Mkgmap splitter 437 (Mar 28, 2016)

  • rename --ignore-bounds-tags to --ignore-osm-bounds to match the name used in mkgmap.

New in Mkgmap splitter 436 (Mar 28, 2016)

  • add option --ignore-bounds-tags with a default value false

New in Mkgmap splitter 435 (Mar 15, 2016)

  • now really fix possible java.lang.IndexOutOfBoundsException when processing a pbf file without version info.

New in Mkgmap splitter 434 (Mar 15, 2016)

  • fix possible java.lang.IndexOutOfBoundsException when processing a pbf file without version info

New in Mkgmap splitter 433 (Mar 14, 2016)

  • patch : Improve splitting with polygonArea.

New in Mkgmap splitter 432 (Mar 14, 2016)

  • adds the option --handle-element-version.

New in Mkgmap splitter 431 (Mar 14, 2016)

  • it contained more changes that wanted.

New in Mkgmap splitter 430 (Mar 14, 2016)

  • adds the option --handle-element-version.

New in Mkgmap splitter 429 (Mar 2, 2016)

  • don't skip writing of debug file densities-out.txt when input file contains no bounds.

New in Mkgmap splitter 428 (Feb 29, 2016)

  • improce access rules

New in Mkgmap splitter 427 (Aug 13, 2015)

  • small corrections for evaluation of type=associatedStreet and type=street relations
  • 07 aug 2015

New in Mkgmap splitter 426 (Jun 5, 2015)

  • fix formatting of doc

New in Mkgmap splitter 425 (Jun 5, 2015)

  • update help

New in Mkgmap splitter 424 (Jun 3, 2015)

  • Patch to fix 'allow to' typo in splitter documentation

New in Mkgmap splitter 423 (May 23, 2015)

  • if keep-complete is active, make sure that small administrative boundaries are kept complete.
  • This option is used for relations with tags type=boundary & boundary=administrative & admin_level=*
  • where admin_level is equal to or higher than a given threshold.
  • The threshold value can be changed with the new option --wanted-admin-level, the default is 5.
  • Example usage: --keep-complete --wanted-admin-level=6
  • will make sure that all administrative boundaries with admin_level
  • between 6 and 11 (including) are kept complete.

New in Mkgmap splitter 421 (Jan 12, 2015)

  • Update licence info in older test sources

New in Mkgmap splitter 420 (Jan 12, 2015)

  • Update licence info

New in Mkgmap splitter 419 (Jan 12, 2015)

  • man page for splitter. Both the DocBook XML source and resulting groff files are included.

New in Mkgmap splitter 418 (Jan 9, 2015)

  • Update licence in osmosis files:
  • The attached patch updates the OsmosisRuntimeException.java file
  • included in the splitter source with the current version from the
  • osmosis source. The only change is the license statement.

New in Mkgmap splitter 417 (Jan 8, 2015)

  • stop with error message (and rc 1) if split failed for one of many partitions
  • try harder to find solution
  • print hints about ratio between resolution and "highest node count in a single grid element" and max-nodes when no good solution is found

New in Mkgmap splitter 416 (Dec 2, 2014)

  • keep also relations with type=associatedStreet and type=street complete if --keep-complete is used.

New in Mkgmap splitter 415 (Dec 2, 2014)

  • commit useBBoxOfPolygons-v2.patch : Use the bbox of the polygon when splitting a large area, e.g. Europe, with options --num-tiles=x and a polygon-file.

New in Mkgmap splitter 414 (Nov 10, 2014)

  • Allow max aspect ratio of 32 instead of 4 when splitting into few parts.

New in Mkgmap splitter 413 (Nov 10, 2014)

  • correct JavaDoc, no functional change

New in Mkgmap splitter 412 (Jun 23, 2014)

  • remove debug code which tries to write to e:/ld_sp/start-poly.kml

New in Mkgmap splitter 411 (Jun 7, 2014)

  • improve and simplify split algo:
  • Reduce number of tests which are likely to fail
  • After maximizing the number of nodes in the least populated part, try to further optimize the solution for the other tiles
  • fix error (?): search-limit was not reset to the start value
  • for each rectangular area when --polygon-desc-file is used.
  • The effect was that the search took longer than wanted but also
  • returned better results.

New in Mkgmap splitter 410 (Jun 7, 2014)

  • improve check for stop-after option: don't accept substring of allowed parms
  • The old code did not complain about --stop-after=problem

New in Mkgmap splitter 409 (Jun 2, 2014)

  • duplicate searchLimit if start value gives no acceptable solution.
  • (least populated tile has < 50% of max-nodes)
  • If "brute force" algo is in use and no good split was found, try
  • also "spread" algo.
  • This helps to split e.g. Japan.

New in Mkgmap splitter 408 (Jun 2, 2014)

  • fix merging of "precomp-sea" data when planet is used as input
  • (this makes no sense, but it should not fail with an
  • ArrayIndexOutOfBoundsException)

New in Mkgmap splitter 407 (Jun 2, 2014)

  • make option --description work again

New in Mkgmap splitter 406 (Jun 2, 2014)

  • see log -> see stdout messages

New in Mkgmap splitter 405 (Jun 2, 2014)

  • correct reporting of empty solution

New in Mkgmap splitter 404 (May 30, 2014)

  • correct stupid typos in split algo test generator which
  • possibly prevented good splits of large tiles
  • a switch of the minNodes value invalidates some saved values
  • start coding tests

New in Mkgmap splitter 403 (May 30, 2014)

  • simplify code, no functional change intended

New in Mkgmap splitter 402 (May 29, 2014)

  • refactoring: divide source into multiple classes to ease

New in Mkgmap splitter 401 (May 29, 2014)

  • reduce default for --search-limit from 1.000.000 to 200.000

New in Mkgmap splitter 400 (May 29, 2014)

  • Ensure that there is a resources directory.

New in Mkgmap splitter 399 (May 29, 2014)

  • correct loop control. Some tests were not performed.

New in Mkgmap splitter 398 (May 29, 2014)

  • if bbox of input file spans planet, check if that is not caused by

New in Mkgmap splitter 397 (May 29, 2014)

  • print real lon/lat values instead of internal representation

New in Mkgmap splitter 396 (May 28, 2014)

  • improve splitting of large areas like Asia, Canada etc.

New in Mkgmap splitter 395 (May 27, 2014)

  • improve error handling

New in Mkgmap splitter 394 (May 27, 2014)

  • code cleanup, no functional change

New in Mkgmap splitter 393 (May 27, 2014)

  • Remove source from binary distribution.

New in Mkgmap splitter 392 (May 27, 2014)

  • improve handling of --polygon-file or --polygon-desc-file

New in Mkgmap splitter 391 (May 27, 2014)

  • remove unintended import

New in Mkgmap splitter 390 (May 27, 2014)

  • improve split algo

New in Mkgmap splitter 389 (May 23, 2014)

  • change build to (hopefully) make --version work again

New in Mkgmap splitter 388 (May 22, 2014)

  • change build to (hopefully) make -version work again

New in Mkgmap splitter 387 (May 21, 2014)

  • we need the resources directory to make --version work

New in Mkgmap splitter 386 (May 20, 2014)

  • the correct MANIFEST.MF is generated by ant

New in Mkgmap splitter 385 (May 20, 2014)

  • merge from refactoring branch.

New in Mkgmap splitter 381 (May 19, 2014)

  • correct error in keep-complete processing

New in Mkgmap splitter 343 (May 14, 2014)

  • allow to pass absolute or relative path with --write-kml in combination

New in Mkgmap splitter 342 (May 14, 2014)

  • improve speed of split algo

New in Mkgmap splitter 341 (May 14, 2014)

  • improve split algo:

New in Mkgmap splitter 340 (May 14, 2014)

  • fix possible regression introduced by r338

New in Mkgmap splitter 339 (May 14, 2014)

  • improve logging: report areas in format that is similar to

New in Mkgmap splitter 337 (May 14, 2014)

  • repare system tests: replace calls of system.exit() by

New in Mkgmap splitter 336 (May 13, 2014)

  • correct handling of polygon-desc-file.

New in Mkgmap splitter 335 (May 13, 2014)

  • fix build: pass resolution parameter

New in Mkgmap splitter 334 (May 13, 2014)

  • handle rounding problems in PolygonDescProcessor

New in Mkgmap splitter 333 (May 12, 2014)

  • write -areas.poly and -template.args independently

New in Mkgmap splitter 332 (May 12, 2014)

  • implement new --polygon-desc-file option

New in Mkgmap splitter 330 (May 12, 2014)

  • correction part 2: relations may be missing when split-file is given

New in Mkgmap splitter 328 (May 12, 2014)

  • code cleanup, no functional change

New in Mkgmap splitter 327 (May 9, 2014)

  • update table of 50 most of used tag keys

New in Mkgmap splitter 326 (May 9, 2014)

  • correction: relations may be missing when split-file is given

New in Mkgmap splitter 325 (May 8, 2014)

  • improve split algorithm: First try to find a small improvement.

New in Mkgmap splitter 324 (May 8, 2014)

  • code spring clean, no change in output expected

New in Mkgmap splitter 323 (May 8, 2014)

  • apply num-tiles-v1.patch

New in Mkgmap splitter 322 (May 8, 2014)

  • improve split algorithm: Try harder to find split that gives

New in Mkgmap splitter 321 (Apr 2, 2014)

  • use keep-complete also for type=restriction:*

New in Mkgmap splitter 320 (Mar 10, 2014)

  • fix possible infinite loop

New in Mkgmap splitter 319 (Mar 7, 2014)

  • use same code as in mkgmap to read precompiled sea data from zip file

New in Mkgmap splitter 318 (Mar 7, 2014)

  • when multiple input files are used and the first doesn't contain

New in Mkgmap splitter 317 (Feb 28, 2014)

  • fix possible ArrayIndexOutOfBoundsException introduced with r316

New in Mkgmap splitter 316 (Feb 27, 2014)

  • Correction: some relations were incomplete in special cases

New in Mkgmap splitter 315 (Feb 27, 2014)

  • Don't write hard coded version r171, but real svn version to pbf output files.

New in Mkgmap splitter 314 (Jan 27, 2014)

  • Add check for mapid to make sure that it doesn't reach 9 digits.

New in Mkgmap splitter 311 (Oct 1, 2013)

  • Fix ArrayIndexOutOfBoundsException when splitting data that comes close to -180/+180 (e.g. planet, canada) and precompSea option active..

New in Mkgmap splitter 310 (Sep 23, 2013)

  • et source and target java version to 1.7.

New in Mkgmap splitter 309 (Sep 23, 2013)

  • Make java 1.7 mandatory and refuse to run on earlier versions..

New in Mkgmap splitter 308 (Sep 23, 2013)

  • Improve warning message when multiple input files are used with --keep-complete=true.

New in Mkgmap splitter 307 (Sep 23, 2013)

  • stop with proper error message if the input file contains an ID with Long.MAX_VALUE.

New in Mkgmap splitter 306 (Sep 23, 2013)

  • ease use of SRTM data: allow --keep-complete in combination with multiple input files..

New in Mkgmap splitter 305 (Sep 23, 2013)

  • code cleanup: don't update static field, no functional changes.

New in Mkgmap splitter 304 (Sep 23, 2013)

  • beautify help: try not to print lines longer than 78 chars.

New in Mkgmap splitter 303 (Sep 23, 2013)

  • add upload='false' to the XML output.