Geo-Processing Helper Functions

Helper tools for facilitating basic geo-processing tasks, such as reading/writing Shapefiles, merging polygons or generating terrain contours.

APfun: Base tools for facilitating the creation geo-processing functions in R

Authors: Andrew Plowright
License: GPL 3

Build Status

This package is intended to provide basic tools for the development of higher level geo-processing functions. For instance, the AProunder function is used to define the extent of tile schemes in the TileManager library, or create summaries of tree stock in ForestTools.


APfun 0.1.3

APcontours - Added ability to control maximum number of segments per contour line. Ensured that output object's 'levels' attribute was numeric instead of a string. APpolygonize - Added 'outFile' argument AProunder - Allow input of 'Extent' objects

APfun 0.1.2

Added following functions to facilitate reading and writing of Shapefiles

APSHPread - Read a Shapefile APSHPsave - Save a Shapefile APKML2SHP - Convert a KML to a Shapefile APSHPfiles - List all files associated with a Shapefile (ex.: yourfile.shp, yourfile.xml, yourfile.prj, etc.) APSHPdel - Delete Shapefile and all associated files

In addition, the 'APpolyMerge' function was added, which facilitates merging multiple polygonal Spatial objects.

APfun 0.1.1

Added following functions:

APcontours - Generates elevation contours at 'tidy' height values APprecise - Prints a number with all decimal values (i.e. no rounding) APopen - Opens a folder in Windows Explorer APpolygonize - Converts a raster into polygons using a GDAL utility


  • Initial release of APfun

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.6 by Andrew Plowright, 25 days ago

Browse source code at

Authors: Andrew Plowright

Documentation:   PDF Manual  

GPL (>= 3) license

Imports sp, raster, rgdal, methods, maptools, withr

Suggests testthat

Imported by ForestTools, TileManager.

See at CRAN