Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line_sfc object not used in any relationship queries #1017

Open
tibbles-and-tribbles opened this issue Dec 16, 2023 · 3 comments
Open

line_sfc object not used in any relationship queries #1017

tibbles-and-tribbles opened this issue Dec 16, 2023 · 3 comments
Assignees

Comments

@tibbles-and-tribbles
Copy link
Contributor

In 4.2.2 (https://r.geocompx.org/spatial-operations#topological-relations), the object line_sfc is created but not used for any relationship queries (at least not in 4.2.2 or 4.2.3). The line is plotted in Figure 4.3, but I don't know why.

line_sfc = st_sfc(st_linestring(cbind(
  x = c(0.4, 1),
  y = c(0.2, 0.5)
)))
# create points
point_df = data.frame(
  x = c(0.2, 0.7, 0.4),
  y = c(0.1, 0.2, 0.8)
)
point_sf = st_as_sf(point_df, coords = c("x", "y"))
@Robinlovelace
Copy link
Collaborator

Agreed, we should probably look to use it. Any thoughts on how welcome.

@tibbles-and-tribbles
Copy link
Contributor Author

tibbles-and-tribbles commented Dec 18, 2023 via email

@tibbles-and-tribbles
Copy link
Contributor Author

tibbles-and-tribbles commented Dec 18, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants