pg_priogrid: The PRIOGrid GID (int) of the corresponding to a pair of...

Description Usage Arguments Value Examples

Description

The PRIOGrid GID (int) of the corresponding to a pair of coordinates (latitude (float) and longitude (float)). Compatible with PRIOGrid v.1.x and v.2.x

Usage

1
pg_priogrid(lat, lon)

Arguments

float

A latitude provided as a float (eg. -1.25). Latitude must be expressed as WGS84, i.e. [-90..+90]

float

A longitude provided as a float (eg. -1.25). Longitude must be expressed as WGS84, i.e. [-180..+180]

Value

integer The corresponding PRIOGrid GID

Examples

1
2
pg_priogrid(27.1,11.2)
pg_priogrid(-24.5.8.21)

mihaicroicu/priogridtools documentation built on May 29, 2019, 5:42 a.m.