Skip to main content

Class for working with TiledProjectionSystems (TPS)

Project description

https://github.com/TUW-GEO/pytileproj/workflows/ubuntu/badge.svg https://github.com/TUW-GEO/pytileproj/workflows/windows/badge.svg https://coveralls.io/repos/github/TUW-GEO/pytileproj/badge.svg?branch=master https://badge.fury.io/py/pytileproj.svg https://readthedocs.org/projects/pytileproj/badge/?version=latest

A python class for working with TiledProjectionSystems (TPS).

It’s a python package that handles the geometric and geographic operations of a gridded and tiled projection system. It was designed for data cubes ingesting satellite imagery and builds the basis for the Equi7Grid (see https://github.com/TUW-GEO/Equi7Grid).

It also includes a nice and handy realisation of the UTM/UPS grid system, using the TiledProjectionSystems (TPS) approach.

Citation

https://zenodo.org/badge/DOI/10.5281/zenodo.1042555.svg

If you use the software in a publication then please cite it using the Zenodo DOI. Be aware that this badge links to the latest package version.

Please select your specific version at https://doi.org/10.5281/zenodo.1042555 to get the DOI of that version. You should normally always use the DOI for the specific version of your record in citations. This is to ensure that other researchers can access the exact research artefact you used for reproducibility.

You can find additional information regarding DOI versioning at http://help.zenodo.org/#versioning

Installation

This package should be installable through pip:

pip install pytileproj

Installs for scipy and gdal are required from conda or conda-forge.

Contribute

We are happy if you want to contribute. Please raise an issue explaining what is missing or if you find a bug. We will also gladly accept pull requests against our master branch for new features or bug fixes.

Development setup

For Development we recommend a conda environment.

Example installation script

The following script will install miniconda and setup the environment on a UNIX like system. Miniconda will be installed into $HOME/miniconda.

wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
conda create -n pytileproj_env python=3.6 numpy scipy pip gdal pyproj shapely
source activate pytileproj_env

This script adds $HOME/miniconda/bin temporarily to the PATH to do this permanently add export PATH="$HOME/miniconda/bin:$PATH" to your .bashrc or .zshrc

The last line in the example activates the pytileproj_env environment.

After that you should be able to run:

python setup.py test

to run the test suite.

Guidelines

If you want to contribute please follow these steps:

  • Fork the pytileproj repository to your account

  • Clone the repository

  • make a new feature branch from the pytileproj master branch

  • Add your feature

  • Please include tests for your contributions in one of the test directories. We use py.test so a simple function called test_my_feature is enough

  • submit a pull request to our master branch

Note

This project has been set up using PyScaffold 3.3. For details and usage information on PyScaffold see https://pyscaffold.org/.

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

pytileproj-0.0.14.tar.gz (574.3 kB view details)

Uploaded Source

Built Distribution

pytileproj-0.0.14-py2.py3-none-any.whl (685.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pytileproj-0.0.14.tar.gz.

File metadata

  • Download URL: pytileproj-0.0.14.tar.gz
  • Upload date:
  • Size: 574.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.13

File hashes

Hashes for pytileproj-0.0.14.tar.gz
Algorithm Hash digest
SHA256 e3d230c51b07d86426b71e11b49d86b7cf94724549b69281e4440770b3d5e2d6
MD5 1e3495d18e2f4a0194090d32ad21095a
BLAKE2b-256 8bccae1e1cb22daff100b43f10009cdf67429d66fe084ed7ff46d3f93b0f127f

See more details on using hashes here.

File details

Details for the file pytileproj-0.0.14-py2.py3-none-any.whl.

File metadata

  • Download URL: pytileproj-0.0.14-py2.py3-none-any.whl
  • Upload date:
  • Size: 685.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.13

File hashes

Hashes for pytileproj-0.0.14-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 88ad4d3794e28bb32d606608347a7067851c62a8aededa3925b19283e13f7515
MD5 720db883bf27c40aafcc3c394b8992c0
BLAKE2b-256 4036aee2fc3d60b146b7a2b8e70626251f20448abc63a564533c20f824a65add

See more details on using hashes here.

Supported by

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