geonode.geoserver.views

Attributes

logger

Functions

stores(request[, store_type])

updatelayers(request)

dataset_style(request, layername)

dataset_style_upload(request, layername)

dataset_style_manage(request, layername)

style_change_check(request, path[, style_name, ...])

If the layer has not change_dataset_style permission, return a status of

check_geoserver_access(request, proxy_path, ...[, ...])

geoserver_proxy(request, proxy_path, downstream_path)

WARNING: Decorators are applied in the order they appear in the source.

_response_callback(**kwargs)

resolve_user(request)

dataset_acls(request)

returns json-encoded lists of layer identifiers that

get_dataset_capabilities(layer[, version, access_token])

Retrieve a layer-specific GetCapabilities document

format_online_resource(workspace, layer, element, ...)

Replace workspace/layer-specific OnlineResource links with the more

get_capabilities(request[, layerid, user, mapid, category])

Compile a GetCapabilities document containing public layers

server_online(request)

Returns {success} whenever the LOCAL_GEOSERVER is up and running

Module Contents

geonode.geoserver.views.logger[source]
geonode.geoserver.views.stores(request, store_type=None)[source]
geonode.geoserver.views.updatelayers(request)[source]
geonode.geoserver.views.dataset_style(request, layername)[source]
geonode.geoserver.views.dataset_style_upload(request, layername)[source]
geonode.geoserver.views.dataset_style_manage(request, layername)[source]
geonode.geoserver.views.style_change_check(request, path, style_name=None, access_token=None)[source]

If the layer has not change_dataset_style permission, return a status of 401 (unauthorized)

geonode.geoserver.views.check_geoserver_access(request, proxy_path, downstream_path, workspace=None, layername=None, allowed_hosts=[])[source]
geonode.geoserver.views.geoserver_proxy(request, proxy_path, downstream_path, workspace=None, layername=None)[source]

WARNING: Decorators are applied in the order they appear in the source.

geonode.geoserver.views._response_callback(**kwargs)[source]
geonode.geoserver.views.resolve_user(request)[source]
geonode.geoserver.views.dataset_acls(request)[source]

returns json-encoded lists of layer identifiers that represent the sets of read-write and read-only layers for the currently authenticated user.

geonode.geoserver.views.get_dataset_capabilities(layer, version='1.3.0', access_token=None)[source]

Retrieve a layer-specific GetCapabilities document

geonode.geoserver.views.format_online_resource(workspace, layer, element, namespaces)[source]

Replace workspace/layer-specific OnlineResource links with the more generic links returned by a site-wide GetCapabilities document

geonode.geoserver.views.get_capabilities(request, layerid=None, user=None, mapid=None, category=None)[source]

Compile a GetCapabilities document containing public layers filtered by layer, user, map, or category

geonode.geoserver.views.server_online(request)[source]

Returns {success} whenever the LOCAL_GEOSERVER is up and running