1useDynLib(maptools) 2 3import(sp) 4import(foreign) 5import(grid) 6importFrom(lattice, strip.custom, trellis.grobname, trellis.par.get, llines) 7importFrom(stats, smooth.spline, runif, na.omit, median, quantile, predict) 8importFrom(utils, read.table, write.table, packageVersion, compareVersion, packageDescription) 9importFrom(graphics, image, polygon, par, text, rect, points, lines, box, strwidth, strheight) 10importFrom(grDevices, hsv, col2rgb, as.graphicsAnnot, xy.coords) 11import(methods) 12 13export(leglabs, dotsInPolys, symbolsInPolys, getinfo.shape, print.shapehead) 14 # plotpolys, shape2poly, shape2lines, 15 # shape2points, shape2bbs, Map2poly, Map2poly1, Map2lines, Map2points, 16 # Map2bbs, convert.pl, get.Pcent, read.shape, 17 # plot.Map, plot.polylist, subset.polylist, maptools, dotsInPolys, 18 # symbolsInPolys, write.pointShape, write.polylistShape, 19 # write.linelistShape) 20 21export(readShapePoints, readShapeLines, readShapePoly) 22 23export(writePointsShape, writeLinesShape, writePolyShape) 24 25export(readShapeSpatial, writeSpatialShape) 26 27export(readAsciiGrid, writeAsciiGrid) 28 29export(readGPS) 30 31export(sp2WB, sp2tmap, sp2Mondrian, readSplus) 32 33export(gzAzimuth, trackAzimuth) 34 35export(MapGen2SL, ArcObj2SLDF, ContourLines2SLDF, pal2SpatialPolygons) 36 37#exportClass(ppp, im, owin, psp) 38 39exportMethods("crepuscule", "sunriset", "solarnoon", "solarpos") 40 41export(SpatialPolygons2PolySet, SpatialLines2PolySet, PolySet2SpatialPolygons, PolySet2SpatialLines, map2SpatialPolygons, map2SpatialLines, pruneMap) 42 43export(as.ppp.SpatialPoints, as.ppp.SpatialPointsDataFrame, as.SpatialPoints.ppp, as.SpatialPointsDataFrame.ppp, as.SpatialGridDataFrame.ppp) 44export(as.owin.SpatialGridDataFrame, as.owin.SpatialPixelsDataFrame, as.owin.SpatialPolygons, as.SpatialGridDataFrame.im, as.im.SpatialGridDataFrame, as.im.RasterLayer) 45 46export(as.psp.SpatialLinesDataFrame, as.psp.SpatialLines, as.psp.Lines, as.psp.Line, as.SpatialLines.psp) 47 48export(as.linnet.SpatialLines) 49 50if(getRversion() >= "3.6.0") { 51 S3method(spatstat.geom::as.im, "RasterLayer") 52 S3method(spatstat.geom::as.im, "SpatialGridDataFrame") 53 S3method(spatstat.linnet::as.linnet, "SpatialLines") 54 S3method(spatstat.geom::as.owin, "SpatialGridDataFrame") 55 S3method(spatstat.geom::as.owin, "SpatialPixelsDataFrame") 56 S3method(spatstat.geom::as.owin, "SpatialPolygons") 57 S3method(spatstat.geom::as.ppp, "SpatialPoints") 58 S3method(spatstat.geom::as.ppp, "SpatialPointsDataFrame") 59 S3method(spatstat.geom::as.psp, "Line") 60 S3method(spatstat.geom::as.psp, "Lines") 61 S3method(spatstat.geom::as.psp, "SpatialLines") 62 S3method(spatstat.geom::as.psp, "SpatialLinesDataFrame") 63} 64 65export(gpclibPermit, gpclibPermitStatus, rgeosStatus) 66 67export(unionSpatialPolygons, nowrapSpatialPolygons, nowrapRecenter, checkPolygonsHoles, nowrapSpatialLines) 68 69export(Rgshhs, getRgshhsMap) 70 71export(CCmaps) 72 73exportMethods(coerce, spCbind, spRbind) 74 75exportMethods(elide) 76 77export(GE_SpatialGrid, kmlOverlay, Sobj_SpatialGrid) 78 79export(kmlPolygons, kmlLines, kmlPolygon, kmlLine, getKMLcoordinates, kmlPoints) 80 81export(pointLabel, gcDestination) 82export(thinnedSpatialPoly) 83 84export(snapPointsToLines, nearestPointOnSegment, nearestPointOnLine, SpatialLinesMidPoints) 85 86export(panel.pointLabel, lineLabel) 87S3method("drawDetails", "labels") 88exportMethods(sp.pointLabel, sp.lineLabel, label) 89 90#S3method(plot, Map) 91#S3method(plot, polylist) 92#S3method(subset, polylist) 93S3method(print, shapehead) 94#S3method(as.ppp, SpatialPoints) 95#S3method(as.ppp, SpatialPointsDataFrame) 96#S3method(as.owin, SpatialGridDataFrame) 97#S3method(as.owin, SpatialPixelsDataFrame) 98#S3method(as.owin, SpatialPolygons) 99#S3method(as.SpatialPoints, ppp) 100#S3method(as.SpatialPointsDataFrame, ppp) 101#S3method(as.SpatialGridDataFrame, ppp) 102#S3method(as.SpatialGridDataFrame, im) 103 104 105 106