select_feature: Interactively browse and select features

View source: R/get_feature_list.R

select_featureR Documentation

Interactively browse and select features

Description

Use an interactive menu to select and download a feature for use in other functions

Usage

select_feature(base.url = NULL, get = FALSE)

Arguments

base.url

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

get

Should the selected feature be downloaded? Default is FALSE

Value

feature Title (character) or feature object (sf), if get parameter is TRUE

Author(s)

Pyry Kantanen pyry.kantanen@gmail.com

See Also

get_feature, get_feature_list

Examples

## Not run: 
selection <- select_feature(base.url = "https://kartta.hsy.fi/geoserver/wfs")
feature <- get_feature(base.url = "https://kartta.hsy.fi/geoserver/wfs", type_name = selected)
ggplot(feature) +
  geom_sf()

## End(Not run)


helsinki documentation built on Dec. 2, 2022, 5:09 p.m.