sdf_spatial_join: Spatial Join

Description Usage Arguments Value References

Description

Spatially joins two tbl.

Usage

1
2
sdf_spatial_join(left, right, latitude, longitude, polygon = "polygon",
  dropPolyAfterJoin = TRUE)

Arguments

left

An object coercable to a Spark DataFrame.

right

An object coercable to a Spark DataFrame.

latitude

Latitude variable.

longitude

Longitude variable.

polygon

Variable representing the polygon to join.

dropPolyAfterJoin

logical specifying whether the polygon column (and the index if available) should be dropped after the join. Defaults to TRUE.

Value

tbl_spark resulting from the spatial join.

References

https://github.com/harsha2010/magellan https://magellan.ghost.io/how-does-magellan-scale-geospatial-queries/


miraisolutions/sparkgeo documentation built on May 7, 2019, 8:01 a.m.