geocodePL_get: Convert addresses and objects to geographic coordinates

Description Usage Arguments Value Examples

View source: R/geocodePL_get.R

Description

Convert addresses and objects to geographic coordinates

Usage

1
2
3
4
5
6
geocodePL_get(
  address = NULL,
  road = NULL,
  rail_crossing = NULL,
  geoname = NULL
)

Arguments

address

place with or without street and house number

road

road number with or without mileage

rail_crossing

rail crossing identifier (11 characters including 2 spaces, format: "XXX XXX XXX")

geoname

name of the geographical object from State Register of Geographical Names (function geonames_download())

Value

a sf data.frame (EPSG: 2180) with metadata

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
geocodePL_get(address = "Marki") # place
geocodePL_get(address = "Marki, Andersa") # place and street
geocodePL_get(address = "Marki, Andersa 1") # place, street and house number
geocodePL_get(address = "Królewskie Brzeziny 13") # place and house number

geocodePL_get(road = "632") # road number
geocodePL_get(road = "632 55") # road number and mileage

geocodePL_get(rail_crossing = "001 018 478")

geocodePL_get(geoname = "Las Mierzei") # physiographic object

## End(Not run)

rgugik documentation built on May 5, 2021, 1:07 a.m.