The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Type: Package
Title: Bring Local Sf to Spark
Version: 0.3.1
Maintainer: Harry Zhu <7harryprince@gmail.com>
BugReports: https://github.com/harryprince/geospark/issues
Description: R binds 'GeoSpark' http://geospark.datasyslab.org/ extending 'sparklyr' https://spark.rstudio.com/ R package to make distributed 'geocomputing' easier. Sf is a package that provides [simple features] https://en.wikipedia.org/wiki/Simple_Features access for R and which is a leading 'geospatial' data processing tool. 'Geospark' R package bring the same simple features access like sf but running on Spark distributed system.
License: Apache License (≥ 2.0)
Encoding: UTF-8
LazyData: true
Depends: R (≥ 3.1.2)
Imports: sparklyr (≥ 1.0.0), dplyr (≥ 0.8.3), dbplyr (≥ 1.3.0)
RoxygenNote: 6.1.1
Suggests: testthat, knitr, utils
NeedsCompilation: no
Packaged: 2020-02-29 01:44:17 UTC; harryzhu
Author: Harry Zhu [aut, cre], Javier Luraschi [ctb]
Repository: CRAN
Date/Publication: 2020-03-02 05:40:02 UTC

Enable GIS SQL

Description

Enable GIS SQL

Usage

register_gis(sc)

Arguments

sc

a spark connection

Used by 'sparklyr' to initilize GIS SQL.

Value

a GIS spark connection

Examples

library(geospark)
library(sparklyr)

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

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


Spark geometry example.

Description

Spark geometry example.

Usage

st_example(sc, geom = "polygons")

Arguments

sc

an object of spark connection

geom

a string of geometry type

Details

geometry can be "polygons" or "points"

Value

a data.frame contains wkt format column example

Examples

library(geospark)
library(sparklyr)
library(utils)

# use the proper master, like 'local', 'yarn', etc.
sc <- spark_connect(master = "spark://HOST:PORT")

st_example(sc, "polygons")
st_example(sc, "points")

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.