Merge PR #1: public-lands: filter "Unknown <agency>" PAD-US label artifacts

public-lands: filter "Unknown <agency>" PAD-US label artifacts
This commit is contained in:
malice 2026-05-20 11:24:32 -06:00 committed by GitHub
commit d4e3b68a13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -528,6 +528,8 @@ function addPublicLands(map, themeId) {
type: 'symbol',
source: PUBLIC_LANDS_SOURCE,
'source-layer': 'public_lands',
// Exclude PAD-US sub-polygons whose unit_nm is "Unknown <agency>" USGS source artifact, not real label.
filter: ['!', ['==', ['slice', ['coalesce', ['get', 'name'], ''], 0, 8], 'Unknown ']],
minzoom: 10,
layout: {
'text-field': ['get', 'name'],