Handling of Raster Input Data without CRS

Issue #274 resolved
Matthias Wocher created an issue

Hi guys,

my proposal is rather to be understood as a wish. The EnMap-Box 3 does not allow rasters to be loaded without a defined CRS or actually it does but it asks several times for a CRS it does not have. When a raster is loaded the EnMap-Box asks again for a CRS when I want to assign it to a map view. Also, ad hoc RGB color assignment is not working in this case.

Often I receive quickly processed raster data sets and rarely people take care about CRS assignment for preliminary results. Would it be possible that the EnMap-Box 3 allows for raster data to be loaded without CRS for quick data plausability checks?

Thank you very much!

Comments (6)

  1. Matthias Wocher reporter

    I added a small ENVI.bsq with missing map info and coordinate system string. The Enmap-Box accepts the file but asks several times for a CRS both when loading the raster and when displaying it.

  2. Benjamin Jakimow
    • changed status to open

    Such CRS requests are handled in the QGIS API. They can be avoided by specifying a default CRS in QGIS Settings->Options

  3. Benjamin Jakimow

    and here is the screenshot how to change the default CRS in QGIS.

    I recommend using a projection with metric units and not something like EPSG:4326 WGS84. In case of degree units QGIS assumes you pixels have a GSD of 1x1 degree.
    In that case images could exceed the legal boundary of the default CRS. For example, an image with more than 90 lines would have its lower boundary at > 90 south - which obviously is not allowed in case of EPSG:4326 and might cause errors if a QgsMapCanvas tries to reproject the image into another CRS.

    Using a UTM projection instead should be the better way.

  4. Log in to comment