register_gis: Enable GIS SQL

Description Usage Arguments Value Examples

View source: R/register_gis.R

Description

Enable GIS SQL

Usage

1

Arguments

sc

a spark connection

Used by 'sparklyr' to initilize GIS SQL.

Value

a GIS spark connection

Examples

1
2
3
4
5
6
7
library(geospark)
library(sparklyr)

sc <- spark_connect(master = "spark://HOST:PORT")

# spark_connect() calls register_gis() automatically, as in:
register_gis(sc)

harryprince/geospark documentation built on Dec. 26, 2021, 5:30 a.m.