SpatialPointSelect
SpatialPointSelect[spdata,crit]
selects a subset of the SpatialPointData spdata according to crit.
Details
- SpatialPointSelect is typically used to get a smaller SpatialPointData with some parts selected.
- Conceptually, SpatialPointSelect acts as a Select on points and annotations of the form {{point1,ann1},{point2,ann2},…} to select a subpart.
- The criterion function crit is typically a Boolean expression with conditions on points and annotations, such as (Norm[#Point]<1&& #species"Birch")& if species was one of the annotation keys.
- The following arguments can be used in crit:
-
#Point conditions on point #key conditions on values associated with the annotation "key"
Examples
open allclose allBasic Examples (2)
Scope (7)
By Point Condition (5)
Select points that are within a given region:
Pick out points with norm less than 1/2:
Define the selection criterion:
Plot the original data with the selected subset:
Pick all points with first coordinate greater than 1/3:
Define the selection condition:
Plot the original data with the selected subset:
Select points based on geo location:
Select locations within 2000 kilometers of Chicago:
By Annotation (2)
Keep selected points based on annotation value:
Select points for which "color" annotation value is close to Red:
Show annotations of the remaining points:
Text
Wolfram Research (2020), SpatialPointSelect, Wolfram Language function, https://reference.wolfram.com/language/ref/SpatialPointSelect.html.
CMS
Wolfram Language. 2020. "SpatialPointSelect." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SpatialPointSelect.html.
APA
Wolfram Language. (2020). SpatialPointSelect. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SpatialPointSelect.html