A Python package for geospatial analysis and interactive mapping in a Jupyter environment.
Project description
Welcome to leafmap
A Python package for geospatial analysis and interactive mapping in a Jupyter environment.
- GitHub repo: https://github.com/giswqs/leafmap
- Documentation: https://leafmap.org
- PyPI: https://pypi-hypernode.com/project/leafmap
- Conda-forge: https://anaconda.org/conda-forge/leafmap
- Leafmap tutorials on YouTube: https://www.youtube.com/c/QiushengWu
- Free software: MIT license
Introduction
leafmap is a Python package for geospatial analysis and interactive mapping in a Jupyter environment. It is a spin-off project of the geemap Python package, which was designed specifically to work with Google Earth Engine (GEE). However, not everyone in the geospatial community has a GEE account. leafmap is designed to fill this gap for non-GEE users. It enables users to perform advanced geospatial analysis and interactive mapping with minimal coding in a Jupyter environment (e.g., Google Colab, JupyterLab, Jupyter notebook). It is built upon a number of open-source packages, such as folium and ipyleaflet (for creating interactive maps), WhiteboxTools and whiteboxgui (for analyzing geospatial data), and ipywidgets (for designing interactive graphical user interface).
The WhiteboxTools library currently contains 447 tools, which are each grouped based on their main function into one of the following categories. For a list of available tools with comprehensive documentation and usage details, please see the WhiteboxTools User Manual.
- Data Tools
- Geomorphometric Analysis
- GIS Analysis
- Hydrological Analysis
- Image Analysis
- LiDAR Analysis
- Mathematical and Statistical Analysis
- Stream Network Analysis
Launch the interactive notebook tutorial for the leafmap Python package with Google Colab or Binder now:
Key Features
Below is a partial list of features available for the leafmap package. Please check the examples page for notebook examples, GIF animations, and video tutorials.
- Create an interactive map with only one-line of code.
- Select from a variety of basemaps interactively without coding.
- Add XYZ and WMS tile services to the map.
- Convert CSV to points and display points as a marker cluster.
- Add local vector data (e.g., shapefile, GeoJSON, KML) to the map without coding.
- Add local raster data (e.g., GeoTIFF) to the map without coding.
- Add Cloud Optimized GeoTIFF (COG) and SpatialTemporal Asset Catalog (STAC) to the map.
- Add OpenStreetMap data to the map with a single line of code.
- Add a GeoPandas GeoDataFrame to the map with a single line of code.
- Add data from a PostGIS database to the map.
- Add custom legends and colorbars to the map.
- Perform geospatial analysis using WhiteboxTools and whiteboxgui.
- Create split-panel map and linked maps.
- Publish interactive maps with a single line of code.
- Download and display OpenStreetMap data with a single line of code.
Demo
YouTube Channel
I have created a YouTube Channel for sharing geospatial tutorials. You can subscribe to my channel for regular updates. If there is any specific tutorial you would like to see, please submit a feature request here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file leafmap-0.2.0.tar.gz
.
File metadata
- Download URL: leafmap-0.2.0.tar.gz
- Upload date:
- Size: 60.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd88a41e5ba8b842db28d1ae164b5052ac2796f6bd8cd253ac6e6417ee6f110f |
|
MD5 | 894acd54b2841ae9bebf1b6389de90c2 |
|
BLAKE2b-256 | 170a95da71e51c53d0da97746656964e04f425bf3a1388410e9c2b69188a4e5d |
File details
Details for the file leafmap-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: leafmap-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 61.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ff4ff18264ab0873536af206ba01a8aeafc615d7630bf5cb15cb684eb318575 |
|
MD5 | 424c0f87727335d61845609434bf7aa0 |
|
BLAKE2b-256 | e1a9f1fe358cc4ecc6003ad29fcf04de59e8484dc1c0465e70fcef671e6c895b |