Polygon: Polygon Class

PolygonR Documentation

Polygon Class

Description

For more information on the NBA object model, please refer to the official NBA documentation at https://docs.biodiversitydata.nl and the NBA model and endpoints reference at https://docs.biodiversitydata.nl/endpoints-reference.

Usage

# Polygon$new()

Format

R6 class

Details

Model class for Polygon objects.

Fields

crs

Crs

bbox

list(numeric)

coordinates

list(LngLatAlt)

Methods

$new()

Constructor Polygon object.

$fromList(PolygonList)

Create Polygon object from list.

$toList()

Get list representation of Polygon.

fromJSONString(PolygonJson)

Create Polygon object from JSON.

toJSONString(pretty=TRUE)

Get JSON representation of Polygon.


naturalis/nbaR documentation built on Nov. 12, 2023, 4:47 p.m.