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

Uploaded Source

Built Distribution

telenvi-0.0.1-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for telenvi-0.0.1.tar.gz
Algorithm Hash digest
SHA256 977905b595af9971ca7d1d087c3e2e6e1c5b7ab2da6fc3e75f5dc180c38b1a4b
MD5 cbf8c57dabcc3fbfbbaa48b5ebba199c
BLAKE2b-256 fcf324a7209ece5141dd73a0c3416a2a01f6e7cf0d7aac9fdc164d5ca5ffbaf9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for telenvi-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d9203996b668c2e880a20dd852b57949c6fea2d207dd782dd235813fb1afbd5
MD5 c916362f333be1daaa869f3159a08db1
BLAKE2b-256 d6a82ad1a5ed63f3df9a4393f6c080c84f8d7656e8dab5da20b772564a6e7a5d

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