|
Re: Rasterio read outshape resample does not give correct array
Hello.
I think that your problem is a little more complex than just resampling. The bilinear interpolation averages the surrounding cells to create a smooth image.
You need to sum the four
Hello.
I think that your problem is a little more complex than just resampling. The bilinear interpolation averages the surrounding cells to create a smooth image.
You need to sum the four
|
By
Hobart, Geordie (NRCan/RNCan)
·
#749
·
|
|
Rasterio read outshape resample does not give correct array
Hi all,
I have a population grid and want to decrease the resolution by a factor 2. So I would like to get a raster that has 2 times less rows and columns, a resolution that is 2 times as large as
Hi all,
I have a population grid and want to decrease the resolution by a factor 2. So I would like to get a raster that has 2 times less rows and columns, a resolution that is 2 times as large as
|
By
tinak.contact@...
·
#748
·
Edited
|
|
Re: cannot correctly change a TIFF's interleave
Thanks! It really helps me a lot. Hope you have a nice day :)
Thanks! It really helps me a lot. Hope you have a nice day :)
|
By
guohoucai@...
·
#746
·
|
|
Re: cannot correctly change a TIFF's interleave
The "profile" attribute of a dataset is a dictionary that describes key characteristics of the dataset. You can use this dictionary in any way you like. Modifying it does not affect the dataset that
The "profile" attribute of a dataset is a dictionary that describes key characteristics of the dataset. You can use this dictionary in any way you like. Modifying it does not affect the dataset that
|
By
Sean Gillies
·
#745
·
|
|
Re: cannot correctly change a TIFF's interleave
Thanks for your help! It really helps me a lot! But I got another question: rasterio.shutil.copy() could only copy a raster to a new destination, what should I do if I wanna use a raster's profile for
Thanks for your help! It really helps me a lot! But I got another question: rasterio.shutil.copy() could only copy a raster to a new destination, what should I do if I wanna use a raster's profile for
|
By
guohoucai@...
·
#744
·
|
|
Re: cannot correctly change a TIFF's interleave
Hello,
The nodata value is nothing but an annotation of the data and is simple to change. To change the interleaving of a GeoTIFF, it is required to rewrite the file entirely.
Hello,
The nodata value is nothing but an annotation of the data and is simple to change. To change the interleaving of a GeoTIFF, it is required to rewrite the file entirely.
|
By
Sean Gillies
·
#743
·
|
|
cannot correctly change a TIFF's interleave
I'm looking for some help about how to change a TIFF's interleave. My code could change a TIFF's nodata value but cannot succeed on the interleave, could anyone give me some advice? I'll appreciate
I'm looking for some help about how to change a TIFF's interleave. My code could change a TIFF's nodata value but cannot succeed on the interleave, could anyone give me some advice? I'll appreciate
|
By
guohoucai@...
·
#742
·
|
|
Rasterio 1.2.1
Hi all,
Rasterio 1.2.1 is on PyPI now. Big thanks to Ryan Grout, Denis Rykov, Kirill Kouzoubov, Martijn Visser, and Alan Snow.
Changes in this version:
Hi all,
Rasterio 1.2.1 is on PyPI now. Big thanks to Ryan Grout, Denis Rykov, Kirill Kouzoubov, Martijn Visser, and Alan Snow.
Changes in this version:
|
By
Sean Gillies
·
#741
·
|
|
Re: Clarification on usage with QGIS
Much appreciated, Christina. Will try this out.
Cheers!
Ari
Much appreciated, Christina. Will try this out.
Cheers!
Ari
|
By
Ari Meyer
·
#740
·
|
|
Re: rasterio merge producing strange results
Dear Sean
I had the chance to run one process with the above version, and it
looks like the bug went away :)
We are now looking forward to use the 1.2.1 release
Thanks a lot you and all the team for
Dear Sean
I had the chance to run one process with the above version, and it
looks like the bug went away :)
We are now looking forward to use the 1.2.1 release
Thanks a lot you and all the team for
|
By
Paolo Corti
·
#739
·
|
|
Re: rasterio merge producing strange results
The maint-1.2 branch, specifically commit b962f10, is the thing to try. If you're willing, it would be wonderful to hear how it goes.
--
Sean Gillies
The maint-1.2 branch, specifically commit b962f10, is the thing to try. If you're willing, it would be wonderful to hear how it goes.
--
Sean Gillies
|
By
Sean Gillies
·
#738
·
|
|
Re: rasterio merge producing strange results
Thanks a lot Sean, it is great to know that.
If you like I could have a test run with my data. Is the code change
already committed? If so, which branch/commit should I use for the
purpose?
Have a
Thanks a lot Sean, it is great to know that.
If you like I could have a test run with my data. Is the code change
already committed? If so, which branch/commit should I use for the
purpose?
Have a
|
By
Paolo Corti
·
#737
·
|
|
Re: rasterio merge producing strange results
Hi Paolo,
The fix (we believe) will be in version 1.2.1 https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L9. Later this week.
--
Sean Gillies
Hi Paolo,
The fix (we believe) will be in version 1.2.1 https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L9. Later this week.
--
Sean Gillies
|
By
Sean Gillies
·
#736
·
|
|
Re: rasterio merge producing strange results
Hi Denis
thanks a lot for helping. I have tried to use rasterio 1.2.0 but
unfortunately I am experiencing the same problem
Do you know if there is anything which can be done to avoid this
issue?
Hi Denis
thanks a lot for helping. I have tried to use rasterio 1.2.0 but
unfortunately I am experiencing the same problem
Do you know if there is anything which can be done to avoid this
issue?
|
By
Paolo Corti
·
#735
·
|
|
Re: rasterio merge producing strange results
Hi Paolo. Can you reproduce the issue with the latest version of rasterio?
Hi Paolo. Can you reproduce the issue with the latest version of rasterio?
|
By
Denis Rykov
·
#734
·
|
|
rasterio merge producing strange results
Hello all
I am experiencing strange results with rasterio.merge module (rasterio==1.1.5).
I am merging a very large number of small images (in chunks of 100), and the output always has strange stripes
Hello all
I am experiencing strange results with rasterio.merge module (rasterio==1.1.5).
I am merging a very large number of small images (in chunks of 100), and the output always has strange stripes
|
By
Paolo Corti
·
#733
·
|
|
Re: Clarification on usage with QGIS
Ari, I've been running the Geopandas (pandas, shapely fiona), RasterIO configuration since early 2019, and as long as you have access to those gdal backwards compatibility dll's you should be fine.
Ari, I've been running the Geopandas (pandas, shapely fiona), RasterIO configuration since early 2019, and as long as you have access to those gdal backwards compatibility dll's you should be fine.
|
By
Ratcliff, Christina (A&F, Waite Campus)
·
#732
·
|
|
Re: How to specify the name of the input files with the geographical metadata?
Thanks. It's a bit strange that this is not a native feature of GDAL, as it seems pretty natural to work on bunches of files that share the same geographical information. But anyway, I have finally
Thanks. It's a bit strange that this is not a native feature of GDAL, as it seems pretty natural to work on bunches of files that share the same geographical information. But anyway, I have finally
|
By
juanjo.gomeznavarro@...
·
#731
·
|
|
Re: Georeference and warp a drone image based on sensor orientation and location using transform.from_gcps()
Hi Sean and thanks for the reply! I've changed my code to use rasterio.warp.reproject, but the final geotiff is still a rectangle rather than a trapezoid and not actually warping to the GCPs. It is
Hi Sean and thanks for the reply! I've changed my code to use rasterio.warp.reproject, but the final geotiff is still a rectangle rather than a trapezoid and not actually warping to the GCPs. It is
|
By
Patrick Gray
·
#730
·
|
|
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
·
|