| GSVersion | R Documentation |
This class allows to grab the GeoServer version. By default, a tentative is made to fetch version from web admin default page, since Geoserver REST API did not support GET operation for the Geoserver version in past releases of Geoserver.
R6Class object.
Geoserver REST API - Geoserver Version
Object of R6Class for modelling a GeoServer version
versionversion
valuevalue
new()Initializes an object of class GSVersion
GSVersion$new(url, user, pwd)
urlurl
useruser
pwdpwd
lowerThan()Compares to a version and returns TRUE if it is lower, FALSE otherwise
GSVersion$lowerThan(version)
versionversion
TRUE if lower, FALSE otherwise
greaterThan()Compares to a version and returns TRUE if it is greater, FALSE otherwise
GSVersion$greaterThan(version)
versionversion
TRUE if greater, FALSE otherwise
equalTo()Compares to a version and returns TRUE if it is equal, FALSE otherwise
GSVersion$equalTo(version)
versionversion
TRUE if equal, FALSE otherwise
clone()The objects of this class are cloneable with this method.
GSVersion$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
## Not run:
version <- GSVersion$new(
url = "http://localhost:8080/geoserver",
user = "admin", pwd = "geoserver"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.