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

Add a data structure for tileset metadata #44

Merged
merged 5 commits into from
Dec 12, 2022
Merged

Add a data structure for tileset metadata #44

merged 5 commits into from
Dec 12, 2022

Conversation

e-n-f
Copy link
Collaborator

@e-n-f e-n-f commented Dec 2, 2022

No description provided.

m.description = description != NULL ? description : fname;
m.version = 2;
m.type = "overlay";
m.format = vector ? "pbf" : "png";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in what case will these be PNG?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bdon If we use tile-join for raster tiles via rasterio or mbutil, we need PNG file supports.

However, how about webp support?
rasterio supports both png and webp for mbtiles.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smellman are you currently using tile-join for this purpose? I don't see the code path where vector=false.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, all paths are vector=true.
I want to use tile-join for raster tile, I will check deeply.

@bdon
Copy link
Contributor

bdon commented Dec 7, 2022

LGTM

@e-n-f e-n-f marked this pull request as ready for review December 12, 2022 21:31
@e-n-f e-n-f merged commit 9c77029 into main Dec 12, 2022
@e-n-f e-n-f deleted the metadata-structure branch December 12, 2022 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants