This R6 class is the foundation for R6 classes ORSLocal
and
ORSRemote
and cannot be initialized. It defines methods to
check status and information of a remote ORS server and to mount itself to
the R session.
Methods
Method is_mounted()
Checks whether the instance is currently mounted to the session.
More technically, $is_mounted
compares the MD5 hashes of its
R6 object and the currently mounted instance. Hence, an instance
only counts as mounted if it is exactly the same as the currently
mounted instance. An instance that was manually manipulated and has
not been updated with $update()
thus is not considered
mounted.
Method get_url()
Constructs the URL that is used to communicate with OpenRouteService.
Except for ORSRemote
, the output is an aspirational URL, i.e. it
only works after a successful setup.