Closed EHJ-52n closed 7 months ago
Is this still relevant for gronode >=4.x?
Did not test this on 4.x. Maybe I will find some time next week to re-test.
@mattiagiupponi on 4.2.2
, I could not reproduce the error with regard the message psycopg2.errors.InternalError_: Cannot find SRID (404000) in spatial_ref_sys
. Seems, GeoServer uses the code 404000
to indicate an unknown SRID!? Is it something, that GeoNode (importer) should be able to handle?
However, when uploading the provided tif, geoserver complains that CRS is not available:
05 Mar 10:56:16 WARN [gce.geotiff] - Coordinate Reference System is not available
geoserver4geonode | 05 Mar 10:56:16 WARN [gce.geotiff] - Raster to Model Transformation is not available for: /mnt/volumes/statics/uploaded/tmpyzc_5q7t/Raw_20190819_165314.tif
Also, when opening the tif in QGIS, the CRS seems to be unknown.
I suggest to close this one as not reproducable. However, feel free to give feedback how GeoNode handles unknown CRSs.
Expected Behavior
GeoNode displays a clear error message in the form layer importer, when uploading a GeoTiff as new layer with missing spatial reference. In this case, I expected an error message like "No spatial reference found" or the exception message (see logs below for more details): "django.db.utils.InternalError: Cannot find SRID (404000) in spatial_ref_sys".
Actual Behavior
After uploading the file, when trying to save the edited metadata, an error dialog is shown with the error message: "Unknown Error Occurred".
The server log shows the following:
Steps to Reproduce the Problem
Raw_20190819_165314.tif
(Raw_20190819_165314.tif.zip; 1.1 MB).Specifications
3.2.1
GeoNode Docker
Linux host 5.13.0-25-generic #26-Ubuntu SMP Fri Jan 7 15:48:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Do you need any additional information?