Learn R Programming

RObsDat (version 16.03)

addSpatialReferences: Add spatial reference system

Description

Add a term to the spatial references controlled vocabularies. The better way is to have CUAHSI add the term to the official vocabulary through their web page: http://his.cuahsi.org/mastercvreg/

Usage

addSpatialReferences(ID, SRSID, Name, IsGeographic, Notes)

Arguments

ID
Unique ID.
SRSID
Integer identifier for the Spatial Reference System from http://www.epsg.org/
Name
Name of the Spatial Reference System.
IsGeographic
Boolean, indicating whether the spatial reference system uses geographic coordinates
Notes
Descriptive information about the Spatial Reference System.

Value

Nothing returned

See Also

Use getMetadata to retrieve values.

Examples

Run this code
#connect to standard database
getDefaultDB()
#add data
addSpatialReferences(ID=4269,SRSID=4269, Name="NAD83", 
	IsGeographic=TRUE, Notes="todo: include notes in this example") 

Run the code above in your browser using DataLab