Skip to content

Latest commit

 

History

History
76 lines (39 loc) · 2.39 KB

troubleshooting_and_faqs.rst

File metadata and controls

76 lines (39 loc) · 2.39 KB

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 :term:`ROI` input data with OTB ?

Please, see the section :ref:`make_input_roi_images` to generate the ROI input images.

Did you find this error :"The image and the color haven't the same sizes"?

If do you use Pleaides sensor images, the color image can't be superimposable on the CARS input image.

Please, see the section :ref:`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 :ref:`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