LineString: LineString Class

LineStringR Documentation

LineString 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

# LineString$new()

Format

R6 class

Details

Model class for LineString objects.

Fields

crs

Crs

bbox

list(numeric)

coordinates

list(LngLatAlt)

Methods

$new()

Constructor LineString object.

$fromList(LineStringList)

Create LineString object from list.

$toList()

Get list representation of LineString.

fromJSONString(LineStringJson)

Create LineString object from JSON.

toJSONString(pretty=TRUE)

Get JSON representation of LineString.


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