Current project: Automatic pipeline for downloading and processing Sentinel 2 imagery. Once that works, automatic upload to a TAK server as datapackage...

#python #rasterio #sentinel2 #satelliteimagery #tak #atak

Python #uv: uv by #Astral (also behind Ruff) is a new-ish #Python project management tool that you may have already heard praise about. uv simplifies environment and dependency management for Python (truly, finally) and is blazingly fast, thus potentially streamlining also geospatial workflows reliant on libraries such as #GeoPandas, #rasterio and the like.
https://spatialists.ch/posts/2025/02-20-python-uv/ #GIS #GISchat #geospatial #SwissGIS
Python uv – spatialists.ch – geospatial news

#uv is a relatively new #Python project management tool that has been gaining attention for its ease-of-use and speed. It has quickly become a popular choice for easy installation and environment and dependency management in Python projects.

spatialists.ch – geospatial news

👀 Is anyone of you aware of a python solution for creating a bivariate map from a raster?

#gischat #python #rasterio #geopandas

I had a quite interesting experience with #rasterio. Opening a dataset with a context only once outside of a loop resulted in slower execution than opening it at every iteration. I need to investigate that.
#geospatial #gis

Been working on bringing back an old Python project, to get OBJ files from GeoTIFFs using #RasterIo.

Mostly for my own amusement, and to get back to doing some Python after a break.

A panorama of #Edinburgh old town, camera is positioned above the spire of the Hub in LawnMarket.

The odd dark spike to the south was the crane being used to build the Virgin Hotel in Cowgate, the DSM is from a couple of years back.

One cool feature of rasterio, inherited from gdal, is that if you write a raster to a dataset of a different size, it will automatically resample your image to the size of the destination.
#geospatial #python #gdal #rasterio #remotesensing
rasterio

Fast and direct raster I/O for use with Numpy and SciPy

PyPI

I've been struggling with adding a colormap to a landcover raster. There is https://gdal.org/programs/gdalattachpct.html but apparently it isn't included in the GDAL that comes with QGIS or osgeo4win.

I finally tried using #rasterio, and and am happy to report that it works like a charm! https://rasterio.readthedocs.io/en/stable/topics/color.html#writing-colormaps

gdalattachpct.py — GDAL documentation

#rasterio sets the benchmark for #GDAL as central in the handling of general "datasets to open" schemes

https://github.com/rasterio/rasterio/discussions/2897

rasterio.open() usage clarification · rasterio/rasterio · Discussion #2897

Hi all, I'm changing the docstring of rasterio.open() so that it says the following: The dataset may be located in a local file, in a resource located by a URL, or contained within a stream of byte...

GitHub