Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

loop1/geocoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geocoder

This CLI uses the Geocoding API to obtain the latitude and longitude coordinates of a given location.

Usage

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"

Create-Points

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors