Open gubuntu opened 7 years ago
@fvanderbiest @fjacon @stufraser1 can you provide any input here?
@fvanderbiest please can you confirm the code that thinkhazard relies on to draw data from Geonode? These are what must be retained I assume
TH harvests GeoNode API, identifies new data, and downloads them. This is handled by the scripts in https://github.com/GFDRR/thinkhazard/tree/master/thinkhazard/processing
Since the layers' download_url
field is free from any reference to geoserver (eg http://www.geonode-gfdrrlab.org/api/layers/149/), that should be OK.
Also pinging @tonio here since geoserver is explicitly mentionned in https://github.com/GFDRR/thinkhazard/blob/master/thinkhazard/static/js/report.js#L416-L438
Also pinging @tonio here since geoserver is explicitly mentionned in https://github.com/GFDRR/thinkhazard/blob/master/thinkhazard/static/js/report.js#L416-L438
I think we just need to make the base WMS service URL configurable here.
The WMS aspect of this is covered in #203 and there's more discussion there
The download aspect is covered by #159
I merged in https://github.com/kartoza/geonode/pull/237 the OGC entry point.
You can use URL /qgis-server/ogc
to get access to the WFS/WMS server.
You can do a GetMap with a LAYERS parameter. It will not go through caching, it's asking straight QGIS Server (i.e. live WMS, not TMS).
We have one limitation: each Geonode layer has its own QGIS Project, so we can't support the GetCapabilities or doing a GetMap with many LAYERS. The Django app will take of adding the MAP parameter according to the LAYER you are asking.
For GeoNode Maps, I still to work on it. As we need to check that layer names and map names are all unique. @gubuntu
Let me know if you have any questions.
Currently, GeoNode-QGIS_server supports:
TH and others can test against http://staging.geonode.kartoza.com
Hi @gubuntu regarding the third point in your comment above, it hasn't been merged to the main branch (so it hasn't been deployed to the staging). See : https://github.com/kartoza/geonode/pull/239
ThinkHazard accesses data through the GeoNode API. Changing from Geonode-Geoserver to Geonode-QGIS for the GeoSAFE launch must not break ThinkHazard.
@vdeparday what are the specific TH requirements that need to be supported?
(from #160)