Geocoding: Converting Lat/Long to Addresses (Part 3)

by Jun 25, 2019

Today, we’d like to do the opposite and translate latitude and longitude into an address:

'52.37799,9.75195' |
  ForEach-Object -Begin {$url='https://geocode.xyz'
    $null = Invoke-RestMethod $url -S session
  } -Process {
    $coord = $_
    Invoke-RestMethod "$url/${address}?geoit=json" -W $session
  }

Twitter This Tip! ReTweet this Tip!