Inheriting from Argument() in order to represent a GeoJson object. This class represents geospatial features. Allowed values are either a list directly convertible into a valid GeoJson or polygon features of type 'sf' or 'sfc' from package 'sf'. The current implementation follows the data representation of 'sf' - meaning that coordinate order is XY (e.g. if CRS84 is used then lon/lat is the default order).

Value

Object of R6Class() representing an object in GeoJson.

Details

As GeoJSON is defined in RFC7946 the coordinate reference system is urn:ogc:def:crs:OGC::CRS84, which uses a longitude, latitude ordering of the coordinates.