Name | Downloads | Version | Platforms |
---|---|---|---|
digitalearth is a Remote Sensing package
digitalearth
- plot static maps
- dynamic/interactive maps
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
to install the last development to time you can install the library from github
pip install git+https://github.com/MAfarrag/digitalearth
to install the last release you can easly use pip
pip install digitalearth==0.1.11
from digitalearth.map import Map
src = gdal.Open("examples/data/acc4000.tif")
fig, ax = Map.plot(src, title="Flow Accumulation", cbar_label="Flow Accumulation")
points = pd.read_csv("examples/data/points.csv")
point_color = "blue"
point_size = 100
id_color = "yellow"
id_size = 20
display_cellvalue = True
num_size = 8
background_color_threshold = None
ticks_spacing = 500
fig, ax = Map.plot(
src,
point_color=point_color,
point_size=point_size,
pid_color=id_color,
pid_size=id_size,
points=points,
display_cellvalue=display_cellvalue,
num_size=num_size,
background_color_threshold=background_color_threshold,
ticks_spacing=ticks_spacing,
title="Flow Accumulation",
cbar_label="Flow Accumulation"
)