geocodePL_get function

Convert addresses and objects to geographic coordinates

Convert addresses and objects to geographic coordinates

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())

Returns

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

Examples

## 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)
  • Maintainer: Krzysztof Dyba
  • License: MIT + file LICENSE
  • Last published: 2025-03-04