Extracts population coordinates from a RAMAS Metapop .mp file, and converts them back to the coordinate system of the original habitat suitability grids (i.e. the grids supplied to the RAMAS patch-identification module, patch.exe or, in more recent versions of RAMAS GIS, SpatialData.exe).
A character string containing the path to a RAMAS Metapop .mp file.
Either a character string containing the path to any of the raster
files that were used by RAMAS Spatial Data for patch identification, or a
Numeric. The cell length of the grid, as specified in RAMAS Spatial Data (note: this may be different to the native resolution of the grids).
Logical. Should the points be plotted? If
data.frame containing the names of all populations referred
to in the .mp file, as well as their coordinates (in both Metapop and
original coordinate systems). If
TRUE, a plot of the
r, overlaid with points for all populations in the
metapopulation, is also produced.
mptools has been tested with outputs generated by RAMAS Metapop
version 5, and may produce unexpected results for other versions. A warning
is issued if the user attempts to access files originating from other
versions of RAMAS Metapop. It is advised to verify that the returned
coordinates are sensible by referring to the plot that is returned by this
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.