|
Re: How to specify the name of the input files with the geographical metadata?
Hi,
The naming of the auxiliary files is a GDAL convention and cannot, to my knowledge, be changed. Neither does rasterio allow a user to open an image in read only mode and add or replace the spatial
Hi,
The naming of the auxiliary files is a GDAL convention and cannot, to my knowledge, be changed. Neither does rasterio allow a user to open an image in read only mode and add or replace the spatial
|
By
Sean Gillies
·
#729
·
|
|
How to specify the name of the input files with the geographical metadata?
Good morning,
I'm working with PNG files, and the metadata is stored in two separate files: .pgw and .png.aux.xml. Currently I'm forced to use the same name for the three files, i.e. the image and the
Good morning,
I'm working with PNG files, and the metadata is stored in two separate files: .pgw and .png.aux.xml. Currently I'm forced to use the same name for the three files, i.e. the image and the
|
By
juanjo.gomeznavarro@...
·
#728
·
|
|
Re: Georeference and warp a drone image based on sensor orientation and location using transform.from_gcps()
Hi,
First of all, I apologize for not responding sooner.
You must use the rasterio.warp.reproject function to warp. Warping is never implicit in the dataset read/write methods, these are very
Hi,
First of all, I apologize for not responding sooner.
You must use the rasterio.warp.reproject function to warp. Warping is never implicit in the dataset read/write methods, these are very
|
By
Sean Gillies
·
#727
·
|
|
Re: Clarification on usage with QGIS
That's exactly what I hoped to hear, Christina -- thank you so much!
One question: are there any other libraries commonly used in the QGIS space that depend upon a particular version of GDAL? I'm
That's exactly what I hoped to hear, Christina -- thank you so much!
One question: are there any other libraries commonly used in the QGIS space that depend upon a particular version of GDAL? I'm
|
By
Ari Meyer
·
#726
·
|
|
Re: Clarification on usage with QGIS
I've successfully developed the PAT plugin for QGIS using rasterio, geopandas (uses fiona, shapely). All of these libraries are available in the osgeo4w installer through the advanced install. You
I've successfully developed the PAT plugin for QGIS using rasterio, geopandas (uses fiona, shapely). All of these libraries are available in the osgeo4w installer through the advanced install. You
|
By
Ratcliff, Christina (A&F, Waite Campus)
·
#725
·
|
|
Re: Open Santinel 2 archives with Rasterio
That's it, thank you very much!
That's it, thank you very much!
|
By
lucavlad50@...
·
#724
·
|
|
Re: Open Santinel 2 archives with Rasterio
GDALs Sentinel2 driver exposes the data as subdatasets, with (sort of) one for each resolution - https://gdal.org/drivers/raster/sentinel2.html#level-2a
To access the subdataset that contains the 10m
GDALs Sentinel2 driver exposes the data as subdatasets, with (sort of) one for each resolution - https://gdal.org/drivers/raster/sentinel2.html#level-2a
To access the subdataset that contains the 10m
|
By
Luke
·
#723
·
|
|
Re: Open Santinel 2 archives with Rasterio
Hello,
Thanks for the reply. I saw that but there is no example of a zip file being opened. I saw this:
on: https://gdal.org/drivers/raster/sentinel2.html
and was wondering if it is possible to read
Hello,
Thanks for the reply. I saw that but there is no example of a zip file being opened. I saw this:
on: https://gdal.org/drivers/raster/sentinel2.html
and was wondering if it is possible to read
|
By
lucavlad50@...
·
#722
·
|
|
Re: Open Santinel 2 archives with Rasterio
Hi,
Please see https://rasterio.readthedocs.io/en/latest/quickstart.html#reading-raster-data for a quick tour of data access features.
--
Sean Gillies
Hi,
Please see https://rasterio.readthedocs.io/en/latest/quickstart.html#reading-raster-data for a quick tour of data access features.
--
Sean Gillies
|
By
Sean Gillies
·
#721
·
|
|
Open Santinel 2 archives with Rasterio
Hello,
I saw that rasterio support reading Santinel 2 archives directly, but I can not find any example. How should I access the bands inside the archive after I read it.
For example I have:
with
Hello,
I saw that rasterio support reading Santinel 2 archives directly, but I can not find any example. How should I access the bands inside the archive after I read it.
For example I have:
with
|
By
lucavlad50@...
·
#720
·
|
|
Re: Reading and plotting rotated rasters
Hi Denis,
Yes, this is expected. Exactly as with https://gdal.org/api/gdaldataset_cpp.html#classGDALDataset_1ad2a643880bf8b3c492783e1ab5fbc667.
--
Sean Gillies
Hi Denis,
Yes, this is expected. Exactly as with https://gdal.org/api/gdaldataset_cpp.html#classGDALDataset_1ad2a643880bf8b3c492783e1ab5fbc667.
--
Sean Gillies
|
By
Sean Gillies
·
#719
·
|
|
reproject: partially covered raster cells reset fully to nodata
Dear community,
I'm trying to tackle the following problem: Raster A has a high resolution and a small extent. I should be projected to Raster B with small resolution and large extent. Cells from
Dear community,
I'm trying to tackle the following problem: Raster A has a high resolution and a small extent. I should be projected to Raster B with small resolution and large extent. Cells from
|
By
Fabian Hofmann
·
#718
·
|
|
Reading and plotting rotated rasters
Is it expected that during reading process rasterio doesn't take into account rotation angle for rotated rasters (transform has non-zero rotation) ? In order to make it works properly I had to do
Is it expected that during reading process rasterio doesn't take into account rotation angle for rotated rasters (transform has non-zero rotation) ? In order to make it works properly I had to do
|
By
Denis Rykov
·
#717
·
|
|
Re: HDF4 format support
HDF4 files are currently not supported out of the box with rasterio wheels (https://github.com/rasterio/rasterio-wheels/issues/36).
To support HDF4 files, you will need to build GDAL yourself with
HDF4 files are currently not supported out of the box with rasterio wheels (https://github.com/rasterio/rasterio-wheels/issues/36).
To support HDF4 files, you will need to build GDAL yourself with
|
By
Alan Snow
·
#716
·
|
|
HDF4 format support
```python
import rasterio as rio
from osgeo import gdal
```
I cannot open HDF4 files without including the osgeo gdal library.
Is there a reason that osgeo isn't a dependency in order to open HDF4
```python
import rasterio as rio
from osgeo import gdal
```
I cannot open HDF4 files without including the osgeo gdal library.
Is there a reason that osgeo isn't a dependency in order to open HDF4
|
By
bsmith@...
·
#715
·
|
|
Re: Clarification on usage with QGIS
Looking through the older messages, it seems like integration with QGIS, in particular, is a common enough use case that it really should be discussed separately in the docs. I will be making a
Looking through the older messages, it seems like integration with QGIS, in particular, is a common enough use case that it really should be discussed separately in the docs. I will be making a
|
By
Ari Meyer
·
#714
·
|
|
Re: Clarification on usage with QGIS
FYI, Sean Gillies responded on https://github.com/mapbox/rasterio/issues/2096 :
I'm certain that until rasterio is included with QGIS, shared library compatibility ("DLL Hell") will be a problem for
FYI, Sean Gillies responded on https://github.com/mapbox/rasterio/issues/2096 :
I'm certain that until rasterio is included with QGIS, shared library compatibility ("DLL Hell") will be a problem for
|
By
Ari Meyer
·
#713
·
|
|
Clarification on usage with QGIS
Note: I originally submitted this as a github issue, as I'd like to see an update to the documentation regarding using Rasterio with QGIS (and perhaps for integrating with any apps that use
Note: I originally submitted this as a github issue, as I'd like to see an update to the documentation regarding using Rasterio with QGIS (and perhaps for integrating with any apps that use
|
By
Ari Meyer
·
#712
·
|
|
GDAL Error 4 triggers when working with geo-referenced jpeg
I used gdal_translate to convert a geotiff to a jpg with jpg.aux.xml file. The following is part of the script I used to get and write the tiles to disk
import rasterio as rio
im =
I used gdal_translate to convert a geotiff to a jpg with jpg.aux.xml file. The following is part of the script I used to get and write the tiles to disk
import rasterio as rio
im =
|
By
ashnair0007@...
·
#711
·
Edited
|
|
Re: TypeError: open() takes at most 8 arguments (14 given) when writing
Yes. That was exactly it. My bad. Thanks.
Yes. That was exactly it. My bad. Thanks.
|
By
ashnair0007@...
·
#710
·
|