Skip to main content

Some remote sensing tricks from telenvi master students

Project description

telenvi

Some remote sensing tricks from telenvi master students. Contain tools to work on satellites images. You can easily load georeferenced raster files in python, compute indices on them or extract their values, then make crops, resample and reprojection.

GitHub repo

The code is available here : github.com/pyzak117/telenvi

Dependancies

to work with telenvi you need thoses libraries:

  • gdal
  • numpy
  • geopandas
  • matplotlib

Installation

pip install telenvi

Use from a python script

from telenvi import raster_tools

open a raster, mono or multi-spectral

target = raster_tools.openGeoRaster("aGeoreferencedRaster.tif")

open a part of raster

target = raster_tools.openGeoRaster(
  "aGeoreferencedRaster.tif",
  roi = "aShapefileContainingOneOrManyPolygons.shp",
  ft = 0 # the id of the polygon into the attribute table of the shapefile
  )

pixel-values extraction

array = target.pxlV

export a raster

tarrget.exportAsRasterFile("pathToANewGeoTiff.tif")

You can download a tutorial to learn how to use the telenvi package here : https://mega.nz/file/voNTUYrR#WHtp_stDGi-p3_TfUj9K_K76H56n0B1L0hGixMvVzkY You will find a .rar archive containing jupyter notebooks and data to test the package.

Contact

You can contact me at thibaut.duvanel@univ-savoie.fr if you have any questions.

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

telenvi-2.35.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

telenvi-2.35-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file telenvi-2.35.tar.gz.

File metadata

  • Download URL: telenvi-2.35.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.12

File hashes

Hashes for telenvi-2.35.tar.gz
Algorithm Hash digest
SHA256 f74150157ff17ef05f7a312aa48b8b7a6abde6dfea1a231e6db8346a4119add3
MD5 652a1f50acafdcdc37a5c8cd110dc08f
BLAKE2b-256 5a414acae24f2e02588c645c1455aab632481db4d5e47b53de6cd98a417bba37

See more details on using hashes here.

File details

Details for the file telenvi-2.35-py3-none-any.whl.

File metadata

  • Download URL: telenvi-2.35-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.12

File hashes

Hashes for telenvi-2.35-py3-none-any.whl
Algorithm Hash digest
SHA256 2ebeea1eb1d446131bceb930dba34b334a20e92363d7458934a0cfa4fcf9c2d4
MD5 24bfed26efc58f29e93a249addd11b5e
BLAKE2b-256 364c604246f4a797979f43ab01f5a1c44278f78eabb80bf4e9562a5eb3f2c331

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