Learn R Programming

RgoogleMaps (version 1.5.1)

ReadMapTile: Read a bitmap image stored in the PNG format

Description

Reads an image from a PNG file/content into a raster array.

Usage

ReadMapTile(destfile, METADATA = TRUE, native = TRUE)

Value

map or tile object

Arguments

destfile

png file to read

METADATA

read MetaInfo as well ?

native

determines the image representation - if FALSE then the result is an array, if TRUE then the result is a native raster representation, see readPNG in package png.

Author

Markus Loecher