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.

# GeoArea$new()

Format

R6 class

Details

Model class for GeoArea objects. Geographical mapping of species occurrences is essential in biogeographical analyses. More than 1.2 Million of our specimen records are geo-referenced, i.e. they have latitude and longitude coordinates reported for the sita at which they were collected. The data type geo stores geographical areas to which the geo-referenced species can be mapped. This enables querying for specimens found in a specific region, to e.g. retrieve all the primate species collected on Madagascar. The areas are represented as polygons of longitude/latitude pairs. All polygons are coded in the GeoJSON format.

Fields

sourceSystem

SourceSystem

sourceSystemId

character

recordURI

character

id

character

areaType

character

locality

character

shape

list

source

character

isoCode

character

countryNL

character

Methods

$new()

Constructor GeoArea object.

$fromList(GeoAreaList)

Create GeoArea object from list.

$toList()

Get list representation of GeoArea.

fromJSONString(GeoAreaJson)

Create GeoArea object from JSON.

toJSONString(pretty=TRUE)

Get JSON representation of GeoArea.