save_map: Save the map file to a proper subdirectory and update the...

Description Usage Arguments Value

Description

The save_map function renames and copies the map file to the appropriate directory after rendering and updates the database with the map attributes.

Usage

1
save_map(db, init_proj, ext_map, map_data, options_list = NULL)

Arguments

db

a SQLiteConnection object that specifies the connection to the database.

init_proj

a character string that specifies the EPSG code of the geographic projection of the map file (by default "+init=epsg:4326").

ext_map

a spatial object of class 'extent' from the 'raster' package holding the data on the extreme coordinates of the input object including margins.

map_data

a character string with the path to the folder storing the map data.

options_list

a list of graphical and other parameters used by the rendering engine.

Value

mapl a data frame holding the last record from the map database that has been entered to the database by the last function run.


PawelMG/gis_server documentation built on May 9, 2019, 2:24 p.m.