Skip to content
Prev 22045 / 29559 Next

How to delete some polygons from 'SpatialPolygonsDataFrame'

Dear Fred,
you may try
mySpPolygonsDf[i, j]
with i the desired rows / polygons and j (optional) desired columns from the
@data slot / data.frame.
Please see also the package "sp" reference manual.
Cheers!
Roland


Jianyun Wu schrieb am 2014-11-28: