rasterio
rasterio copied to clipboard
Rasterio reads and writes geospatial raster datasets
## Expected behavior. Running `rasterio.warp`on the same input data 5 times yield the same output data 5 times, regardless of `num_threads`. ## Actual behavior The outputs differ in the first...
Due to the implementation of `rasterio.features.geometry_window` (in particular the use of floor and ceil at rows 464-465) ``` 464 row_start, row_stop = int(math.floor(min(rows))), int(math.ceil(max(rows))) 465 col_start, col_stop = int(math.floor(min(cols))), int(math.ceil(max(cols)))...
Change to `CRS.__eq__()` is based on #3208. Several evaluations of `to_epsg()`, which is slow, are replaced by a check of `CRS._epsg`. A notable change in behavior is that `CRS.from_epsg(4326).to_dict()` no...
first idea at fixing #3207 does away with to_epsg conversion and instead uses OSRIsSameEx to do the comparison with OGR. However this might not be very fast, and rasterio doesn't...
we found the show function has some problems in ploting the rgb image, thus we fixed it.
The `__eq__` function in CRS can be very slow if using CRSs are not from the EPSG authority, and in particular if they are custom CRSs as uncovered in https://github.com/cogeotiff/rio-tiler/discussions/747...
also adds a test, recent versions of Proj include the IAU CRSs so this should work as is
## Expected behavior and actual behavior. I get an error with a function I wrote that reads several Sentinel-2 products, extracts bands, and uses in memory datasets to perform a...
## Expected behavior and actual behavior. The [transform.rowcol API](https://rasterio.readthedocs.io/en/stable/api/rasterio.transform.html#rasterio.transform.rowcol) indicates that the `rowcol` function will return two lists of ints. However, following 1.4+, the function instead returns two numpy arrays....
## Background [TorchGeo](https://github.com/microsoft/torchgeo) is a PyTorch domain library for geospatial data, and wraps around rasterio for file I/O. A common use case is to take a collection of arbitrary raster...