convert2spatial: 'convert2spatial' Convert selected parts of sightings data...

Description Usage Arguments Details Value Author(s) See Also

View source: R/convert2spatial.R

Description

convert2spatial Convert selected parts of sightings data list to shapefiles.

Usage

1
2
3
4
5
6
7
8
convert2spatial(
  data.list = midnat,
  zone = NA,
  hemisphere = "south",
  whales = T,
  birds = T,
  shp.dir = "./shapefiles"
)

Arguments

data.list

List of data frames created using readLogger

zone

Which UTM zone should data be converted to. If this is NA (default), then shapefiles are in geographic (Lat/Lon) projection. To convert to UTM, set this argument to desired zone (22 for the Scotia Sea).

hemisphere

Hemisphere where data were collected.

whales

Logical, indicating if whale sightings table should be read

birds

Logical, indicating if bird sightings tables should be read

shp.dir

Directory to which output shapefiles should be written.

Details

Writes ESRI shapefiles that can be read by standard GIS software.

Value

Writes shapefiles to specified directory.

Author(s)

Martin Biuw

See Also

readLoggerTable to read single table from sightings database, readLogger to read entire sightings database, correctEffort tto correct inconsistencies in effort table, filterGPS to flag bad GPS positions, fillGPS To fill in missing GPS positions after filtering, mkLeaflet to make interactive Leaflet map of sightings.

Other Logger sightings database functions: correctEffort(), fillGPS(), filterGPS(), mkLeaflet(), readLoggerTable(), readLogger()


embiuw/LoggeR documentation built on May 21, 2020, 4:34 p.m.