Description
The distance-azimuth service will calculate the great-circle angular distance, azimuth, and backazimuth between two geographic coordinate pairs. All results are reported in degrees, with azimuth and backazimuth measured clockwise from North.
Below is a full list of service parameters and their usage.
Query Usage
/query?stalat=<DEGREES>&stalon=<DEGREES>&evtlat=<DEGREES>&evtlon=<DEGREES> (..) required parameter [..] optional parameter
Sample Queries
- /irisws/distaz/1/query?stalat=0.0&stalon=0.0&evtlat=15.0&evtlon=0.0
- /irisws/distaz/1/query?stalat=45&stalon=-120&evtlat=30.0&evtlon=-100.0
Detailed Descriptions of each Query Parameter
parameters | examples | description |
---|---|---|
Station Coordinates | ||
stalat | 47.61 | Required The latitude of this station in decimal degrees |
stalon | -122.33 | Required The longitude of this station in decimal degrees |
Event Coordinates | ||
evtlat | 41.14 | Required The latitude of this event in decimal degrees |
evtlon | -74.0 | Required The longitude of this event in decimal degrees |
WADL
Retrieve the WADL associated with this service:
Problems with this service?
Please send an email report of which service you were using, your URL query, and any error feedback to:
[email protected]
We will address your issue as soon as possible.