This CLI uses the Geocoding API to obtain the latitude and longitude coordinates of a given location.
Note: You must obtain an API key in order to use the Geocoding API.
Replace thisIsMyAPIKEY in geocode.ps1 line 5 with your actual API key.
Input is provided as a CSV containing the location information. The locations.csv file provides sample input data. Output is presented as a CSV containing the latitude and longitude coordinates.
Use the -inputFile flag to provide the input file.
.\geocode.ps1 -inputFile "locations.csv"The create-points scripts uses the Geocoding API to automate the creation of WorldMap points in the Orion Web Console. It uses the City node custom property to obtain the latitude and longitude coordinates for the node's location. An Orion.WorldMap.Point object is then created from these coordinates via the Orion API.
Use the following command to run the script.
.\create-points.ps1