Skip to content

Commit

Permalink
fix: National Park service boundaries use UNIT_NAME instead of FOREST…
Browse files Browse the repository at this point in the history
…NAME
  • Loading branch information
rsavoye committed Aug 20, 2024
1 parent d6ef46c commit fbeb81c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utilities/tm-splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ async def main():
for feature in grid['features']:
if "FORESTNAME" in feature["properties"]:
name = feature["properties"]["FORESTNAME"].replace(' ', '_')
elif "UNIT_NAME" in feature["properties"]:
name = feature["properties"]["UNIT_NAME"].replace(' ', '_').replace('/', '_')
else:
name = f"{path.stem}_{index}"
index += 1
Expand Down

0 comments on commit fbeb81c

Please sign in to comment.