| 1 |
useDynLib(sp, |
| 2 |
bboxCalcR_c, |
| 3 |
pointsInBox, |
| 4 |
Polygon_c, |
| 5 |
Polygon_validate_c, |
| 6 |
Polygons_c, |
| 7 |
R_point_in_polygon_sp, |
| 8 |
sp_zerodist, |
| 9 |
sp_duplicates, |
| 10 |
SpatialPolygons_c, |
| 11 |
SpatialPolygons_getIDs_c, |
| 12 |
SpatialPolygons_plotOrder_c, |
| 13 |
SpatialPolygons_validate_c, |
| 14 |
tList |
| 15 |
) |
| 16 |
|
| 17 |
importFrom(graphics, plot, hist, polygon, par, polypath, lines, strheight, |
| 18 |
text, contour, axTicks, axis, rasterImage, image, box, plot.new, |
| 19 |
plot.window, rect, segments, points, locator, identify, title, |
| 20 |
layout, lcm) |
| 21 |
importFrom(stats, aggregate, na.omit, aggregate.data.frame, complete.cases, |
| 22 |
quantile, as.formula, dist, runif, model.frame, na.fail) |
| 23 |
import(utils) |
| 24 |
importFrom(grid, grid.polygon, grid.path, grid.rect, polygonGrob, gpar, |
| 25 |
grid.layout, unit, frameGrob, placeGrob, rectGrob, grid.locator, |
| 26 |
grid.raster) |
| 27 |
importFrom(grDevices, rgb, heat.colors) |
| 28 |
import(methods) |
| 29 |
import(lattice) |
| 30 |
|
| 31 |
export( |
| 32 |
CRS, |
| 33 |
identicalCRS, |
| 34 |
# print.CRS, -> S3Method() |
| 35 |
|
| 36 |
# bbox, |
| 37 |
getGridIndex, |
| 38 |
points2grid, |
| 39 |
bpy.colors, |
| 40 |
bubble, |
| 41 |
mapasp, |
| 42 |
point.in.polygon, |
| 43 |
spmap.to.lev, |
| 44 |
zerodist, |
| 45 |
zerodist2, |
| 46 |
remove.duplicates, |
| 47 |
degAxis, |
| 48 |
"%over%", |
| 49 |
|
| 50 |
get_ll_warn, |
| 51 |
set_ll_warn, |
| 52 |
get_ll_TOL, |
| 53 |
set_ll_TOL, |
| 54 |
get_ReplCRS_warn, |
| 55 |
set_ReplCRS_warn, |
| 56 |
get_Polypath, |
| 57 |
set_Polypath, |
| 58 |
get_PolypathRule, |
| 59 |
set_PolypathRule, |
| 60 |
set_col_regions, |
| 61 |
get_col_regions, |
| 62 |
set_evolution_status, |
| 63 |
get_evolution_status, |
| 64 |
|
| 65 |
coordinatevalues, |
| 66 |
|
| 67 |
dimensions, |
| 68 |
|
| 69 |
Spatial, |
| 70 |
|
| 71 |
SpatialPoints, |
| 72 |
SpatialPointsDataFrame, |
| 73 |
|
| 74 |
SpatialMultiPoints, |
| 75 |
SpatialMultiPointsDataFrame, |
| 76 |
|
| 77 |
Line, |
| 78 |
Lines, |
| 79 |
SpatialLines, |
| 80 |
SpatialLinesDataFrame, |
| 81 |
as.SpatialLines.SLDF, |
| 82 |
LineLength, |
| 83 |
LinesLength, |
| 84 |
SpatialLinesLengths, |
| 85 |
|
| 86 |
layout.scale.bar, |
| 87 |
layout.north.arrow, |
| 88 |
sp.theme, |
| 89 |
mapLegendGrob, |
| 90 |
spplot.key, |
| 91 |
panel.ggmap, |
| 92 |
panel.gridplot, |
| 93 |
panel.polygonsplot, |
| 94 |
panel.pointsplot, |
| 95 |
panel.RgoogleMaps, |
| 96 |
sp.polygons, |
| 97 |
sp.lines, |
| 98 |
sp.text, |
| 99 |
sp.points, |
| 100 |
sp.grid, |
| 101 |
SpatialPolygonsRescale, |
| 102 |
spplot.locator, |
| 103 |
sp.panel.layout, |
| 104 |
degreeLabelsEW, |
| 105 |
degreeLabelsNS, |
| 106 |
longlat.scales, |
| 107 |
bbexpand, |
| 108 |
compassRose, |
| 109 |
|
| 110 |
as.image.SpatialGridDataFrame, |
| 111 |
image2Grid, |
| 112 |
imageScale, |
| 113 |
|
| 114 |
gridparameters, |
| 115 |
SpatialPixels, |
| 116 |
SpatialPixelsDataFrame, |
| 117 |
SpatialGrid, |
| 118 |
SpatialGridDataFrame, |
| 119 |
GridTopology, |
| 120 |
getGridTopology, |
| 121 |
areaSpatialGrid, |
| 122 |
gridlines, |
| 123 |
gridat, |
| 124 |
gridIndex2nb, |
| 125 |
|
| 126 |
getSLlinesSlot, |
| 127 |
getLinesLinesSlot, |
| 128 |
getLinesIDSlot, |
| 129 |
getSLLinesIDSlots, |
| 130 |
|
| 131 |
getSpatialLinesMidPoints, |
| 132 |
|
| 133 |
getPolygonCoordsSlot, |
| 134 |
getPolygonLabptSlot, |
| 135 |
getPolygonAreaSlot, |
| 136 |
getPolygonHoleSlot, |
| 137 |
getPolygonsPolygonsSlot, |
| 138 |
getPolygonsplotOrderSlot, |
| 139 |
getPolygonsLabptSlot, |
| 140 |
getPolygonsIDSlot, |
| 141 |
getSpPpolygonsSlot, |
| 142 |
getSpPplotOrderSlot, |
| 143 |
getSpPPolygonsLabptSlots, |
| 144 |
getSpPPolygonsIDSlots, |
| 145 |
getSpPnParts, |
| 146 |
getSpPnHoles, |
| 147 |
getSpatialPolygonsLabelPoints, |
| 148 |
|
| 149 |
select.spatial, |
| 150 |
|
| 151 |
as.SpatialPolygons.PolygonsList, |
| 152 |
# as.SpatialPolygonsDataFrame.SpatialPolygons, -> use coerce() |
| 153 |
|
| 154 |
# DMS: |
| 155 |
dd2dms, |
| 156 |
print.DMS, |
| 157 |
char2dms, |
| 158 |
as.character.DMS, |
| 159 |
as.double.DMS, |
| 160 |
as.numeric.DMS, |
| 161 |
|
| 162 |
# is coerce, but needed to add proj4string: |
| 163 |
as.SpatialPolygons.GridTopology, |
| 164 |
|
| 165 |
# as.SpatialPolygons.SpatialPixels, -> is a coerce(), but plotKML uses it |
| 166 |
IDvaluesGridTopology, |
| 167 |
IDvaluesSpatialPixels, |
| 168 |
HexPoints2SpatialPolygons, |
| 169 |
|
| 170 |
flipHorizontal, |
| 171 |
flipVertical, |
| 172 |
|
| 173 |
loadMeuse, |
| 174 |
|
| 175 |
makegrid, |
| 176 |
|
| 177 |
overDF_for_rgeos, # for rgeos only! |
| 178 |
|
| 179 |
read.asciigrid, |
| 180 |
|
| 181 |
Polygon, |
| 182 |
Polygons, |
| 183 |
|
| 184 |
cbind.Spatial, |
| 185 |
|
| 186 |
rbind.SpatialPoints, |
| 187 |
rbind.SpatialPointsDataFrame, |
| 188 |
rbind.SpatialMultiPoints, |
| 189 |
rbind.SpatialMultiPointsDataFrame, |
| 190 |
rbind.SpatialPixels, |
| 191 |
rbind.SpatialPixelsDataFrame, |
| 192 |
rbind.SpatialPolygons, |
| 193 |
rbind.SpatialPolygonsDataFrame, |
| 194 |
rbind.SpatialLines, |
| 195 |
rbind.SpatialLinesDataFrame, |
| 196 |
|
| 197 |
# sample.Spatial, -> coerce()... |
| 198 |
# sample.Line, |
| 199 |
# sample.Polygon, |
| 200 |
# sample.Polygons, |
| 201 |
# sample.Sgrid, |
| 202 |
|
| 203 |
# ShowSpatialPointsDataFrame -> coerce()... |
| 204 |
|
| 205 |
SpatialPolygons, |
| 206 |
SpatialPolygonsDataFrame, |
| 207 |
|
| 208 |
spDistsN1, |
| 209 |
spDists, |
| 210 |
|
| 211 |
write.asciigrid, |
| 212 |
sp2Mondrian |
| 213 |
) |
| 214 |
|
| 215 |
exportClasses( |
| 216 |
DMS, |
| 217 |
CRS, |
| 218 |
GridTopology, |
| 219 |
Line, |
| 220 |
Lines, |
| 221 |
Polygon, |
| 222 |
Polygons, |
| 223 |
Spatial, |
| 224 |
SpatialGrid, |
| 225 |
SpatialGridDataFrame, |
| 226 |
SpatialLines, |
| 227 |
SpatialLinesDataFrame, |
| 228 |
SpatialPixels, |
| 229 |
SpatialPixelsDataFrame, |
| 230 |
SpatialPoints, |
| 231 |
SpatialPointsDataFrame, |
| 232 |
SpatialMultiPoints, |
| 233 |
SpatialMultiPointsDataFrame, |
| 234 |
SpatialPolygons, |
| 235 |
SpatialPolygonsDataFrame, |
| 236 |
# spatstat classes: |
| 237 |
ppp, im, owin, psp |
| 238 |
) |
| 239 |
|
| 240 |
exportMethods( |
| 241 |
"[", "[[", "$", "$<-", |
| 242 |
addAttrToGeom, |
| 243 |
bbox, |
| 244 |
coerce, |
| 245 |
coordinates, |
| 246 |
"coordinates<-", |
| 247 |
coordnames, |
| 248 |
"coordnames<-", |
| 249 |
dimensions, |
| 250 |
disaggregate, |
| 251 |
fullgrid, |
| 252 |
"fullgrid<-", |
| 253 |
geometry, |
| 254 |
"geometry<-", |
| 255 |
gridded, |
| 256 |
"gridded<-", |
| 257 |
is.projected, |
| 258 |
merge, |
| 259 |
over, |
| 260 |
# overlay, |
| 261 |
plot, |
| 262 |
polygons, |
| 263 |
"polygons<-", |
| 264 |
proj4string, |
| 265 |
"proj4string<-", |
| 266 |
wkt, |
| 267 |
recenter, |
| 268 |
show, |
| 269 |
spChFIDs, |
| 270 |
"spChFIDs<-", |
| 271 |
split, |
| 272 |
sppanel, |
| 273 |
spplot, |
| 274 |
spsample, |
| 275 |
summary, |
| 276 |
surfaceArea, |
| 277 |
spTransform, |
| 278 |
rebuild_CRS |
| 279 |
) |
| 280 |
|
| 281 |
exportMethods( |
| 282 |
elide # usmap https://github.com/pdil/usmap/issues/57 |
| 283 |
) |
| 284 |
|
| 285 |
S3method(as.array, SpatialGridDataFrame) |
| 286 |
|
| 287 |
S3method(as.character, DMS) |
| 288 |
|
| 289 |
S3method(as.data.frame, SpatialPoints) |
| 290 |
S3method(as.data.frame, SpatialMultiPoints) |
| 291 |
S3method(as.data.frame, SpatialPixels) |
| 292 |
S3method(as.data.frame, SpatialGrid) |
| 293 |
S3method(as.data.frame, SpatialPointsDataFrame) |
| 294 |
S3method(as.data.frame, SpatialMultiPointsDataFrame) |
| 295 |
S3method(as.data.frame, SpatialPixelsDataFrame) |
| 296 |
S3method(as.data.frame, SpatialGridDataFrame) |
| 297 |
S3method(as.data.frame, SpatialLinesDataFrame) |
| 298 |
S3method(as.data.frame, SpatialPolygonsDataFrame) |
| 299 |
S3method(as.data.frame, GridTopology) |
| 300 |
|
| 301 |
S3method(as.double, DMS) |
| 302 |
S3method(as.numeric, DMS) |
| 303 |
|
| 304 |
S3method(as.matrix, SpatialGridDataFrame) |
| 305 |
S3method(as.matrix, SpatialPixelsDataFrame) |
| 306 |
|
| 307 |
S3method(aggregate, Spatial) |
| 308 |
|
| 309 |
S3method(cbind, Spatial) |
| 310 |
S3method(cbind, SpatialGridDataFrame) |
| 311 |
|
| 312 |
S3method(contour, SpatialPixelsDataFrame) |
| 313 |
S3method(contour, SpatialGridDataFrame) |
| 314 |
|
| 315 |
S3method(dim, SpatialPointsDataFrame) |
| 316 |
S3method(dim, SpatialMultiPointsDataFrame) |
| 317 |
S3method(dim, SpatialLinesDataFrame) |
| 318 |
S3method(dim, SpatialPolygonsDataFrame) |
| 319 |
S3method(dim, SpatialPixelsDataFrame) |
| 320 |
S3method(dim, SpatialGridDataFrame) |
| 321 |
|
| 322 |
S3method(head, Spatial) |
| 323 |
|
| 324 |
S3method(image, SpatialPixelsDataFrame) |
| 325 |
S3method(image, SpatialPixels) |
| 326 |
S3method(image, SpatialGridDataFrame) |
| 327 |
|
| 328 |
S3method(is.na, CRS) |
| 329 |
|
| 330 |
S3method(labels, SpatialLines) |
| 331 |
|
| 332 |
S3method(length, SpatialGrid) |
| 333 |
S3method(length, SpatialLines) |
| 334 |
S3method(length, SpatialPixels) |
| 335 |
S3method(length, SpatialPoints) |
| 336 |
S3method(length, SpatialMultiPoints) |
| 337 |
S3method(length, SpatialPolygons) |
| 338 |
S3method(length, SpatialGridDataFrame) |
| 339 |
S3method(length, SpatialLinesDataFrame) |
| 340 |
S3method(length, SpatialPixelsDataFrame) |
| 341 |
S3method(length, SpatialPointsDataFrame) |
| 342 |
S3method(length, SpatialMultiPointsDataFrame) |
| 343 |
S3method(length, SpatialPolygonsDataFrame) |
| 344 |
|
| 345 |
S3method(lines, Line) |
| 346 |
S3method(lines, Lines) |
| 347 |
S3method(lines, SpatialLines) |
| 348 |
S3method(lines, SpatialLinesDataFrame) |
| 349 |
|
| 350 |
S3method(names, SpatialPointsDataFrame) |
| 351 |
S3method(names, SpatialMultiPointsDataFrame) |
| 352 |
S3method(names, SpatialPixelsDataFrame) |
| 353 |
S3method(names, SpatialGridDataFrame) |
| 354 |
S3method(names, SpatialLinesDataFrame) |
| 355 |
S3method(names, SpatialPolygonsDataFrame) |
| 356 |
S3method(names, SpatialLines) |
| 357 |
S3method(names, SpatialPolygons) |
| 358 |
S3method(names, SpatialMultiPoints) |
| 359 |
|
| 360 |
S3method("names<-", SpatialPointsDataFrame) |
| 361 |
S3method("names<-", SpatialPolygonsDataFrame) |
| 362 |
S3method("names<-", SpatialLinesDataFrame) |
| 363 |
S3method("names<-", SpatialPixelsDataFrame) |
| 364 |
S3method("names<-", SpatialGridDataFrame) |
| 365 |
|
| 366 |
S3method(row.names, SpatialPoints) |
| 367 |
S3method(row.names, SpatialMultiPoints) |
| 368 |
S3method(row.names, SpatialLines) |
| 369 |
S3method(row.names, SpatialPolygons) |
| 370 |
S3method(row.names, SpatialPixels) |
| 371 |
S3method(row.names, SpatialGrid) |
| 372 |
S3method(row.names, SpatialPointsDataFrame) |
| 373 |
S3method(row.names, SpatialLinesDataFrame) |
| 374 |
S3method(row.names, SpatialPolygonsDataFrame) |
| 375 |
S3method(row.names, SpatialGridDataFrame) |
| 376 |
|
| 377 |
S3method("row.names<-", SpatialPoints) |
| 378 |
S3method("row.names<-", SpatialMultiPoints) |
| 379 |
S3method("row.names<-", SpatialPointsDataFrame) |
| 380 |
S3method("row.names<-", SpatialPolygons) |
| 381 |
S3method("row.names<-", SpatialPolygonsDataFrame) |
| 382 |
S3method("row.names<-", SpatialLines) |
| 383 |
S3method("row.names<-", SpatialLinesDataFrame) |
| 384 |
|
| 385 |
S3method(points, SpatialPoints) |
| 386 |
S3method(points, SpatialPointsDataFrame) |
| 387 |
S3method(points, SpatialMultiPoints) |
| 388 |
S3method(points, SpatialMultiPointsDataFrame) |
| 389 |
|
| 390 |
S3method(print, CRS) |
| 391 |
S3method(print, DMS) |
| 392 |
S3method(print, GridTopology) |
| 393 |
S3method(print, SpatialPoints) |
| 394 |
S3method(print, SpatialMultiPoints) |
| 395 |
S3method(print, SpatialPixels) |
| 396 |
S3method(print, SpatialLines) |
| 397 |
S3method(print, SpatialPointsDataFrame) |
| 398 |
S3method(print, SpatialMultiPointsDataFrame) |
| 399 |
S3method(print, SpatialPixelsDataFrame) |
| 400 |
S3method(print, SpatialLinesDataFrame) |
| 401 |
S3method(print, summary.Spatial) |
| 402 |
S3method(print, summary.GridTopology) |
| 403 |
|
| 404 |
S3method(rbind, SpatialLines) |
| 405 |
S3method(rbind, SpatialLinesDataFrame) |
| 406 |
S3method(rbind, SpatialMultiPoints) |
| 407 |
S3method(rbind, SpatialMultiPointsDataFrame) |
| 408 |
S3method(rbind, SpatialPixels) |
| 409 |
S3method(rbind, SpatialPixelsDataFrame) |
| 410 |
S3method(rbind, SpatialPoints) |
| 411 |
S3method(rbind, SpatialPointsDataFrame) |
| 412 |
S3method(rbind, SpatialPolygons) |
| 413 |
S3method(rbind, SpatialPolygonsDataFrame) |
| 414 |
|
| 415 |
S3method(split, SpatialPoints) |
| 416 |
|
| 417 |
S3method(stack, SpatialPointsDataFrame) |
| 418 |
S3method(stack, SpatialPixelsDataFrame) |
| 419 |
S3method(stack, SpatialGridDataFrame) |
| 420 |
|
| 421 |
S3method(subset, Spatial) |
| 422 |
|
| 423 |
S3method(tail, Spatial) |
| 424 |
|
| 425 |
S3method(text, SpatialPointsDataFrame) |