-
Notifications
You must be signed in to change notification settings - Fork 120
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
Adjust tile queries to allow for z16 metatiles #478
Comments
Needs to be coordinated with scene file changes (to suppress these from display at zoom 16/17 as appropriate) |
@nvkelso I discussed the implementation with @zerebubuth a little bit, and a good way forward would be to start including all pois in z16 tiles. For pois that don't have a |
All POIs have a WHERE
{{ bounds|bbox_filter('way') }}
AND mz_poi_min_zoom <= {{ zoom }} The second part of the query would never be true? |
Ah, never mind, I misunderstood earlier. If we just query for all pois that have a min zoom starting at z16, we'll get the behavior that we want. |
Should we export the |
I exported the |
We might want to consider adding |
LGTM, let's merge this in and test on dev. Regarding adding |
When deploying this change, we'll need to run a script that takes all toi at z>16, and ensures that the corresponding tile at z16 is added. Should I make a python script for this and stick it in the migrations directory? |
Yup, sounds good. |
@rmarianski: Do we need to prune any z17 and z18 tiles from Tiles of Interest list to support this z16 meta-tiling change, or was that already accomplished in our earlier pruning? I think it was, just double checking. |
We shouldn't have do to worry about anything wrt pruning specifically for this change. The earlier pruning would have removed anything in this range with just 0 or 1 view. |
I've tested on TopoJSON, GeoJSON, and MVT formats and all looks good. |
Specifically, we pack some stuff only into z17 and z18 tiles now. If we meta tile, then those need to be included in z16 (and perhaps marked that their
min_zoom
is only valid at z17, z18).EG, in POIs:
The text was updated successfully, but these errors were encountered: