Convert addresses and objects to geographic coordinates
geocodePL_get(
address = NULL,
road = NULL,
rail_crossing = NULL,
geoname = NULL
)
place with or without street and house number
road number with or without mileage
rail crossing identifier (11 characters including 2 spaces, format: "XXX XXX XXX")
name of the geographical object from State Register
of Geographical Names (function geonames_download()
)
a sf data.frame (EPSG: 2180) with metadata
if (FALSE) {
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
}