tilezen / vector-datasource

Tilezen vector tile service - OpenStreetMap data in several formats
https://www.nextzen.org/
Other
509 stars 120 forks source link

Address points in buildings layer sometimes missing min_zoom #2023

Closed nvkelso closed 2 years ago

nvkelso commented 2 years ago

Occasionally the address points exported in the buildings layer are missing min_zoom props.

Besides the vanilla address nodes in OSM, Tilezen harvests address points in queries.yaml off ways as well via this transform.py logic:

        # we're only interested in a very few properties for
        # address points.
        label_properties = dict(
            addr_housenumber=addr_housenumber,
            kind='address')

We need to also set min_zoom=17 in that section, like:

        # we're only interested in a very few properties for
        # address points.
        label_properties = dict(
            addr_housenumber=addr_housenumber,
            min_zoom=17,
            kind='address')
nvkelso commented 2 years ago

PR is https://github.com/tilezen/vector-datasource/pull/2032.

nvkelso commented 2 years ago

Relates to https://github.com/tilezen/tilequeue/pull/402.