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
7 stars 17 forks source link

ThinkHazard must be able to request map overlays #203

Open gubuntu opened 7 years ago

gubuntu commented 7 years ago

ThinkHazrd, like any other standards-compliant client, fetches overlays from GeoNode-GeoServer via WMS.

Once GeoNode-QGIS is implemented, TH must still be able to fetch overlays, either:

(from #160)

gubuntu commented 7 years ago

I discussed this with @lucernae and we think that we can enable WMS requests against the geonode url where geonode will proxy the requests to QGIS server, since most of the infrastructure to do that is there.

gubuntu commented 7 years ago

geonode-QGIS already has this link in layer metadata: http://staging.geonode.kartoza.com/qgis-server/ows. How does that get there @lucernae? Geonode or Kartoza code?

All we need to do is make it work i.e. by proxying full, standard OWS requests through GeoNode url.

We do NOT need to worry about authentication for the launch since all layers are public.

lucernae commented 7 years ago

geonode-QGIS already has this link in layer metadata: http://staging.geonode.kartoza.com/qgis-server/ows. How does that get there @lucernae? Geonode or Kartoza code?

This is from Kartoza code. Last time I check, WMS is working. I'm still confused on what is the difference between OWS and WMS? Should I name the endpoint OWS or WMS, because Geoserver uses WMS as endpoint hardcoded in their code.

gubuntu commented 7 years ago

@lucernae OWS = OGC web service = common endpoint for WMS, WFS, WCS, etc.

Perhaps WMS GetMap is working but GetCapabilities is not. @fvanderbiest @fjacon @stufraser1 must Labs GeoNode WMS support GetCapabilities for the launch or is TH aware of the available layers and thus able to operate with only GetMap working?

@lucernae we will have to make WMS fully compliant which includes supporting GetCapabilities. Hopefully we can focus on this after the launch. Since layers are in multiple QGIS projects, generally one per project in the current architecture, we need some backend logic to aggregate these into a single GetCapabilities response through GeoNode.

Some ideas: