Description Usage Arguments Value Author(s) References Examples
View source: R/helsinki_spatial.R
Retrieves spatial data for Helsinki region from Helsinki Real Estate Department (Helsingin kaupungin kiinteistovirasto, HKK) through the HKK website http://ptp.hel.fi/avoindata/.
For licensing information and other details, see http://ptp.hel.fi/avoindata/.
1 2 | get_helsinki_spatial(map.type = NULL, map.specifier = NULL,
data.dir = tempdir(), verbose = TRUE)
|
map.type |
A string. Specify the type of HKK map data to retrieve: 'seutukartta', 'piirijako', 'seudullinen osoiteluettelo', 'helsingin osoiteluettelo', rakennusrekisteri' |
map.specifier |
A string. Specify the specific data to retrieve. Run 'get_helsinki_spatial()' to see available options. |
data.dir |
A string. Specify a temporary folder for storing downloaded data. |
verbose |
logical. Should R report extra information on progress? |
a spatial object (from SpatialPolygonsDataFrame or SpatialPointsDataFrame class)
Juuso Parkkinen, Joona Lehtomaki and Leo Lahti louhos@googlegroups.com
See citation("gisfin")
1 2 | sp.piiri <- get_helsinki_spatial(map.type="piirijako", map.specifier="ALUEJAKO_PERUSPIIRI");
spplot(sp.piiri, zcol="NIMI");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.