#!/usr/bin/env python # coding: utf-8 # [![image](https://jupyterlite.rtfd.io/en/latest/_static/badge.svg)](https://demo.leafmap.org/lab/index.html?path=notebooks/100_nlcd.ipynb) # [![image](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/opengeos/leafmap/blob/master/docs/notebooks/100_nlcd.ipynb) # [![image](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/opengeos/leafmap/HEAD) # # **Visualizing National Land Cover Database (NLCD) data products** # Uncomment the following line to install the `leafmap` package. # In[ ]: # %pip install -U leafmap # In[ ]: import leafmap # In[ ]: m = leafmap.Map(center=[40, -100], zoom=4) m.add_basemap("SATELLITE") m.add_nlcd(years=[1985, 2023]) m # In[ ]: m = leafmap.Map(center=[40, -100], zoom=4) m.add_basemap("SATELLITE") m.clear_controls() m.add_nlcd_ts(left_year=2000) m # In[ ]: # leafmap.download_nlcd(years=[1985, 2023])