|
Re: metadata and profile: What's the difference?
Thanks for your reply. I guess the profile is more comprehensive then. Is that a good argument for dropping metadata then?
Thanks for your reply. I guess the profile is more comprehensive then. Is that a good argument for dropping metadata then?
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#361
·
|
|
Re: metadata and profile: What's the difference?
Indeed they are largely redundant. The meta property came first. Then we introduced a profile property to better support the pattern of using one dataset's profile as keyword arguments for creating
Indeed they are largely redundant. The meta property came first. Then we introduced a profile property to better support the pattern of using one dataset's profile as keyword arguments for creating
|
By
Sean Gillies
·
#360
·
|
|
metadata and profile: What's the difference?
Also, what is the difference between a dataset's metadata and profile? I have the impression one of these values is redundant. Please see example below:
>>> dataset.profile
{'driver': 'AAIGrid',
Also, what is the difference between a dataset's metadata and profile? I have the impression one of these values is redundant. Please see example below:
>>> dataset.profile
{'driver': 'AAIGrid',
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#359
·
|
|
Re: Geodatabase, FileGeodatabase, and Esri Geodatabase
Hi Armstrong,
Rasterio relies on a library named GDAL for data access and GDAL doesn't support Esri raster databases. There are people in the open source community who store raster data in a PostGIS
Hi Armstrong,
Rasterio relies on a library named GDAL for data access and GDAL doesn't support Esri raster databases. There are people in the open source community who store raster data in a PostGIS
|
By
Sean Gillies
·
#358
·
|
|
Problem with AAIGrid overwrite
Dear All,
For one project I am reading and writing these test raster datasets as ASCII grids. I have found that overwriting these grids is impossible and I get the following error:
ERROR 1: Deleting
Dear All,
For one project I am reading and writing these test raster datasets as ASCII grids. I have found that overwriting these grids is impossible and I get the following error:
ERROR 1: Deleting
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#357
·
|
|
Geodatabase, FileGeodatabase, and Esri Geodatabase
Hi everyone,
After relying on GIS softwares for a long time with a bit of python help with rasterio, I decided to move on using rasterio (and geopandas) for AI applications.
I would like to have
Hi everyone,
After relying on GIS softwares for a long time with a bit of python help with rasterio, I decided to move on using rasterio (and geopandas) for AI applications.
I would like to have
|
By
Armstrong Manuvakola Ezequias Ngolo
·
#356
·
|
|
Re: reading raster with masked=True leads to error
This is quite embarrassing, I cannot believe I did not catch that myself.
The link is very useful thanks!
--
Eyal Saiet
The mind is not a vessel to be filled, but a fire to be kindled. Plutarch
This is quite embarrassing, I cannot believe I did not catch that myself.
The link is very useful thanks!
--
Eyal Saiet
The mind is not a vessel to be filled, but a fire to be kindled. Plutarch
|
By
Eyal Saiet
·
#355
·
|
|
Re: reading raster with masked=True leads to error
Hi,
I think the reason you get an error is that you have misspelled the argument (you wrote maksed instead of masked).
FYI, the list of arguments of the read() function can be found in the
Hi,
I think the reason you get an error is that you have misspelled the argument (you wrote maksed instead of masked).
FYI, the list of arguments of the read() function can be found in the
|
By
Guillaume Lostis
·
#354
·
|
|
reading raster with masked=True leads to error
Hello,
I wanted to try using read(1,masked=True) on an imported DEM, but I get the following error below:
Since I could not verify what arguments the read() method accepts, I am asking
Hello,
I wanted to try using read(1,masked=True) on an imported DEM, but I get the following error below:
Since I could not verify what arguments the read() method accepts, I am asking
|
By
Eyal Saiet
·
#353
·
|
|
Rasterio 1.1.1
Hi all,
Rasterio 1.1.1 source distribution and wheels for macosx and manylinux1 are on PyPI now. Here are the changes from the change log:
Bug fixes:
- Calling a dataset's sample method with
Hi all,
Rasterio 1.1.1 source distribution and wheels for macosx and manylinux1 are on PyPI now. Here are the changes from the change log:
Bug fixes:
- Calling a dataset's sample method with
|
By
Sean Gillies
·
#352
·
|
|
Re: reproject from a tiff to another tiff gives "destination band 1 appears to be read only"
Hi,
It's a good thing that you opened the destination (population) file in "r" mode. Otherwise, it could have been overwritten.
You must create an output array for the reprojected data and pass it as
Hi,
It's a good thing that you opened the destination (population) file in "r" mode. Otherwise, it could have been overwritten.
You must create an output array for the reprojected data and pass it as
|
By
Sean Gillies
·
#351
·
|
|
reproject from a tiff to another tiff gives "destination band 1 appears to be read only"
Please can someone explain how I align a tiff file of lights with another of population to create two numpy arrays the same size and aligned. I tried:
population = rio.open(population)
lights
Please can someone explain how I align a tiff file of lights with another of population to create two numpy arrays the same size and aligned. I tried:
population = rio.open(population)
lights
|
By
simonm3@...
·
#350
·
|
|
Re: DataReader.crs is empty with new environment?
Yup, that is it: the environment variables are not set. I may have set them manually before.
I'll have to investigate how conda is supposed to handle this (since the variables should only be set when
Yup, that is it: the environment variables are not set. I may have set them manually before.
I'll have to investigate how conda is supposed to handle this (since the variables should only be set when
|
By
Denise Draper
·
#349
·
|
|
Re: DataReader.crs is empty with new environment?
Is your GDAL_DATA and/or PROJ_LIB environment variables are set in your new windows 10 environment? Typically these are set for you when you create a new conda environment and install GDAL. Is it
Is your GDAL_DATA and/or PROJ_LIB environment variables are set in your new windows 10 environment? Typically these are set for you when you create a new conda environment and install GDAL. Is it
|
By
Yann-Sebastien Tremblay-Johnston
·
#348
·
|
|
DataReader.crs is empty with new environment?
Hi ---
I just got a new (Windows 10) laptop, and recreated my software environment from my old laptop. Code that had previously worked didn't. In particular, on opening a file, I find the crs field
Hi ---
I just got a new (Windows 10) laptop, and recreated my software environment from my old laptop. Code that had previously worked didn't. In particular, on opening a file, I find the crs field
|
By
Denise Draper
·
#347
·
|
|
Re: setting BIGTIFF='IF_SAFER' not solving BigTiff problems
How did you install rasterio?
If you installed via Anaconda / conda using the default channel, your gdal may lack bigtiff support.
https://github.com/ContinuumIO/anaconda-issues/issues/9887
How did you install rasterio?
If you installed via Anaconda / conda using the default channel, your gdal may lack bigtiff support.
https://github.com/ContinuumIO/anaconda-issues/issues/9887
|
By
Luke
·
#346
·
|
|
setting BIGTIFF='IF_SAFER' not solving BigTiff problems
Dear All,
I would like to point to this issue in which I brought up the BIGTIFF limitation with regards to merging rasters using rasterio:
https://github.com/mapbox/rasterio/issues/1796
It turns out
Dear All,
I would like to point to this issue in which I brought up the BIGTIFF limitation with regards to merging rasters using rasterio:
https://github.com/mapbox/rasterio/issues/1796
It turns out
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#345
·
|
|
Re: Clarification on rio bounds --sequence/--collection
Hi,
I agree, it is confusing. And there is a bug here. The --sequence/--collection switch was intended to allow printing a sequence of JSON texts (GeoJSON feature or bbox) or a single GeoJSON feature
Hi,
I agree, it is confusing. And there is a bug here. The --sequence/--collection switch was intended to allow printing a sequence of JSON texts (GeoJSON feature or bbox) or a single GeoJSON feature
|
By
Sean Gillies
·
#344
·
|
|
Re: masking using another raster
Hi Matt,
Yes, I think that's the only builtin command that will do it. Enhancing rio-stack to more clearly provide this feature might be feasible. Note that few formats support addition of a mask and
Hi Matt,
Yes, I think that's the only builtin command that will do it. Enhancing rio-stack to more clearly provide this feature might be feasible. Note that few formats support addition of a mask and
|
By
Sean Gillies
·
#343
·
|
|
Re: reading hdf4 files with rasterio
Rasterio doesn't improve the situation with subdatasets very much. You would still need to discover them via a rasterio dataset's subdatasets property. Something like
with rasterio.open("file.hdf4")
Rasterio doesn't improve the situation with subdatasets very much. You would still need to discover them via a rasterio dataset's subdatasets property. Something like
with rasterio.open("file.hdf4")
|
By
Sean Gillies
·
#342
·
|