Learn R Programming

helsinki (version 1.0.6)

get_feature: Produce an SF object

Description

Produces an sf object for easy visualization

Usage

get_feature(
  base.url = "https://kartta.hsy.fi/geoserver/wfs",
  typename = "asuminen_ja_maankaytto:Vaestotietoruudukko_2015",
  CRS = 3879
)

Value

sf object

Arguments

base.url

WFS url, for example "https://kartta.hsy.fi/geoserver/wfs"

typename

accepts feature names, e.g. "asuminen_ja_maankaytto:1000m_verkostobufferi" No short form titles here, e.g. "1000m_verkostobufferi"!

CRS

Default CRS is 3879 (or EPSG:3879), see ?sf::st_crs for other input options

Author

Pyry Kantanen pyry.kantanen@gmail.com

See Also

Use get_feature_list to list all available features for a given WFS, select_feature for listing and selecting a feature