Flatmap Versions Save

Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast

v0.7.0

7 months ago

What's Changed

This release reduces openmaptiles tile sizes by 40-50% and includes tools other profiles can use to use to optimize their tile sizes:

  • --max-point-buffer=4 argument to remove points outside the tile boundary if your client handles label collisions between tiles (web/native but not raster)
  • --output-layerstats to write a layer stats tsv.gz file you can analyze with duckdb to look for improvements
  • FeatureMerge Utilities to to merge geometries with the same attributes into multigeometries. See https://github.com/openmaptiles/planetiler-openmaptiles/pull/112 which applies these improvements to openmaptiles profile for close to 90% savings on some dense housenumber/building layers.

This release also adds support for writing plugins in other languages to send tiles to other data stores. See #639 for examples of how to write to mysql, postgres, or s3.

:warning: This will be the last release with Java 17 support, the next release will target Java 21. Upgrade now to avoid any interruptions! :warning:

To run this release from Java, download the attached planetiler.jar, or from docker use ghcr.io/onthegomap/planetiler:0.7.0

There is ongoing discussion about the project in the #planetiler channel on OSM-US slack. If you are interested in joining, get an invite here!

New Features and Improvements

Bug Fixes

Contributor/Documentation Improvements

Dependencies

Once again, @dependabot has been busy keeping dependencies up-to-date.

Dependency upgrades in this release

New Contributors

Full Changelog: https://github.com/onthegomap/planetiler/compare/v0.6.0...v0.7.0

v0.6.0

1 year ago

What's Changed

This release adds several new features:

To run this release from Java, download the attached planetiler.jar, or from docker use ghcr.io/onthegomap/planetiler:0.6.0

There is ongoing discussion about the project in the #planetiler channel on OSM-US slack. If you are interested in joining, get an invite here!

New Features and Improvements

Performance Improvements

Bug Fixes

Contributor/Documentation Improvements

Dependencies

Once again, @dependabot has been busy keeping dependencies up-to-date.

Dependency upgrades in this release

Benchmarks

Test runs on an r7g.metal ec2 instance for entire planet:

New Contributors

What's next?

Stay tuned for more output formats, a high-performance archive conversion utility, and support for generating contour lines from DEM datasets!

Full Changelog: https://github.com/onthegomap/planetiler/compare/v0.5.0...v0.6.0

v0.5.0

1 year ago

What's Changed

This release improves performance on high-end machines by 20% (from 47 to 38 minutes with 64 cpus/128GB ram) by addressing several single-threaded bottlenecks, reduces mbtiles output size by 25% (from 104 to 78GB) by deduplicating repeated ocean tiles, and upgrades the basemap profile to OpenMapTiles 3.13.1.

To run this release from Java, download the attached planetiler.jar, or from docker use ghcr.io/onthegomap/planetiler:0.5.0.

There is ongoing discussion about the project in the #planetiler channel on OSM-US slack. If you are interested in joining, get an invite here!

Performance Improvements

Improvements and Bug Fixes

Contributor Improvements

Dependencies

Once again, @dependabot has been busy keeping dependencies up-to-date.

Dependency upgrades in this release

New Contributors

What's Next?

After this release, we'll merge #160 which is the first step to defining custom profiles through a config file, stay tuned!

Full Changelog: https://github.com/onthegomap/planetiler/compare/v0.4.0...v0.5.0

v0.4.0

2 years ago

What's Changed

This release improves performance and reduces memory requirements:

  • Generating a map of the world on a high-end machine (64 cpu/128GB RAM) now takes as little as 47 minutes instead of an hour
  • You can now run with as little as 32GB of RAM instead of 128 using --storage=mmap to store temporary data in memory-mapped files

To run this release from Java, download the attached planetiler.jar, or from docker use ghcr.io/onthegomap/planetiler:0.4.0.

There is ongoing discussion about the project in the #planetiler channel on OSM-US slack. If you are interested in joining, get an invite here!

Performance Improvements

Improvements and Bug Fixes

Contributor Improvements

Dependencies

Once again, @dependabot has been busy keeping dependencies up-to-date.

Dependency upgrades in this release

New Contributors

Full Changelog: https://github.com/onthegomap/planetiler/compare/v0.3.0...v0.4.0

v0.3.0

2 years ago

What's Changed

This release upgrades the basemap profile to be compatible with OpenMapTiles v3.13 (#49). People also started using the project a bit and discovered a few bugs that are fixed in this release. Keep 'em coming!

To run this release from Java, download the attached planetiler.jar, or from docker use ghcr.io/onthegomap/planetiler:0.3.0.

Also there is ongoing discussion about the project in the #planetiler channel on OSM-US slack. If you are interested in joining, get an invite here!

Improvements and Bug Fixes

Dependencies

Once again, @dependabot has been busy keeping dependencies up-to-date.

Dependency upgrades in this release

Full Changelog: https://github.com/onthegomap/planetiler/compare/v0.2.0...v0.3.0

v0.2.0

2 years ago

What's Changed

Flatmap has been renamed to "Planetiler" (#40) to better convey what the project does, and to be more unique and easy to find. Thanks to @danlarkin for the name suggestion!

Starting with version 0.2.0, planetiler releases are available from maven central. To use as a library (see the example project) add this dependency to your java project:

<dependency>
  <groupId>com.onthegomap.planetiler</groupId>
  <artifactId>planetiler-core</artifactId>
  <version>0.2.0</version>
</dependency>

Other User-Facing Improvements

Internal Improvements

Dependencies

@dependabot has been busy keeping dependencies on their latest versions. Notably, log4j has been upgraded to version 2.17.0 to mitigate Log4Shell vulnerability (CVE-2021-44228).

Other dependency upgrades

Full Changelog: https://github.com/onthegomap/planetiler/compare/v0.1.0...v0.2.0

v0.1.0

2 years ago

Initial flatmap release, see the README for more details.

To run using Java 16 or later:

wget https://github.com/onthegomap/flatmap/releases/download/v0.1.0/flatmap.jar
java -Xmx1g -jar flatmap.jar --download --area=monaco

Or using docker:

docker run -e JAVA_TOOL_OPTIONS="-Xmx1g" -v "$(pwd)/data":/data ghcr.io/onthegomap/flatmap:0.1.0 --download --area=monaco

Attached are logs and VisualVM profile from running flatmap over the planet-211011.osm.pbf snapshot from the AWS Registry of Open Data on a Digital Ocean memory-optimized droplet with 16 vCPUs and 128GB RAM in 3h21m.

v0.1.0-pre2

2 years ago

What's Changed

Full Changelog: https://github.com/onthegomap/flatmap/compare/v0.1.0-pre1...v0.1.0-pre2

v0.1.0-pre1

2 years ago

Initial test release.