[![Python Versions](https://img.shields.io/pypi/pyversions/digitalearth.png)](https://img.shields.io/pypi/pyversions/digitalearth)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/MAfarrag/digitalearth.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/MAfarrag/digitalearth/context:python)
[![Documentation Status](https://readthedocs.org/projects/digitalearth/badge/?version=latest)](https://cleopatra.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/Serapieum-of-alex/Digital-Earth/branch/main/graph/badge.svg?token=nDBDBjsyij)](https://codecov.io/gh/Serapieum-of-alex/Digital-Earth)
![GitHub last commit](https://img.shields.io/github/last-commit/MAfarrag/digitalearth)
![GitHub forks](https://img.shields.io/github/forks/MAfarrag/digitalearth?style=social)
![GitHub Repo stars](https://img.shields.io/github/stars/MAfarrag/digitalearth?style=social)
Current release info
====================
| Name | Downloads | Version | Platforms |
| --- |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| --- | --- |
| [![Conda Recipe](https://img.shields.io/badge/recipe-digitalearth-green.svg)](https://anaconda.org/conda-forge/digitalearth) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/digitalearth.svg)](https://anaconda.org/conda-forge/digitalearth) [![Downloads](https://pepy.tech/badge/digitalearth)](https://pepy.tech/project/digitalearth) [![Downloads](https://pepy.tech/badge/digitalearth/month)](https://pepy.tech/project/digitalearth) [![Downloads](https://pepy.tech/badge/digitalearth/week)](https://pepy.tech/project/digitalearth) ![PyPI - Downloads](https://img.shields.io/pypi/dd/digitalearth?color=blue&style=flat-square) ![GitHub all releases](https://img.shields.io/github/downloads/MAfarrag/digitalearth/total) ![GitHub release (latest by date)](https://img.shields.io/github/downloads/MAfarrag/digitalearth/0.1.0/total) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/digitalearth.svg)](https://anaconda.org/conda-forge/digitalearth) [![PyPI version](https://badge.fury.io/py/digitalearth.svg)](https://badge.fury.io/py/digitalearth) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/digitalearth/badges/version.svg)](https://anaconda.org/conda-forge/digitalearth) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/digitalearth.svg)](https://anaconda.org/conda-forge/digitalearth) [![Join the chat at https://gitter.im/Hapi-Nile/Hapi](https://badges.gitter.im/Hapi-Nile/Hapi.svg)](https://gitter.im/Hapi-Nile/Hapi?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
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/MAfarrag/digitalearth
```
## pip
to install the last release you can easly use pip
```
pip install digitalearth==0.1.11
```
Quick start
===========
```
from digitalearth.map import Map
src = gdal.Open("examples/data/acc4000.tif")
fig, ax = Map.plot(src, title="Flow Accumulation", cbar_label="Flow Accumulation")
```
![Flowaccumulation](examples/images/flow_accumulation.png)
```
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"
)
```
![Flowaccumulation](examples/images/flow_accumulation_with_labels.png)
[other code samples](https://digitalearth.readthedocs.io/en/latest/?badge=latest)
=======
History
=======
0.1.0 (2022-05-24)
------------------
* First release on PyPI.
0.1.8 (2022-12-19)
------------------
* Use environment.yaml and requirements.txt instead of pyproject.toml and replace poetry env byconda env
0.1.9 (2022-12-19)
------------------
* lock numpy to version 1.23.5
0.1.10 (2022-12-27)
------------------
* fix pypi package names in the requirements.txt
* fix python version number
0.1.11 (2023-01-31)
------------------
* bump up cleopatra version
* bump up pyramids version
* add github action for creating a release from tags
Raw data
{
"_id": null,
"home_page": "https://github.com/MAfarrag/digitalearth",
"name": "digitalearth",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "matplotlib,maps,visualization",
"author": "Mostafa Farrag",
"author_email": "moah.farag@gmail.come",
"download_url": "https://files.pythonhosted.org/packages/45/af/310f625dddbc6b1902af380b6bd4b015d688c7b3198dba850fb5207598b7/digitalearth-0.1.11.tar.gz",
"platform": null,
"description": "[![Python Versions](https://img.shields.io/pypi/pyversions/digitalearth.png)](https://img.shields.io/pypi/pyversions/digitalearth)\r\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\r\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)\r\n[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/MAfarrag/digitalearth.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/MAfarrag/digitalearth/context:python)\r\n[![Documentation Status](https://readthedocs.org/projects/digitalearth/badge/?version=latest)](https://cleopatra.readthedocs.io/en/latest/?badge=latest)\r\n\r\n\r\n[![codecov](https://codecov.io/gh/Serapieum-of-alex/Digital-Earth/branch/main/graph/badge.svg?token=nDBDBjsyij)](https://codecov.io/gh/Serapieum-of-alex/Digital-Earth)\r\n![GitHub last commit](https://img.shields.io/github/last-commit/MAfarrag/digitalearth)\r\n![GitHub forks](https://img.shields.io/github/forks/MAfarrag/digitalearth?style=social)\r\n![GitHub Repo stars](https://img.shields.io/github/stars/MAfarrag/digitalearth?style=social)\r\n\r\n\r\nCurrent release info\r\n====================\r\n\r\n| Name | Downloads | Version | Platforms |\r\n| --- |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| --- | --- |\r\n| [![Conda Recipe](https://img.shields.io/badge/recipe-digitalearth-green.svg)](https://anaconda.org/conda-forge/digitalearth) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/digitalearth.svg)](https://anaconda.org/conda-forge/digitalearth) [![Downloads](https://pepy.tech/badge/digitalearth)](https://pepy.tech/project/digitalearth) [![Downloads](https://pepy.tech/badge/digitalearth/month)](https://pepy.tech/project/digitalearth) [![Downloads](https://pepy.tech/badge/digitalearth/week)](https://pepy.tech/project/digitalearth) ![PyPI - Downloads](https://img.shields.io/pypi/dd/digitalearth?color=blue&style=flat-square) ![GitHub all releases](https://img.shields.io/github/downloads/MAfarrag/digitalearth/total) ![GitHub release (latest by date)](https://img.shields.io/github/downloads/MAfarrag/digitalearth/0.1.0/total) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/digitalearth.svg)](https://anaconda.org/conda-forge/digitalearth) [![PyPI version](https://badge.fury.io/py/digitalearth.svg)](https://badge.fury.io/py/digitalearth) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/digitalearth/badges/version.svg)](https://anaconda.org/conda-forge/digitalearth) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/digitalearth.svg)](https://anaconda.org/conda-forge/digitalearth) [![Join the chat at https://gitter.im/Hapi-Nile/Hapi](https://badges.gitter.im/Hapi-Nile/Hapi.svg)](https://gitter.im/Hapi-Nile/Hapi?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |\r\n\r\ndigitalearth - Remote Sensing package\r\n=====================================================================\r\n**digitalearth** is a Remote Sensing package\r\n\r\ndigitalearth\r\n\r\nMain Features\r\n-------------\r\n - plot static maps\r\n\r\n\r\nFuture work\r\n-------------\r\n - dynamic/interactive maps\r\n\r\n\r\n\r\nInstalling digitalearth\r\n===============\r\n\r\nInstalling `digitalearth` from the `conda-forge` channel can be achieved by:\r\n\r\n```\r\nconda install -c conda-forge digitalearth\r\n```\r\n\r\nIt is possible to list all of the versions of `digitalearth` available on your platform with:\r\n\r\n```\r\nconda search digitalearth --channel conda-forge\r\n```\r\n\r\n## Install from Github\r\nto install the last development to time you can install the library from github\r\n```\r\npip install git+https://github.com/MAfarrag/digitalearth\r\n```\r\n\r\n## pip\r\nto install the last release you can easly use pip\r\n```\r\npip install digitalearth==0.1.11\r\n```\r\n\r\nQuick start\r\n===========\r\n\r\n```\r\nfrom digitalearth.map import Map\r\nsrc = gdal.Open(\"examples/data/acc4000.tif\")\r\nfig, ax = Map.plot(src, title=\"Flow Accumulation\", cbar_label=\"Flow Accumulation\") \r\n```\r\n![Flowaccumulation](examples/images/flow_accumulation.png)\r\n```\r\npoints = pd.read_csv(\"examples/data/points.csv\")\r\npoint_color = \"blue\"\r\npoint_size = 100\r\nid_color = \"yellow\"\r\nid_size = 20\r\n\r\ndisplay_cellvalue = True\r\nnum_size = 8\r\nbackground_color_threshold = None\r\nticks_spacing = 500\r\n\r\nfig, ax = Map.plot(\r\n src,\r\n point_color=point_color,\r\n point_size=point_size,\r\n pid_color=id_color,\r\n pid_size=id_size,\r\n points=points,\r\n display_cellvalue=display_cellvalue,\r\n num_size=num_size,\r\n background_color_threshold=background_color_threshold,\r\n ticks_spacing=ticks_spacing,\r\n title=\"Flow Accumulation\",\r\n cbar_label=\"Flow Accumulation\"\r\n )\r\n```\r\n![Flowaccumulation](examples/images/flow_accumulation_with_labels.png)\r\n[other code samples](https://digitalearth.readthedocs.io/en/latest/?badge=latest)\r\n\r\n\r\n=======\r\nHistory\r\n=======\r\n\r\n0.1.0 (2022-05-24)\r\n------------------\r\n\r\n* First release on PyPI.\r\n\r\n0.1.8 (2022-12-19)\r\n------------------\r\n\r\n* Use environment.yaml and requirements.txt instead of pyproject.toml and replace poetry env byconda env\r\n\r\n0.1.9 (2022-12-19)\r\n------------------\r\n\r\n* lock numpy to version 1.23.5\r\n\r\n0.1.10 (2022-12-27)\r\n------------------\r\n\r\n* fix pypi package names in the requirements.txt\r\n* fix python version number\r\n\r\n0.1.11 (2023-01-31)\r\n------------------\r\n\r\n* bump up cleopatra version\r\n* bump up pyramids version\r\n* add github action for creating a release from tags\r\n",
"bugtrack_url": null,
"license": "GNU General Public License v3",
"summary": "visualization package",
"version": "0.1.11",
"split_keywords": [
"matplotlib",
"maps",
"visualization"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a39155a6820d8643fef0f97ee4cc4f2ab6d08c615defbf687d0cec64aac3bb9e",
"md5": "ec78769275ba8434a6d800f4f0dcd59d",
"sha256": "f7fee82a13fc60edff20cee1f009d6c9c0a33575bdbdf2f1e7cf3d3d9ab478b6"
},
"downloads": -1,
"filename": "digitalearth-0.1.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ec78769275ba8434a6d800f4f0dcd59d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 22112,
"upload_time": "2023-01-31T17:35:47",
"upload_time_iso_8601": "2023-01-31T17:35:47.444233Z",
"url": "https://files.pythonhosted.org/packages/a3/91/55a6820d8643fef0f97ee4cc4f2ab6d08c615defbf687d0cec64aac3bb9e/digitalearth-0.1.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "45af310f625dddbc6b1902af380b6bd4b015d688c7b3198dba850fb5207598b7",
"md5": "0c4969dc95fd350de3a1d76b3f3d08c3",
"sha256": "ded8006befcb0acb7b4b03742fef88fd59983ba62e99eb9b46a11c8b35a68bf2"
},
"downloads": -1,
"filename": "digitalearth-0.1.11.tar.gz",
"has_sig": false,
"md5_digest": "0c4969dc95fd350de3a1d76b3f3d08c3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 21546,
"upload_time": "2023-01-31T17:35:49",
"upload_time_iso_8601": "2023-01-31T17:35:49.598692Z",
"url": "https://files.pythonhosted.org/packages/45/af/310f625dddbc6b1902af380b6bd4b015d688c7b3198dba850fb5207598b7/digitalearth-0.1.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-31 17:35:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "MAfarrag",
"github_project": "digitalearth",
"lcname": "digitalearth"
}