Learn R Programming

divagis (version 1.0.0)

latlon2idx: latlon2idx

Description

A sequential index number based on lat/lon and a reference grid.

Usage

latlon2idx(lat, lon, layer)

Arguments

lat
Latitude
lon
Longitude
layer
A reference layer.

Value

Returns a an index number.

References

none