Skip to contents

Get Urls

Usage

get_urls(..., key. = NULL)

Arguments

...

further arguments passed to resolve

key.

optional. Name of element to be returned from the URL dictionary. If NULL (the default), the whole dictionary (a list) is returned.

Value

return base and wfs urls of FIS-Broker

Examples

# List of all defined (partial) URls
get_urls()
#> $scheme
#> [1] "https"
#> 
#> $hostname
#> [1] "fbinter.stadt-berlin.de"
#> 
#> $base
#> [1] "https://fbinter.stadt-berlin.de"
#> 
#> $path__gisbroker
#> [1] "fb/gisbroker.do"
#> 
#> $path__atom_feed
#> [1] "fb/feed/senstadt"
#> 
#> $path__wfs
#> [1] "fb/wfs"
#> 
#> $path__wfs_data
#> [1] "fb/wfs/data/senstadt"
#> 
#> $path__wfs_geometry
#> [1] "fb/wfs/geometry/senstadt"
#> 
#> $path__wms
#> [1] "fb/wms"
#> 
#> $path__wms_data
#> [1] "fb/wms/wms/data/senstadt"
#> 
#> $path__intern
#> [1] "fb/berlin/service_intern.jsp"
#> 
#> $query__result
#> [1] "cmd=navigationShowResult&mid=<id>"
#> 
#> $query__service
#> [1] "cmd=navigationShowService&type=<type>&id=<id>"
#> 
#> $query__intern
#> [1] "id=<id>@senstadt&type=<type>"
#> 
#> $params
#> [1] "jsessionid=<sid>"
#> 
#> $href_atom
#> [1] "https://fbinter.stadt-berlin.de/fb/feed/senstadt/<id>?<query__atom>"
#> 
#> $href_wfs_base
#> [1] "https://fbinter.stadt-berlin.de/fb/wfs"
#> 
#> $href_wfs_data
#> [1] "https://fbinter.stadt-berlin.de/fb/wfs/data/senstadt/<id>?<query__wfs>"
#> 
#> $href_wfs_geometry
#> [1] "https://fbinter.stadt-berlin.de/fb/wfs/geometry/senstadt/<id>?<query__wfs>"
#> 
#> $href_wfs_url
#> [1] "<url>?<query__wfs>"
#> 
#> $href_wws_base
#> [1] "https://fbinter.stadt-berlin.de/fb/wms"
#> 
#> $href_wms_data
#> [1] "https://fbinter.stadt-berlin.de/fb/wms/wms/data/senstadt/<id>?<query__wms>"
#> 
#> $href_meta
#> [1] "https://fbinter.stadt-berlin.de/fb/berlin/service_intern.jsp?id=<id>@senstadt&type=<type>"
#> 
#> $href_gisbroker
#> [1] "https://fbinter.stadt-berlin.de/fb/gisbroker.do"
#> 
#> $href_name
#> [1] "https://fbinter.stadt-berlin.de/fb/gisbroker.do;jsessionid=<sid>?cmd=navigationShowResult&mid=<id>"
#> 
#> $href_type
#> [1] "https://fbinter.stadt-berlin.de/fb/gisbroker.do;jsessionid=<sid>?cmd=navigationShowService&type=<type>&id=<id>"
#> 

# One specific URL with placeholders replaced as given
get_urls(
  key. = "href_type", sid = "my-session-id", type = "WFS", id = "my-id"
)
#> [1] "https://fbinter.stadt-berlin.de/fb/gisbroker.do;jsessionid=my-session-id?cmd=navigationShowService&type=WFS&id=my-id"