Skip to main content

Geospatial visualization package for rasters and vector data

Project description

Python Versions License: GPL v3 pre-commit Language grade: Python Documentation Status

codecov GitHub last commit GitHub forks GitHub Repo stars

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Downloads Downloads Downloads PyPI - Downloads GitHub all releases GitHub release (latest by date) Conda Version PyPI version Anaconda-Server Badge Conda Platforms Join the chat at https://gitter.im/Hapi-Nile/Hapi

digitalearth - Remote Sensing package

digitalearth is a Remote Sensing package

digitalearth

Main Features

  • plot static maps

Future work

  • dynamic/interactive maps

Installing digitalearth

Installing digitalearth from the conda-forge channel can be achieved by:

conda install -c conda-forge digitalearth

It is possible to list all of the versions of digitalearth available on your platform with:

conda search digitalearth --channel conda-forge

Install from Github

to install the last development to time you can install the library from github

pip install git+https://github.com/serapeum-org/Digital-Earth

pip

to install the last release you can easly use pip

pip install digitalearth==0.1.11

Quick start

from pyramids.dataset import Dataset
from digitalearth.static import StaticGlyph
src = Dataset.read_file("examples/data/acc4000.tif")
fig, ax = StaticGlyph.plot(src, title="Flow Accumulation", cbar_label="Flow Accumulation")

Flowaccumulation

points = pd.read_csv("examples/data/points.csv")
point_color = "blue"
point_size = 100
id_color = "yellow"
id_size = 20

display_cell_value = True
num_size = 8
background_color_threshold = None
ticks_spacing = 500

fig, ax = StaticGlyph.plot(
            src,
            point_color=point_color,
            point_size=point_size,
            pid_color=id_color,
            pid_size=id_size,
            points=points,
            display_cell_value=display_cell_value,
            num_size=num_size,
            background_color_threshold=background_color_threshold,
            ticks_spacing=ticks_spacing,
            title="Flow Accumulation",
            cbar_label="Flow Accumulation"
        )

Flowaccumulation other code samples

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

digitalearth-0.3.0.tar.gz (124.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

digitalearth-0.3.0-py3-none-any.whl (87.3 kB view details)

Uploaded Python 3

File details

Details for the file digitalearth-0.3.0.tar.gz.

File metadata

  • Download URL: digitalearth-0.3.0.tar.gz
  • Upload date:
  • Size: 124.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for digitalearth-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6c937166637446d50314f648007b04f19970c7a8f9f945b080aa937d4c4678b5
MD5 7a96c21fc3faed9f2ff907672ba656b6
BLAKE2b-256 68b46931d85e4c7fd7dfe6a0921d475a5a0fce1f649bc3a2c3403090365c4053

See more details on using hashes here.

File details

Details for the file digitalearth-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: digitalearth-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 87.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for digitalearth-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a00bf126f5194455257e668a626b081e99ff07fe8f279a7bedcc0324b517d593
MD5 a29927b1d5d703525502c0140f82783e
BLAKE2b-256 82a4a98c452bd2f76f9f070448d0dad816b9bf611959738060bdcf81158309f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page