read_asc: Read asc files

Description Usage Arguments Value Author(s) See Also Examples

Description

Read mHM-typical ASC raster files and create a full set of (projected) coordinates

Usage

1

Arguments

file

Name of file. DEFAULT: file.choose()

proj

Current projection string or NA. If not NA, coordinates will be converted to lat-long coordinates. If proj is a number, e.g. 3035, it will be replaced with the online epsg proj4 from http://www.spatialreference.org/ref/epsg/3035/. Note that setting proj may increase computing time a lot. proj is passed as the from argument to OSMscale::projectPoints. DEFAULT: NA

...

Further arguments passed to read.table

Value

Invisible list with matrices for "asc", "x" and "y", as well as character strings for the filename ("file" and "name"), and the projection ("proj"). There are also values for the NA character string ("NAS") and "cellsize", as well as the metainformation lines from the file ("meta").
#' x and y are original coordinates, unless proj != NA, in which case they are transformed to lat-long degrees.

Author(s)

Berry Boessenkool, berry-b@gmx.de, Feb-March 2017

See Also

vis_asc for plotting the result

Examples

1
# to be added

brry/mhmVis documentation built on May 13, 2019, 7:53 a.m.