GeoNodeUtils {geonode4R}R Documentation

GeoNode REST API Manager Utils

Description

GeoNode REST API Manager Utils

GeoNode REST API Manager Utils

Format

R6Class object.

Value

Object of R6Class with static util methods for communication with the REST API of a GeoNode instance.

Static methods

getUserAgent()

This method is used to get the user agent for performing GeoNode API requests. Here the user agent will be compound by geonode4R package name and version.

getUserToken(user, pwd)

This method is used to get the user authentication token for performing GeoNode API requests. Token is given a Base64 encoded string.

GET(url, user, pwd, path, verbose)

This method performs a GET request for a given path to GeoNode REST API

PUT(url, user, pwd, path, filename, contentType, verbose)

This method performs a PUT request for a given path to GeoNode REST API, to upload a file of name filename with given contentType

POST(url, user, pwd, path, content, contentType, verbose)

This method performs a POST request for a given path to GeoNode REST API, to post content of given contentType

DELETE(url, user, pwd, path, verbose)

This method performs a DELETE request for a given GeoServer resource identified by a path in GeoNode REST API

Methods

Public methods


Method clone()

The objects of this class are cloneable with this method.

Usage
GeoNodeUtils$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>


[Package geonode4R version 0.1 Index]