#Imports: RGtk2 (>= 2.10.13), cairoDevice (>= 2.3)
# no point in doing this because cairoDevice::asCairoDevice calls 'require(RGtk2)'

importFrom(sp, coordinates, overlay, bbox, Spatial, SpatialPixels, SpatialPixelsDataFrame, SpatialGrid, SpatialGridDataFrame, spplot, is.projected)
exportClasses(SpatialMetadata, sp.palette, SpatialPhotoOverlay, SpatialPredictions, gstatModel, SpatialVectorsSimulations, RasterBrickSimulations, RasterBrickTimeSeries, SpatialMaxEntOutput, SpatialSamplingPattern)
exportMethods(getCRS, GetNames, GetPalette, kml, kml_layer, reproject, spMetadata, metadata2SLD, plotKML, fit.gstatModel, vect2rast)

importFrom("sp", coordinates, overlay, bbox, spplot, is.projected, SpatialPixelsDataFrame)
importClassesFrom("sp", Spatial, SpatialPixels, SpatialGrid, SpatialGridDataFrame, SpatialPointsDataFrame, SpatialPixelsDataFrame, SpatialPolygons)
exportClasses(SpatialMetadata, sp.palette, SpatialPhotoOverlay, SpatialPredictions, SpatialVectorsSimulations, RasterBrickSimulations, RasterBrickTimeSeries, SpatialMaxEntOutput, SpatialSamplingPattern)
exportMethods(getCRS, GetNames, GetPalette, kml, kml_layer, reproject, spMetadata, metadata2SLD, plotKML, vect2rast)

importFrom("colorspace", coords, hex, mixcolor, HSV)
importFrom("raster", stack, brick, rotate, nlayers, shift, layerNames, projectRaster, extension, is.factor, as.factor, count, removeTmpFiles, rasterToPolygons, raster, projection, rasterize, writeRaster, extent, calc, getValues, "values<-", getZ, setZ)
importFrom("plyr", aaply, laply, llply, ldply)

importFrom("raster", stack, brick, rotate, nlayers, shift, layerNames, projectRaster, extension, is.factor, as.factor, count, removeTmpFiles, rasterToPolygons, raster, projection, rasterize, writeRaster, extent, calc, getValues, "values<-", getZ, setZ, minValue, maxValue, image)
importFrom("RSAGA", set.file.extension, rsaga.env, rsaga.get.version, rsaga.geoprocessor)

importFrom("raster", stack, brick, rotate, nlayers, shift, layerNames, projectRaster, extension, is.factor, as.factor, count, removeTmpFiles, rasterToPolygons, raster, projection, rasterize, writeRaster, extent, calc, getValues, "values<-", getZ, setZ, minValue, maxValue, image, ncol, nrow)
importFrom("sp", coordinates, over, bbox, spplot, is.projected, SpatialPixelsDataFrame, gridparameters)