Questions tagged [spatialdataframe]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
84 views

Specifying ggplot2 aesthetics for factors stored in SpatialLinesDataFrame

I produced a set of 2 contour lines for 6 different individuals. The contours for each individual were originally stored in a single list which contained 6 separate SpatialLinesDataFrames (one per ...
Ryan's user avatar
  • 123
0 votes
1 answer
410 views

ArcGIS API for Python: SEDF from_layer Fails With 'Layer' object has no attribute 'filter'

I'm struggling to build a dataframe out of a featureclass (via a layer), where I'm getting this error message: Exception: Could not load the dataset: 'Layer' object has no attribute 'filter' from ...
Maxcot's user avatar
  • 265
1 vote
1 answer
451 views

Work with individual Polygons of a SpatialPolygonsDataFrame (R)

I'm trying to work with individual polygons of a SpatialPolygonsDataFrame (SPDF). I've seen these two questions: Using sapply on SPDF and a for-loop on a SPDF. The latter I thought may be helpful, but ...
Honeybear's user avatar
  • 2,386
15 votes
4 answers
71k views

How to export a dataset with "SpatialPolygonsDataFrame" as a shapefile

How to export spatial datasets in R, such as tornados dataset in GISTools package, as a shapefile with the exact same spatial reference and the exact values? library(GISTools) data(tornados) Desired:...
Mokhless's user avatar
  • 255