Conversation
037193b to
5a4c47f
Compare
5a4c47f to
5224533
Compare
|
|
||
| # small campground in point zoom 13 | ||
| # http://www.openstreetmap.org/way/417405356 | ||
| # min zoom matches in landuse layer, but not in pois for 13 |
There was a problem hiding this comment.
Is there anything left for us here? If not, take out the comment to reduce confusion.
| area-inclusion-threshold: 1 | ||
| buildings: | ||
| template: buildings.jinja2 | ||
| start_zoom: 13 |
There was a problem hiding this comment.
Where is this handled going forward, or is it only on a per-feature min_zoom basis now?
There was a problem hiding this comment.
In this particular case, per-feature min_zoom. The sources themselves now have a start zoom for when querying should begin, but there are now cases like this one where we are relying more on the min zoom for filtering.
| area-inclusion-threshold: 1 | ||
| pois: | ||
| template: pois.jinja2 | ||
| start_zoom: 4 |
There was a problem hiding this comment.
This will probably yield a few more park labels at zooms 2 and 3.
There was a problem hiding this comment.
If that's the case, I think we should update the yaml to clamp these values. Should we do it in this pr? Or a subsequent one?
There was a problem hiding this comment.
It's always been an undocumented bug/feature that they don't show up earlier. If it turns out to be not ideal we can file a followup issue for it.
| area-inclusion-threshold: 1 | ||
| landuse: | ||
| template: landuse.jinja2 | ||
| start_zoom: 4 |
There was a problem hiding this comment.
This will probably yield a few more park polygons at zooms 2 and 3.
There was a problem hiding this comment.
Ok, ditto on the clamp in yaml.
| area-inclusion-threshold: 1 | ||
| roads: | ||
| template: roads.jinja2 | ||
| start_zoom: 5 |
There was a problem hiding this comment.
Looks like we source the Natural Earth scale_rank for min_zoom directly, and that starts at 3:
min_zoom: { col: scalerank }
So this change would introduce roads at zoom 3 unless paired with a clamp over in the roads layer YAML?
There was a problem hiding this comment.
(I'd link but Github is mostly down for me, except these PR comments!)
There was a problem hiding this comment.
Ok, I'd like to pair with a clamp over in roads yaml.
| area-inclusion-threshold: 1 | ||
| transit: | ||
| template: transit.jinja2 | ||
| start_zoom: 5 |
There was a problem hiding this comment.
The smallest feature min_zoom is already 5 so relying on feature min_zoom alone (not guarding here in the layer config) should be fine.
| mz_transit_level IS NOT NULL OR | ||
| mz_water_min_zoom IS NOT NULL | ||
| ) | ||
| {% else %} |
There was a problem hiding this comment.
Suspect we need to have the old earth, road, water layer start_zoom at 8 logic near here now?
(Landuse was start 4 but it's fine at 0, should fix in layer min_zoom YAML if an issue.)
(Transit is already handled i the layer min_zoom YAML.)
| mz_transit_level IS NOT NULL OR | ||
| mz_water_min_zoom IS NOT NULL)) | ||
| {% else %} | ||
| (mz_boundary_min_zoom < {{ zoom + 1 }} AND {{ bounds['line']|bbox_overlaps('way', 3857) }}) OR |
There was a problem hiding this comment.
Suspect we need to have the old earth, road, water layer start_zoom at 8 logic near here now? (Road is probably overkill.)
(Landuse and POI was start 4 but it's fine at 0, should fix in layer min_zoom YAML if an issue.)
(Building and transit is already handled i the layer min_zoom YAML.)
| mz_poi_min_zoom IS NOT NULL OR | ||
| mz_water_min_zoom IS NOT NULL | ||
| ) | ||
| {% else %} |
There was a problem hiding this comment.
Suspect we need to have the old earth, road, water layer start_zoom at 8 logic near here now?
(Building, poi is already handled in the layer min_zoom YAML.)
(Places is mostly handled in the layer min_zoom YAML, and you've carried over the layer duplicate weeding logic into the new NE table logic so we're good there.)
|
Going to merge this in for now. Let's make new issues for the follow ups. |
Connects to https://github.com/mapzen/tile-tasks/issues/267