You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to upload a geotiff in the projection TM-3 48.2 with risiko-upload gives the error message WMS Record missing for layer [geonode:jakarta_flood_pump_failure] (see stack trace below.
Converting the layer to AAGrid using gdal_translate and uploading gives the error: Error auto-configuring coverage:null (which we have seen before if projections are not right) - see stack trace below
I label this as a third party problem with GeoNode
(riab_env)dhutre@risiko:~/dki_presentation$ risiko-upload jakarta_flood_pump_failure.tif
Traceback (most recent call last):
File "/home/dhutre/riskinabox/riab_env/bin/risiko-upload", line 7, in
execfile(file)
File "/home/dhutre/riskinabox/riab/scripts/risiko-upload", line 34, in
check_metadata=True)
File "/home/dhutre/riskinabox/riab/impact/storage/io.py", line 998, in save_to_geonode
ignore=ignore)
File "/home/dhutre/riskinabox/riab/impact/storage/io.py", line 958, in save_directory_to_geonode
raise RisikoException(msg)
impact.storage.io.RisikoException: Filename "dki_presentation/jakarta_flood_pump_failure.tif" could not be uploaded. Error was: WMS Record missing for layer [geonode:jakarta_flood_pump_failure]
(riab_env)dhutre@risiko:~/dki_presentation$ risiko-upload jakarta_flood_pump_failure.asc
Traceback (most recent call last):
File "/home/dhutre/riskinabox/riab_env/bin/risiko-upload", line 7, in
execfile(file)
File "/home/dhutre/riskinabox/riab/scripts/risiko-upload", line 34, in
check_metadata=True)
File "/home/dhutre/riskinabox/riab/impact/storage/io.py", line 1005, in save_to_geonode
ignore=ignore)
File "/home/dhutre/riskinabox/riab/impact/storage/io.py", line 852, in save_file_to_geonode
overwrite=overwrite)
File "/home/dhutre/riskinabox/geonode/src/GeoNodePy/geonode/maps/utils.py", line 571, in file_upload
new_layer = save(layer, filename, theuser, overwrite, workspace=workspace, keywords=keywords)
File "/home/dhutre/riskinabox/geonode/src/GeoNodePy/geonode/maps/utils.py", line 326, in save
create_store(name, data, workspace=ws, overwrite=overwrite)
File "/home/dhutre/riskinabox/riab_env/src/gsconfig.py/src/geoserver/catalog.py", line 305, in create_coveragestore
raise UploadError(response)
geoserver.catalog.UploadError: Could not save the layer jakarta_flood_pump_failure, there was an upload error: Error auto-configuring coverage:null
The text was updated successfully, but these errors were encountered:
The solution was to reproject with gdal warp:
gdalwarp -t_srs EPSG:4326 jakarta_flood_pump_failure.tif jakarta_flood_pump_failure_4326.tif
However, the GeoNode had to be cleaned out before we could upload the layer. This is what was discussed on the mailing list 5-6 months ago and it was decided to not overwrite the metadata. This ticket is an example of a usecase where overwriting the metadata would be desirable.
Trying to upload a geotiff in the projection TM-3 48.2 with risiko-upload gives the error message WMS Record missing for layer [geonode:jakarta_flood_pump_failure] (see stack trace below.
Converting the layer to AAGrid using gdal_translate and uploading gives the error: Error auto-configuring coverage:null (which we have seen before if projections are not right) - see stack trace below
I label this as a third party problem with GeoNode
(riab_env)dhutre@risiko:~/dki_presentation$ risiko-upload jakarta_flood_pump_failure.tif
Traceback (most recent call last):
File "/home/dhutre/riskinabox/riab_env/bin/risiko-upload", line 7, in
execfile(file)
File "/home/dhutre/riskinabox/riab/scripts/risiko-upload", line 34, in
check_metadata=True)
File "/home/dhutre/riskinabox/riab/impact/storage/io.py", line 998, in save_to_geonode
ignore=ignore)
File "/home/dhutre/riskinabox/riab/impact/storage/io.py", line 958, in save_directory_to_geonode
raise RisikoException(msg)
impact.storage.io.RisikoException: Filename "dki_presentation/jakarta_flood_pump_failure.tif" could not be uploaded. Error was: WMS Record missing for layer [geonode:jakarta_flood_pump_failure]
(riab_env)dhutre@risiko:~/dki_presentation$ risiko-upload jakarta_flood_pump_failure.asc
Traceback (most recent call last):
File "/home/dhutre/riskinabox/riab_env/bin/risiko-upload", line 7, in
execfile(file)
File "/home/dhutre/riskinabox/riab/scripts/risiko-upload", line 34, in
check_metadata=True)
File "/home/dhutre/riskinabox/riab/impact/storage/io.py", line 1005, in save_to_geonode
ignore=ignore)
File "/home/dhutre/riskinabox/riab/impact/storage/io.py", line 852, in save_file_to_geonode
overwrite=overwrite)
File "/home/dhutre/riskinabox/geonode/src/GeoNodePy/geonode/maps/utils.py", line 571, in file_upload
new_layer = save(layer, filename, theuser, overwrite, workspace=workspace, keywords=keywords)
File "/home/dhutre/riskinabox/geonode/src/GeoNodePy/geonode/maps/utils.py", line 326, in save
create_store(name, data, workspace=ws, overwrite=overwrite)
File "/home/dhutre/riskinabox/riab_env/src/gsconfig.py/src/geoserver/catalog.py", line 305, in create_coveragestore
raise UploadError(response)
geoserver.catalog.UploadError: Could not save the layer jakarta_flood_pump_failure, there was an upload error: Error auto-configuring coverage:null
The text was updated successfully, but these errors were encountered: