Skip to main content

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).

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.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for le-map-tools 0.36.9
File Size Uploaded Provenance Actions
le_map_tools-0.36.9.tar.gz 2.4 MB Without provenance Details for le_map_tools-0.36.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for le-map-tools 0.36.9
File Interpreter ABI Platform Actions
le_map_tools-0.36.9-py3-none-any.whl Python 3 none any Details for le_map_tools-0.36.9-py3-none-any.whl

Total release size: 4.9 MB

Release files / le_map_tools-0.36.9.tar.gz

Download URL le_map_tools-0.36.9.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
81821307c36e51702ba44712864185d2d9259e5bfd721f1093cdb4fb0f9dd762
BLAKE2b-256 checksum
How to use checksums
821e43d18266e58b75f2d262f70ec738094941cf135f17dd45e967d24184d470
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.9-py3-none-any.whl

Download URL le_map_tools-0.36.9-py3-none-any.whl
Size 2.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b41ec2da2af08e2d016e073437faee5d94c0dcee8775beff0f14441c337d65e8
BLAKE2b-256 checksum
How to use checksums
4d6ebab2564b055f0f43062c8397168f1cf7741b8325f488945c9cad30673de8
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.9

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page