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 WGS 84 area

from geotiff import GeoTiff

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

This will detect and convert coordinates into WGS 84

You can also get the coordinated of the actual bounding box

geotiff.tif_bBox

And the original crs code

geotiff.crs_code

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
  • read a user defined CRS
  • 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.3.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

geotiff-0.1.3-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geotiff-0.1.3.tar.gz
  • Upload date:
  • Size: 5.6 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.3.tar.gz
Algorithm Hash digest
SHA256 700cd0b7f022deffae6a0976f9730dc859c1264a790f2406c6077cbdafca9281
MD5 404adae5ed1dae1d2c6ffffa363bb4d3
BLAKE2b-256 8653095863ca3d596b53aaa98baf3e8e27c6837753e938553b1b6891e81d2785

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geotiff-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 708a1fd0763ecd5d200b8179beef9c7837578fe96c86e8dae45130b6b0743b62
MD5 1b53babdb6d4076ffe50a0a287855ffe
BLAKE2b-256 202e936e84e5c2352a83fb3a18aa937a77810886bc3ad929a659f4a9c267dbad

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