GIS Shapefile Store - for Beginners & Experienced GIS Users Alike. Geographic Names Information System, Nuclear Facilities, Zip Code Boundaries, School Districts, Indian & Federal Lands, Climate Change, Tornadoes, Dams - Create digital GIS maps in minutes.
Base R includes many functions that can be used for reading, vizualising, and analysing spatial data. The focus in this view is on "geographical" spatial data, where observations can be identified with geographical locations, and where additional information about these locations may be retrieved if the location is recorded with care. Base R functions are complemented by contributed packages, some of which are on CRAN, and others are still in development. One active location is R-Forge , which lists "Spatial Data and Statistics" projects in its project tree . Two promising packages on this site are raster for basic spatial raster (grid) data access and manipulation, and Rgis , which tries to bridge the gap between spatial data handling and good statistical and modeling tools. Some CRAN packages associated with sp are hosted on Sourceforge in the R-spatial project, and as yet unreleased source versions may checked out from CVS there.
The contributed packages address two broad areas: moving spatial data into and out of R, and analysing spatial data in R.
Classes for spatial data : Because many of the packages importing and using spatial data have had to include objects of storing data and functions for vizualising it, an initiative is in progress to construct shared classes and plotting functions for spatial data. The sp package has been published on CRAN, and wrapper packages are available from a repository for work in progress at the R-spatial Sourceforge home page. The sp package is discussed in a note in R News . Some other packages have become dependent on these classes, including rgdal and maptools. An alternative approach to some of these issues is implemented in the PBSmapping package; PBSmodelling provides modelling support. In addition, GEOmap provides mapping facilities directed to meet the needs of geologists, and uses the geomapdata package.
Handling spatial data : A number of packages have been written using sp classes. The spsurvey provides a range of sampling functions. The trip package extends sp classes to permit the accessing and manipulating of spatial data for animal tracking. The hdeco package provides hierarchical decomposition of entropy for categorical map comparisons. The GeoXp package permits interactive graphical exploratory spatial data analysis.
Reading and writing spatial data : Maps may be vector-based or raster-based. The rgdal package provides bindings to GDAL -supported raster formats and OGR -supported vector formats. It contains functions to write raster files in supported formats. The package also provides PROJ.4 projection support for vector objects ( this site provides searchable online PROJ.4 representations of projections). The Windows binary of rgdal includes a subset of possible data source drivers; if others are needed, use FWTools conversion utilities; for NetCDF files, ncdf may be used. There are a number of other packages for accessing vector data on CRAN: maps (with mapdata and mapproj) provides access to the same kinds of geographical databases as S - gmaps wraps these data for visualisation, RArcInfo allows ArcInfo v.7 binary files and *.e00 files to be read, and maptools and shapefiles read and write ArcGIS/ArcView shapefiles. The maptools package also provides helper functions for writing map polygon files to be read by WinBUGS, Mondrian, and the tmap command in Stata. It also provides interface functions between PBSmapping and spatstat and sp classes, in addition to maps databases and sp classes. There is also an interface to GSHHS shoreline databases. Handling spatial data using the OpenGIS Simple Features Specification for SQL with SQLite is supported in SQLiteMap. For visualization, the colour palettes provided in the RColorBrewer package are very useful, and may be modified or extended using the colorRampPalette function provided with R. The classInt package provides functions for choosing class intervals for thematic cartography. The gmt package gives a simple interface between GMT map-making software and R. geonames is an interface to the www.geonames.org service. If the user wishes to place a map backdrop behind other displays, the the RgoogleMaps package for accessing Google Maps(TM) may be useful. RSurvey may be used as a processing program for spatially distributed data, and is capable of error corrections and data visualization.
Integration with version 6.* of the leading open source GIS, GRASS, is provided in CRAN package spgrass6, using rgdal for exchanging data. Integration with legacy version 5.* GRASS, continues to be provided in CRAN package GRASS. RPyGeo is a wrapper for Python access to the ArcGIS GeoProcessor, and RSAGA is a similar shell-based wrapper for SAGA commands
Point pattern analysis : The spatial package is available as part of the VR bundle (a recommended package shipped with base R), and contains several core functions, including an implementation of Khat by its author, Prof. Ripley. In addition, spatstat allows freedom in defining the region(s) of interest, and makes extensions to marked processes and spatial covariates. Its strengths are model-fitting and simulation, and it has a useful homepage . It is the only package that will enable the user to fit inhomogeneous point process models with interpoint interactions. The spatgraphs package provides graphs, graph visualization and graph based summaries to be used with spatial point pattern analysis. The splancs package also allows point data to be analysed within a polygonal region of interest, and covers many methods, including 2D kernel densities. ecespa provides wrappers, functions and data for spatial point pattern analysis, used in the book on Spatial Ecology of the ECESPA/AEET. The functions for binning points on grids in ash may also be of interest. The ads package perform first- and second-order multi-scale analyses derived from Ripley's K-function. The aspace package is a collection of functions for estimating centrographic statistcs and computational geometries from spatial point patterns. spatialkernel provides edge-corrected kernel density estimation and binary kernel regression estimation for multivariate spatial point process data.
Geostatistics : The gstat package provides a wide range of functions for univariate and multivariate geostatistics, also for larger datasets, while geoR and geoRglm contain functions for model-based geostatistics. Automated interpolation using gstat is available in automap. A similar wide range of functions is to be found in the fields package. The spatial package is available as part of the VR bundle (shipped with base R), and contains several core functions. The spBayes package fits Gaussian univariate and multivariate models with MCMC. ramps is a different Bayesian geostatistical modelling package.
The RandomFields package provides functions for the simulation and analysis of random fields, and variogram model descriptions can be passed between geoR, gstat and this package. SpatialExtremes proposes several approaches for spatial extremes modelling using RandomFields. The sgeostat package is also available. Within the same general topical area are the tripack for triangulation and the akima package for spline interpolation; the MBA package provides scattered data interpolation with multilevel B-splines. In addition, there are the spatialCovariance package, which supports the computation of spatial covariance matrices for data on rectangles, the regress package building in part on spatialCovariance, and the tgp package. The Stem package provides for the estimation of the parameters of a spatio-temporal model using the EM algorithm, and the estimation of the parameter standard errors using a spatio-temporal parametric bootstrap
Disease mapping and areal data analysis : DCluster is a package for the detection of spatial clusters of diseases. It extends and depends on the spdep package, which provides basic functions for building neighbour lists and spatial weights, tests for spatial autocorrelation for areal data like Moran's I, and functions for fitting spatial regression models, such as SAR and CAR models. These models assume that the spatial dependence can be described by known weights. The spgwr package contains an implementation of geographically weighted regression methods for exploring possible non-stationarity. The spatclus package provides arbitrarily shaped multiple spatial cluster detection for case event data. The glmmBUGS package is a helpful way of passing out spatial models to WinBUGS, extended by diseasemapping.
Spatial regression : The spdep package can also be viewed from spatial econometrics, and, as noted above, provides basic functions for building neighbour lists and spatial weights, tests for spatial autocorrelation for areal data like Moran's I, and functions for fitting spatial regression models. It provides the full range of local indicators of spatial association, such as local Moran's I and diagnostic tools for fitted linear models, including Lagrange Multiplier tests. Spatial regression models that can be fitted using maximum likelihood include spatial lag models, spatial error models, and spatial Durbin models. For larger data sets, sparse matrix techniques can be used for maximum likelihood fits, while spatial two stage least squares and generalised method of moments estimators are an alternative.
Ecological analysis : There are many packages for analysing ecological and environmental data. They include grasp for environmental prediction using GAM, ade4 for exploratory and Euclidean methods in the environmental sciences, adehabitat for the analysis of habitat selection by animals, pastecs for the regulation, decomposition and analysis of space-time series, vegan for ordination methods and other useful functions for community and vegetation ecologists, and many other functions in other contributed packages. One such is tripEstimation, basing on the classes provided by trip. ncf has entered CRAN recently, and provides a range of spatial nonparametric covariance functions. ModelMap builds on other packages to create models using underlying GIS data. An off-CRAN package - Rcitrus - is for the spatial analysis of plant disease incidence. clustTool is a GUI for clustering data with spatial information. The tossm offers tools for detecting and managing genetic spatial structure in populations. The Environmetrics Task View contains a much more complete survey of relevant functions and packages.
Didn't find what you are looking for? We've been online since 1996 and have created 1000's of pages. Search below and you may find just what you are looking for.
MapCruzin.com is an independent firm
specializing in the publication of
educational and research resources.
We created the first U.S. based
interactive toxic chemical facility
maps on the internet in 1996 and we
have been online ever since. Learn more about us and view some of our projects and services.