Feature: Feature Class

FeatureR Documentation

Feature 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

# Feature$new()

Format

R6 class

Details

Model class for Feature objects.

Fields

crs

Crs

bbox

list(numeric)

properties

list

geometry

list

id

character

Methods

$new()

Constructor Feature object.

$fromList(FeatureList)

Create Feature object from list.

$toList()

Get list representation of Feature.

fromJSONString(FeatureJson)

Create Feature object from JSON.

toJSONString(pretty=TRUE)

Get JSON representation of Feature.


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