Learn R Programming

spNetwork (version 0.2.1)

spatial_request: Spatial request

Description

Use a quadtree index to perform spatial request.

Usage

spatial_request(geometry, tree, data)

Arguments

geometry

objects such as SpatialLine, SpatialPolygon or SpatialPoint

tree

a tree object from package SearchTrees

data

the original data used to build the tree object

Value

a subset of data, intersecting geometry

Examples

Run this code
# NOT RUN {
#This is an internal function, no example provided
# }

Run the code above in your browser using DataLab