as.coastline {oce} | R Documentation |
Coerces a sequence of longitudes and latitudes into a coastline dataset.
as.coastline(longitude, latitude, fillable)
longitude |
the longitude in decimal degrees, positive east of
Greenwich, or a data frame with columns named |
latitude |
the latitude in decimal degrees, positive north of the Equator. |
fillable |
boolean indicating whether the coastline can be drawn as a filled polygon. |
This may be used when read.coastline
cannot read a file, or when
the data have been manipulated.
An object of class
"coastline"
(for details, see read.coastline
).
Dan Kelley
The NOAA site http://www.ngdc.noaa.gov/mgg/shorelines/shorelines.html is a good source for coastline data files.
The documentation for coastline-class
explains the
structure of coastline objects, and also outlines the other functions
dealing with them.