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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f74150157ff17ef05f7a312aa48b8b7a6abde6dfea1a231e6db8346a4119add3 |
|
MD5 | 652a1f50acafdcdc37a5c8cd110dc08f |
|
BLAKE2b-256 | 5a414acae24f2e02588c645c1455aab632481db4d5e47b53de6cd98a417bba37 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ebeea1eb1d446131bceb930dba34b334a20e92363d7458934a0cfa4fcf9c2d4 |
|
MD5 | 24bfed26efc58f29e93a249addd11b5e |
|
BLAKE2b-256 | 364c604246f4a797979f43ab01f5a1c44278f78eabb80bf4e9562a5eb3f2c331 |