Skip to main content

A noGDAL tool for reading and writing geotiff files

Project description

geotiff

A noGDAL tool for reading and writing geotiff files

WARNING this package is under development and some features are unstable. Use with caution.

What is noGDAL?

noGDAL is a philosophy for developing geospatial programs in python without using GDAL.

Instillation

Installing this package is as easy as:

pip install geotiff

Usage

Read the GeoTiff to an array

from geotiff import GeoTiff

geoTiff = GeoTiff(tiff_file)
array = geoTiff.read()

Read a sections of a large tiff using a bounding box

from geotiff import GeoTiff

bounding_box = [(138.632071411, -32.447310785), (138.644218874, -32.456979174)]
geoTiff = GeoTiff(tiff_file)
array = geoTiff.read_box(bounding_box)

This will detect and convert coordinates into WGS 84

Contributing

If you would like to contribute to this project, please fork it and make a PR with you patches.

You can join the conversation by saying hi in the project discussion board.

To help users and and other contributes, be sure to:

  • make doc blocs if appropriate
  • use typing wherever possible.

Note: The continuous integration has lint checking with mypy, so be sure to check it yourself before making a PR.

Project Road Map

Core Features

  • read tiff files (including BigTiff)
  • write tiff files (including BigTiff)
  • (UNSTABLE/LIMITED) convert between coordinate systems
  • cut a section (bounding box) of the tiff file
  • convert the data to numpy arrays

Additional features

  • (50%) Full test coverage
  • Typing with lint checking using mypy
  • Documentation: doc blocs
  • Documentation: readthedocs

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

geotiff-0.1.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

geotiff-0.1.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file geotiff-0.1.2.tar.gz.

File metadata

  • Download URL: geotiff-0.1.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for geotiff-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f65b20d0747213975ecd8360f720408af52c4db47ea872624439a01b6f8dea0b
MD5 c521ef7f4268b8472d61410d1b872a69
BLAKE2b-256 680365d9e87aa05aa7a8bf47e5a9a4514d17f7316a61a8c3fe72b4a769c9280c

See more details on using hashes here.

File details

Details for the file geotiff-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: geotiff-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for geotiff-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b1e05db45bcad1f5fa5cf5e27279dcc0149219ff9513b8f6b697f8a2f0a945e
MD5 8d8e2e3d3cfdbc5fb8d1c4f2444351a9
BLAKE2b-256 bcd70762d90814a042c214b3055b601d29896433a43501666d692b118a435f09

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