mirror of
https://github.com/zvx-echo6/navi.git
synced 2026-05-20 22:54:42 +02:00
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:
commit
d4e3b68a13
1 changed files with 2 additions and 0 deletions
|
|
@ -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'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue