establish_con: Establish connection to the map database (default name...

Description Usage Arguments Value

Description

The establish_con function checks the existence of the map database and establishes a connection which can be then passed on to other functions. The required information is the path to the directory holding map data and optionally a name of the database, if it is different than default.

Usage

1
establish_con(map_data = "extdata", mapdb_name = "MapID.db")

Arguments

map_data

a character string with the path to the folder storing the map data, a default value has been set in the function.

mapdb_name

a character string with the name of the map database.

Value

db a SQLiteConnection object.


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