Frequently Asked Questions
Installation
CRSError: Not a valid EPSG codes: None
As explained in the rasterio FAQ (https://rasterio.readthedocs.io/en/stable/faq.html), rasterio wheels on PyPI include PROJ 7.x and GDAL 3.x.. This can lead to incompatibilities between libraries:
WARNING :: CPLE_AppDefined in PROJ: internal_proj_create_from_database
ERROR 1: PROJ: internal_proj_identify [...] proj.db lacks DATABASE.LAYOUT.VERSION.MAJOR / DATABASE.LAYOUT.VERSION.MINOR metadata. It comes from another PROJ installation.
rasterio.errors.CRSError: Not a valid EPSG codes: None
If GDAL and its dependencies are installed on your computer, we strongly recommend to build rasterio using –no-binary option:
pip install --no-binary rasterio rasterio
Input data
How to create CARS compatible ROI input data with OTB ?
Please, see the section Make input ROI images to generate the ROI input images.
Did you find this error :”The image and the color do not have the same sizes”?
If you use Pléiades sensor images, the color image can’t be superimposable on the CARS input image.
Please, see the section Make a simple pan sharpening to make a simple pan sharpening with OTB.
How to generate input images in epipolar geometry from grids ?
To generate the images in epipolar geometry from the grids computed by cars and the original images, one can refer to the Orfeo Toolbox documentation here .
How to make a water mask with gdal on RGBN images?
Please, see the section Make a water mask to make a water mask with OTB.
Output data
How to generate output files overview ?
Considering bulky files, it can be recommended to generate an overview file with GDAL before opening it with QGIS:
gdaladdo -ro -r average dsm.tif 2 4 8 16 32 64