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

Programming challenges #1

Open
edzer opened this issue Jun 27, 2017 · 1 comment
Open

Programming challenges #1

edzer opened this issue Jun 27, 2017 · 1 comment

Comments

@edzer
Copy link
Owner

edzer commented Jun 27, 2017

  • building on the sf package, write a function that for p features, given n, finds the n nearest features and returns their index as a list with integer vectors. A brute-force method would first compute the complete distance matrix using st_distance; a smarter method avoids storing the full matrix by iterating over the features, a really smart method uses a spatial index to avoid having to compute all distances. See also Planar index r-spatial/sf#76
  • ideas and wishes from several people are mentioned here and in links found there
@edzer
Copy link
Owner Author

edzer commented Jun 28, 2017

Create a function that plots an sf object automatically over a google map or OSM background; see e.g.
dkahle/ggmap#162
and argument bgMap in sf:::plot_sf.

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

1 participant