Request Data
Required Information | |
---|---|
Name | Description |
action | editposition |
operation | edit |
target | The name of the location of interest (LOI1) to modify. |
format | xml |
name | The name to give the location of interest. |
Optional Information | |
logvers | Acceptable values:
Note: If no value is passed for logvers, 1 is assumed. |
reqtype | Acceptable values:
Note: reqtype is only used when Note: reqtype is required when |
category | The name of a category to assign this location of interest to. If not specified, no category will be used. |
The actual points of a location must be specified. There are two options: Specify lat, long, and radius to create a circle around a point; or specify geometry to describe all vertices precisely. | |
lat | Latitude of the center point. |
long | Longitude of the center point. |
radius | The radius (in feet) to encircle the point by. The point is defined by the 'lat' and 'long parameters. |
geometry | Geometry specified in EWKT (Extended Well-Known Text) |
1 LOI means Location of Interest; called "Zone" in the GPS tools and reports found within the Ground Traffic Control web application.
Data Returned
Returned information
A success or error message.
Example Request
https://omi.zonarsystems.net/interface.php?customer=zzo2544&username=zonar&password=secret.pw.2019&action=editposition
&operation=edit&target=MyLocation&format=xml&name=POE3134&category=Schools
&lat=47.0034&long=-120.3478&radius=300&
Example Success Reply
<success ver="1">
<action>editposition</action>
</success>
Example Error Reply
<error ver="1.0">
<action>editposition</action>
<code>107</code>
</error>