It imports a 'RasterLayer' object in Escri-Asci format from a URL 'http(s)://....<FILENAME>.asc

read.raster.from.url(x, header_nrow = 6, ...)

Arguments

x

the charcater string containing the URL address

header_nrow

Number of header in the ASCII grid format. Deafault is 6. See https://en.wikipedia.org/wiki/Esri_grid

...

additional arguments

Value

a 'RasterLayer' object

Note

This function reads a local or remote text files formatted as https://en.wikipedia.org/wiki/Esri_grid and creates a 'RasterLayer' object.

See also