le-map-tools
le_map_tools provides interactive Notebook maps and local image downloads for
LabelEarth Engine. The package uses the le SDK to request map tiles and image
downloads from the configured engine.
Install
Use Python 3.10 or newer.
python -m pip install --upgrade le-map-tools
Use in a Notebook
import le
import le_map_tools
le.Initialize()
m = le_map_tools.Map(ee_initialize=False)
m
For another LE deployment, pass its service URL to
le.Initialize(url="http://127.0.0.1:8001"). Add an LE image with
m.add_layer(image, vis_params, "Image") or download an image with
le_map_tools.ee_export_image(image, filename="image.tif", region=region, scale=30).
For geedim-style windowed downloads, install labelearth-geedim using Python
3.11 or newer, then use le_map_tools.download_ee_image(image, ...).
The default basemap is 高德影像. The basemap selector also offers
Esri.WorldImagery. Use Map(basemap="Esri.WorldImagery") at construction or
m.add_basemap("SATELLITE") to switch while retaining analysis and drawn layers.
Set LE_GAODE_TILE_URL before starting the kernel to provide a custom Gaode XYZ
tile URL with {x}, {y}, and {z} placeholders.
Source and license
Build and PyPI upload instructions are in the LE SDK release guide.
This package adapts geemap by
Qiusheng Wu and the geemap contributors. The upstream MIT license and
copyright are included in LICENSE. For upstream academic citation, see
Wu (2020).
Metadata
Release files for le-map-tools 0.36.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| le_map_tools-0.36.10.tar.gz | 2.4 MB | Without provenance | Details for le_map_tools-0.36.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| le_map_tools-0.36.10-py3-none-any.whl | Python 3 | none | any | Details for le_map_tools-0.36.10-py3-none-any.whl |
Total release size: 4.9 MB
Release files / le_map_tools-0.36.10.tar.gz
| Download URL | le_map_tools-0.36.10.tar.gz |
|---|---|
| Size | 2.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf2563bfa9742f3be5e45d4b2ba13191f328a8cfbeb1304da7acf1a488dd9f84
|
|
BLAKE2b-256 checksum How to use checksums |
ac51e9af85ef20c512bc5533fee2dd071b69166eba2b1fbb2b7bda0e47508b17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / le_map_tools-0.36.10-py3-none-any.whl
| Download URL | le_map_tools-0.36.10-py3-none-any.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91ad663633f8cc4aa5e6522293c1f02c0a3b68a52ed12b672c83192f2fd3f59f
|
|
BLAKE2b-256 checksum How to use checksums |
4f2c973553e5e8d6da7b2925fa3d3200e3b694d09cea47d7f8d0bf86af4aedad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for le-map-tools 0.36.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.