Learn R Programming

sorvi (version 0.4.05)

PreprocessShapeMML: Preprocessing function for MML data

Description

This script can be used to preprocess shape data obtained from Finnish geographical agency (Maanmittauslaitos, MML) The data copyright is on (C) MML 2011.

Usage

PreprocessShapeMML(sp)

Arguments

sp
Shape object (SpatialPolygonsDataFrame)

Returns:

Value

  • Shape object (from SpatialPolygonsDataFrame class)

Details

The various Finland shape data files obtained from http://www.maanmittauslaitos.fi/aineistot-palvelut/digitaaliset-tuotteet/ilmaiset-aineistot/hankinta have been preprocessed with this function, and the preprocessed versions are included in soRvi package. You can also download shape files and apply this function.

References

See citation("sorvi")

Examples

Run this code
# Not run:
# load(url(paste(sorvi.data.url, "MML.rda", sep = "")));
# sp <- MML[[1]][[1]];
# sp2 <- PreprocessShapeMML(sp)

Run the code above in your browser using DataLab