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.4.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: telenvi-2.4.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.10.4

File hashes

Hashes for telenvi-2.4.tar.gz
Algorithm Hash digest
SHA256 5b0311e42d9f3413307fc4d87b9830fa1f49f7a1d4432c3aa30b0e8ca7b5d8c0
MD5 265587708fb21e19812312cd6348c95a
BLAKE2b-256 daeaa2344f65e6149694b70b5b46f48643ab3ce839a48deae76366ff7c0acb0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: telenvi-2.4-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.10.4

File hashes

Hashes for telenvi-2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1a5369a7cb49e46f15c82a5c3fa4e7fe700f2248d6d0dd6f36184b6a786d050b
MD5 a4c8cac1a5849e7a63398a6268a87444
BLAKE2b-256 a90285a8600f7061090c276f35c7aff1db38d60c0b87d65f9cc04cc7bf299246

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