|
Re: Should rasterio be compatible with numpy.ma?
Hi,
I'm in favor of making filling the default for a masked array. In the same vein, I wonder if write should also call write_mask if a masked array is passed?
--
Sean Gillies
Hi,
I'm in favor of making filling the default for a masked array. In the same vein, I wonder if write should also call write_mask if a masked array is passed?
--
Sean Gillies
|
By
Sean Gillies
·
#892
·
|
|
Should rasterio be compatible with numpy.ma?
I was just tripped up by the fact that rasterio (I'm on 1.2.10) ignores the mask in numpy masked arrays. It simply writes the masked array's data array. If that underlying data array has the same fill
I was just tripped up by the fact that rasterio (I'm on 1.2.10) ignores the mask in numpy masked arrays. It simply writes the masked array's data array. If that underlying data array has the same fill
|
By
dreaminghexnut@...
·
#891
·
|
|
Re: extending rio-calc
Thanks Sean,
This is really helpful. It works for the handful of functions in my workflow, so this will get me through. It’s always humbling to find out a corner of Python that I didn’t know
Thanks Sean,
This is really helpful. It works for the handful of functions in my workflow, so this will get me through. It’s always humbling to find out a corner of Python that I didn’t know
|
By
Gregory, Matthew
·
#890
·
|
|
Re: extending rio-calc
Hi Matt,
No, we don't have a plugin system for rio-calc. If this is for your personal workflows, maybe a sitecustomize.py or usercustomize.py file that imported and patched snuggs would be worth a
Hi Matt,
No, we don't have a plugin system for rio-calc. If this is for your personal workflows, maybe a sitecustomize.py or usercustomize.py file that imported and patched snuggs would be worth a
|
By
Sean Gillies
·
#889
·
|
|
extending rio-calc
Hi all,
I've found rio-calc to be really useful for raster algebra expressions. I've come up with a few additional functions that are useful in my workflow that seem to work well within rio-calc.
Hi all,
I've found rio-calc to be really useful for raster algebra expressions. I've come up with a few additional functions that are useful in my workflow that seem to work well within rio-calc.
|
By
Gregory, Matthew
·
#888
·
|
|
Re: mapbox/rasterio -> rasterio/rasterio
The transfer is complete.
--
Sean Gillies
The transfer is complete.
--
Sean Gillies
|
By
Sean Gillies
·
#887
·
|
|
mapbox/rasterio -> rasterio/rasterio
Heads up. everybody,
I've been wanting to move rasterio to its own GitHub organization for some time and it is finally going to happen. Last week the Mapbox legal team signed off on transferring
Heads up. everybody,
I've been wanting to move rasterio to its own GitHub organization for some time and it is finally going to happen. Last week the Mapbox legal team signed off on transferring
|
By
Sean Gillies
·
#886
·
|
|
Rasterio 1.3a2
Hi all,
The second 1.3 pre-release is on the package index this morning. There's one new feature: PROJJSON support (thank you, Alan Snow) and one change to the reprojection code that prevents
Hi all,
The second 1.3 pre-release is on the package index this morning. There's one new feature: PROJJSON support (thank you, Alan Snow) and one change to the reprojection code that prevents
|
By
Sean Gillies
·
#885
·
|
|
Re: Warp doesn't work with a general oblique transform?
Hi Denis, I'm ashamed and happy to say that that indeed did the trick, the warp works perfectly now. Thanks!
Hi Denis, I'm ashamed and happy to say that that indeed did the trick, the warp works perfectly now. Thanks!
|
By
erik.koene@...
·
#884
·
|
|
Re: concurrent.futures errors running rio mbtiles on Windows
Hi Matt,
I'm sorry that you're having trouble. We don't test rigorously on Windows and so it's not surprising that some aspects of rasterio aren't correct.
If we execute the tiler as `rio mbtiles`,
Hi Matt,
I'm sorry that you're having trouble. We don't test rigorously on Windows and so it's not surprising that some aspects of rasterio aren't correct.
If we execute the tiler as `rio mbtiles`,
|
By
Sean Gillies
·
#883
·
|
|
Re: Warp doesn't work with a general oblique transform?
I would recommend you to upgrade rasterio. The version you are using is quite old.
I would recommend you to upgrade rasterio. The version you are using is quite old.
|
By
Denis Rykov
·
#882
·
|
|
Re: Why does Dataset.transform return the identity matrix if there is no geotransform?
Hi,
Yes, we're following GDAL, which returns an identity matrix instead of NULL. https://gdal.org/api/gdaldataset_cpp.html#_CPPv4N11GDALDataset15GetGeoTransformEPd.
GDAL's design decision has
Hi,
Yes, we're following GDAL, which returns an identity matrix instead of NULL. https://gdal.org/api/gdaldataset_cpp.html#_CPPv4N11GDALDataset15GetGeoTransformEPd.
GDAL's design decision has
|
By
Sean Gillies
·
#881
·
|
|
Re: Warp doesn't work with a general oblique transform?
Hi Sean, thanks for your response. I'm running Python 3.7, rasterio version 1.0.14; gdalinfo reports version 2.4, and proj reports version 5.2.0. I'd like to clarify with you that this is a result
Hi Sean, thanks for your response. I'm running Python 3.7, rasterio version 1.0.14; gdalinfo reports version 2.4, and proj reports version 5.2.0. I'd like to clarify with you that this is a result
|
By
erik.koene@...
·
#880
·
|
|
Why does Dataset.transform return the identity matrix if there is no geotransform?
I have been reading -> modifying -> writing some GeoTiffs and I got bit by Dataset.transform returning the identity transform. There's a big difference between there being no geotransform and there
I have been reading -> modifying -> writing some GeoTiffs and I got bit by Dataset.transform returning the identity transform. There's a big difference between there being no geotransform and there
|
By
Brandon Victor
·
#879
·
|
|
Re: Warp doesn't work with a general oblique transform?
Hi,
With the latest release of GDAL and PROJ 8 I see
>>> CRS.from_string('+proj=ob_tran +o_proj=longlat +lon_0=-170 +o_lon_p=-180
Hi,
With the latest release of GDAL and PROJ 8 I see
>>> CRS.from_string('+proj=ob_tran +o_proj=longlat +lon_0=-170 +o_lon_p=-180
|
By
Sean Gillies
·
#878
·
|
|
Rasterio 1.3a1
Hi all,
We have a first alpha pre-release on PyPI now. Many of the changes are noted at https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L7. It's not quite complete, so please see
Hi all,
We have a first alpha pre-release on PyPI now. Many of the changes are noted at https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L7. It's not quite complete, so please see
|
By
Sean Gillies
·
#877
·
|
|
Warp doesn't work with a general oblique transform?
The following Python code...
import rasterio
from rasterio.crs import CRS
from rasterio import shutil as rio_shutil
from rasterio.vrt import WarpedVRT
import matplotlib.pyplot as plt
path =
The following Python code...
import rasterio
from rasterio.crs import CRS
from rasterio import shutil as rio_shutil
from rasterio.vrt import WarpedVRT
import matplotlib.pyplot as plt
path =
|
By
erik.koene@...
·
#876
·
|
|
Rasterio 1.2.10
Hi all,
Rasterio has just one bug fix, but it's an important one: https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L15-L19.
The libraries in the wheels are the same as in 1.2.9. We don't
Hi all,
Rasterio has just one bug fix, but it's an important one: https://github.com/mapbox/rasterio/blob/master/CHANGES.txt#L15-L19.
The libraries in the wheels are the same as in 1.2.9. We don't
|
By
Sean Gillies
·
#875
·
|
|
concurrent.futures errors running rio mbtiles on Windows
Hi all,
Preface this by saying I know next to nothing about multiprocessing and my debugging skills are failing me.
I'm trying to run a simple rio mbtiles command on Windows (Python 3.8, rasterio
Hi all,
Preface this by saying I know next to nothing about multiprocessing and my debugging skills are failing me.
I'm trying to run a simple rio mbtiles command on Windows (Python 3.8, rasterio
|
By
Gregory, Matthew
·
#874
·
|
|
Re: How can I set config options when using the command-line tools?
Hi Sean,
That seems to work now - I think I had some problems with how I was setting my environment variables on Windows. Setting them through the GUI configuration dialog (under System->Environment
Hi Sean,
That seems to work now - I think I had some problems with how I was setting my environment variables on Windows. Setting them through the GUI configuration dialog (under System->Environment
|
By
robin@...
·
#873
·
|