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.2.0.tar.gz (108.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.2.0-py3-none-any.whl (81.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: digitalearth-0.2.0.tar.gz
  • Upload date:
  • Size: 108.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.2.0.tar.gz
Algorithm Hash digest
SHA256 5ab2e0503c9e208382afa847f5ebd12a65c5ad5bd7dfe663ddc44b1ebe3ede13
MD5 556b26c80505c841c7ffaa08c6521bdf
BLAKE2b-256 4cfd1a4c7ada5fcaeb78731348ed530d7c7f2644a1d3bf8cdd5acb29bcb8ac23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: digitalearth-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 81.0 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 399647b3200d181994c84d2a8c17511c39603228563e55e7343c33f6bb5fb9fc
MD5 13d1e5427a9c627ed22cd6206ea84abf
BLAKE2b-256 8250cbc23a73db37b196905e413f9198a2a8be1d773fd4c4611b3fd79323b35d

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