spatialPointsLatLng: spatialPointsLatLng

View source: R/internal.R

spatialPointsLatLngR Documentation

spatialPointsLatLng

Description

This function is a wrapper for the spatialPoints function in the sp package

Usage

spatialPointsLatLng(latitude, longitude, proj4stringAttributes = NULL)

Arguments

latitude

latitude coordinates

longitude

longitude coordinates

proj4stringAttributes

(optional) which projection to copy attributes from

Details

This turns lattitude and longitude coordinates into a spaital projection

Value

a SpatialPolygonsDataframe

Examples


spatialPointsLatLng (latitude, longitude)

Agriculturist/waterDataSupport documentation built on Jan. 28, 2023, 11:43 a.m.