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)

JerryHMartin/waterDataSupport documentation built on Jan. 25, 2023, 2:36 a.m.