AIFDR/riab — Issue #186: Problems with TM-3 48.2 projection
Author: uniomni
Created: 2011-12-13 04:17:58+00:00
State: open
Labels: Third party components

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