Operations on Vector Data I
Content for Wednesday, September 14, 2022
Readings
We are going to continue building on the use of the vector data model so we’ll keep working through the readings from last session.
The introductory vignette for the
sfpackage has a lot of useful info onsfobjects and conventions.Section 2.2 on Vector Data and Sections 5.1-5.3 on Geographic Operations in Lovelace et al. (Lovelace et al. 2019) - for more details about vectors and geometric operations on vectors.
Section 3.1 and 3.2 of Spatial Data Science, a
bookdownproject by Edzer Pebesma and Roger Bivand (of thesf,sp,rgeos, andrgdalpackages)
Objectives
By the end of today, you should be able to:
Define valid geometries and approaches for validating geometries in
RUnderstand
predicatesandmeasuresin the context of spatial operations insfUse
st_*to evaluate attributes of geometries and calculate measurements
Slides
The slides for today’s lesson are available online as an HTML file. Use the buttons below to open the slides either as an interactive website or as a static PDF (for printing or storing for later). You can also click in the slides below and navigate through them with your left and right arrow keys.
View all slides in new window Download PDF of all slides