Skip to content
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

--output-to-tar #267

Open
Krizz opened this issue Sep 17, 2024 · 2 comments
Open

--output-to-tar #267

Krizz opened this issue Sep 17, 2024 · 2 comments

Comments

@Krizz
Copy link

Krizz commented Sep 17, 2024

Is this something that could be merged? output-to-tar functionality seems to work well, so I wonder is this a feature that got lost in the process?

mapbox/tippecanoe#789

@e-n-f
Copy link
Collaborator

e-n-f commented Sep 17, 2024

I don't remember why I was working on this in the first place. The problem with merging it now is that creating the tileset is no longer append-only, since as-needed dropping now assumes that each zoom level is going to work on the first try, and erases the attempt from the mbtiles if it was not. So it would at least need the ability to rewind to the start of the zoom rather than being able to write tar format to stdout.

@Krizz
Copy link
Author

Krizz commented Sep 18, 2024

It was a useful feature that allowed me to stream data directly into other databases (Clickhouse), without having to parse the MBTiles file afterward. This approach enabled to join the tile features with other data tables without the need to recreate the MBTiles file each time frequently changing data gets updated.

Not having the feature does not exactly break the workflow - just makes the process take a bit longer. Not a big issue, especially if the current code does not support this feature anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants