All functions |
|
---|---|
Create an sf bounding box from a list of longitude and latitudes |
|
Create an sf bounding box from a vector with (xmin,ymin,ymax,ymax) |
|
Create a st_polygon from a bounding box |
|
Util to check if the bbox polygon produced is valid or not |
|
Cache function that works with csvs of sf (SHP) files |
|
Get the long/lat of centroids of sf object (adds 2 new columns if they do not already exist) |
|
Get a piecewise constant inerpolation based on the voronoi diagram |
|
Create polygons that represent a 2D density out of points or centroid of polygons |
|
Download a (zipped) shp file from a url |
|
Removes the endpoints for a collection of LINESTRINGS |
|
Splits line into segments using SfSpHelpers::split_lines and then removes the first and last segments (if possible) and then groups the line string by id |
|
Get a substring from a linestring |
|
Scale an sf object with *POLYGON geometry |
|
Scale an individual sfc |
|
SfSpHelpers is an R package for routine spatial operations that can be reused in different contexts |
|
Smooth/thin out a large number of points or polygons by taking a spatially weighted k means |
|
split lines |
|
Splits line into segments using SfSpHelpers::split_lines and then removes the first and last segments (if possible) |
|
Produce a 2D kernel density estimate based on some POINTS geometry |
|
Add start and end points to a sf linestring object |
|
Convenience function over st_linestring_add_endpoints and st_sf_linestring_from_points Takes a potentially complicated linestring and converts it into a simple linestring based only on the *endpoints* of the initial linestring (keeps the geometry as LINESTRING) |
|
From a df where each row represents an edge in 2D of the form (lng_1,lat_1), (lng_2,lat_2), create an sf object with LINESTRING geometry |
|
Create a buffer around an sf object + merge the resulting polygons using st_union |
|
Voronoi Diagram from Data Frame |