CalculateGeoDistance
Compute the distance between two sets of coordinates, in miles.
python · Impossible Traveler
Details
| ID | CalculateGeoDistance |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/py3-tools:1.0.0.114656 |
| Tags | Utilities |
README
Compute the distance between two sets of coordinates, in miles.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | Utilities |
| Cortex XSOAR Version | 5.0.0 |
Used In
This script is used in the following playbooks and scripts.
- Impossible Traveler
Inputs
| Argument Name | Description |
|---|---|
| src_coords | Latitude and Longitude coordinates for the first location. Required format 1.23,4.56 |
| dest_coords | Latitude and Longitude coordinates for the second location. Required format 1.23,4.56 |
Outputs
| Path | Description | Type |
|---|---|---|
| Geo.Distance | Distance between two sets of coordinates, in miles. | Unknown |
| Geo.Coordinates | List of coordinates used in the calculation. | Unknown |
commonfields: id: CalculateGeoDistance version: -1 name: CalculateGeoDistance type: python subtype: python3 script: '-' tags: - Utilities comment: Compute the distance between two sets of coordinates, in miles. enabled: true args: - name: src_coords required: true description: Latitude and Longitude coordinates for the first location. Required format 1.23,4.56 - name: dest_coords required: true description: Latitude and Longitude coordinates for the second location. Required format 1.23,4.56 outputs: - contextPath: Geo.Distance description: Distance between two sets of coordinates, in miles. - contextPath: Geo.Coordinates description: List of coordinates used in the calculation. scripttarget: 0 dockerimage: demisto/py3-tools:1.0.0.114656 runas: DBotWeakRole tests: - Impossible Traveler - Test fromversion: 5.0.0