-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minimal PMTiles v3 output #10
Comments
Notes on eventual deduplication: From protomaps/PMTiles#20 the probability of a 64-bit hash collision becomes unsuitable at ~10 million tiles. If we must deduplicate tiles based on opaque blobs, we should use FNV-128a, which we would have to grab from somewhere. A better-alternative is to limit deduplication to tiles that have only vertical and horizontal edges. This would cover the vast majority, if not all, duplicated tiles - squares, straight roads, etc. One way to do this is: when tippecanoe builds a tile internally, have a boolean |
* This does not actually write any directories yet * Write tile data on-the fly to a tempfile * Finalizes output by copying tempfile and compressed JSON metadata to output stream * detects output format using .pmtiles suffix * Expose mbtiles tilestats function in public header
* This does not actually write any directories yet * Write tile data on-the fly to a tempfile * Finalizes output by copying tempfile and compressed JSON metadata to output stream * detects output format using .pmtiles suffix * Expose mbtiles tilestats function in public header
Tasks related to other tippecanoe tools:
|
* Does not yet write correct metadata. * decode reads pmtiles input (also without metadata). * add make pmtiles-test decode reads pmtiles input without metadata; add make pmtiles-test
* Does not yet write correct metadata. * decode reads pmtiles input (also without metadata). * add make pmtiles-test decode reads pmtiles input without metadata; add make pmtiles-test
* detect output format using suffix * after mbtiles is done writing, replace with pmtiles based on map/image tables. * add method to write_json for writing json sub-object.
* add pmtiles.hpp from github.com/protomaps/PMTiles [#10] * tippecanoe main writes pmtiles output. [#10] * detect output format using suffix * after mbtiles is done writing, replace with pmtiles based on map/image tables. * add method to write_json for writing json sub-object. * tippecanoe-decode reads pmtiles input. [#10] * tile-join reads and writes pmtiles. [#10] * pmtiles test suite for decode and tile-join [#10] * add base GitHub CI action for compiling and test suite. * update pmtiles.hpp with z>15 fix * Fix some ordering problems with pmtiles decode * Pmtiles should also pass the raw tiles tests * Eradicate spaces from tileset metadata JSON fields * Eradicate spaces from more test fixtures * Update more tests * Pmtiles tests pass now too * Remove unnecessary sort (and make indent) * Update changelog * The allow-existing test for pmtiles needs -o, not -e * Declare --allow-existing to be unsupported for pmtiles. It was always a bad idea even for mbtiles. Co-authored-by: Brandon Liu <bdon@bdon.org>
Implemented in #55, released in 2.17 |
Add PMTiles aș a first class output option using
-o output.pmtiles
Add a basic implementation that supports non-clustered archives with a root directory only and no deduplication.
(migrating issue from https://github.com/protomaps/tippecanoe/issues/1)
The text was updated successfully, but these errors were encountered: