kartoza / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
http://geonode.org/
GNU General Public License v3.0
8 stars 17 forks source link

Upload error for asc rasters #485

Open NyakudyaA opened 6 years ago

NyakudyaA commented 6 years ago

Problem

I have an asci raster that I have been trying to upload and the following if the error message I get. ascii

Solution

NyakudyaA commented 6 years ago

Asci rasters are not supported by Geonode. even Geonode with Geoserver backend

gubuntu commented 6 years ago

@Gustry added support - QGIS can open asc raster files. So this issue isn't really closed but is not essential for Mozambique

Gustry commented 6 years ago

CMIIW, I can't remember exactly what I did. A quick look in the code tells me that it should be OK : https://github.com/GeoNode/geonode/blob/master/geonode/layers/models.py#L50

Gustry commented 6 years ago

Your error is about projection (and GDAL I guess), not about the format @NyakudyaA .

Looking at InaSAFE unittest, ASCII was working fine in my unittest : https://github.com/inasafe/inasafe/blob/develop/safe/utilities/geonode/test/test_geonode_uploaded.py#L84

BTW, it would be better if you include the error message as text, not as screenshot only, so we can copy/paste the error ;-) Lazzy

NyakudyaA commented 6 years ago

The upload is successful but the layer detail page is broken asci