Top "Sp" questions

An R package for spatial data.

Create SpatialPointsDataframe

I have a dataframe df1 with 10 columns. Two of these columns are lng and lat. I want to create a …

r geospatial spatial sp
SpatialPolygons - Creating a set of polygons in R from coordinates

I am trying to take create a set of polygons from vertex locations, saved in X,Y format. Here is …

r spatial rgdal sp
Merge data frame with SpatialPolygonsDataFrame

I want to merge a SpatialPolygonsDataFrame : # From https://www.census.gov/geo/maps-data/data/cbf/cbf_state.html states <…

r sp
Changing the Projection of Shapefile

I am trying to change or assign the projection of a Germany-Shapefile from NA to +proj=longlat +datum=WGS84 +no_…

r projection shapefile sp
SpatialPoints and SpatialPointsDataframe

Working with the sp package in R. I wonder when I would use SpatialPoints and when SpatialPointsDataframe. It seems so …

r sp
R: How can I count how many points are in each cell of my grid?

I have made a reference grid, cells 50x50m, based on GPS locations of a collared animal. I want to …

r spatial sp