Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast
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 improvementsFeatureMerge
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!
--output-layerstats
flag by @msbarry in https://github.com/onthegomap/planetiler/pull/656
min_size
in configurable schema by @wipfli in https://github.com/onthegomap/planetiler/pull/421
Once again, @dependabot has been busy keeping dependencies up-to-date.
Full Changelog: https://github.com/onthegomap/planetiler/compare/v0.6.0...v0.7.0
This release adds several new features:
planetiler.jar osm-qa
--output=output.pmtiles
or --output=output.mbtiles
(see https://github.com/onthegomap/planetiler/pull/520 for more usage details)--maxzoom
limit from 14 to 15planetiler.jar
and the docker container still generate openmaptiles 3.14 by default or with the openmaptiles
argument--polygon bounds.poly
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!
--area=planet
in shortbread schema by @msbarry in https://github.com/onthegomap/planetiler/pull/431
maxzoomForRendering
and minzoomForRendering
by @farfromrefug in https://github.com/onthegomap/planetiler/pull/272
--polygon
argument to constrain mbtiles to a poly shape by @farfromrefug in https://github.com/onthegomap/planetiler/pull/280
--download-max-bandwidth
option by @msbarry in https://github.com/onthegomap/planetiler/pull/467
OsmReader#estimateMemoryUsageBytes()
by @erik in https://github.com/onthegomap/planetiler/pull/389
quickstart.sh
script to run with recommended settings by @msbarry in https://github.com/onthegomap/planetiler/pull/318
metadataTable
alias by @msbarry in https://github.com/onthegomap/planetiler/pull/517
Once again, @dependabot has been busy keeping dependencies up-to-date.
Test runs on an r7g.metal
ec2 instance for entire planet:
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
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!
transportation_name
layer by @msbarry in https://github.com/onthegomap/planetiler/pull/180
--mmap-temp
option to use memory-mapped IO for temp feature files by @msbarry in https://github.com/onthegomap/planetiler/pull/209
--mmap-temp
by default by @msbarry in https://github.com/onthegomap/planetiler/pull/236
--write-threads
argument by @msbarry in https://github.com/onthegomap/planetiler/pull/213
--feature-read-threads
option to read features in parallel when writing tiles by @msbarry in https://github.com/onthegomap/planetiler/pull/225
--skip-filled-tiles
option by @msbarry in https://github.com/onthegomap/planetiler/pull/234
spotless:check
before verify actions in CI by @msbarry in https://github.com/onthegomap/planetiler/pull/169
Once again, @dependabot has been busy keeping dependencies up-to-date.
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
This release improves performance and reduces memory requirements:
--storage=mmap
to store temporary data in memory-mapped filesTo 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!
Once again, @dependabot has been busy keeping dependencies up-to-date.
Full Changelog: https://github.com/onthegomap/planetiler/compare/v0.3.0...v0.4.0
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!
Once again, @dependabot has been busy keeping dependencies up-to-date.
Full Changelog: https://github.com/onthegomap/planetiler/compare/v0.2.0...v0.3.0
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>
@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).
Full Changelog: https://github.com/onthegomap/planetiler/compare/v0.1.0...v0.2.0
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.
Full Changelog: https://github.com/onthegomap/flatmap/compare/v0.1.0-pre1...v0.1.0-pre2
Initial test release.