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 tiles table/view validation to mbtiles validate #1057

Merged
merged 1 commit into from
Dec 10, 2023

Conversation

nyurik
Copy link
Member

@nyurik nyurik commented Dec 9, 2023

Make sure all values in the tiles table or view are correct:

  • zoom_level is between 0 and 30 (max allowed zoom)
  • the x,y values are within the limits for the corresponding zoom level
  • the column type of z,x,y are all integers
  • the tile_data is a NULL or a BLOB

Make sure all values in the `tiles` table or view are correct:

* zoom_level is between 0 and 30 (max allowed zoom)
* the x,y values are within the limits for the corresponding zoom level
* the column type of z,x,y are all integers
* the `tile_data` is a NULL or a BLOB
@nyurik nyurik enabled auto-merge (squash) December 9, 2023 21:43
@nyurik nyurik merged commit 54f5a8d into maplibre:main Dec 10, 2023
18 checks passed
@nyurik nyurik deleted the validate-vals branch December 10, 2023 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants