| Required Information | |
|---|---|
| Name | Description |
| action | editposition |
| operation | edit |
| target | The name of the location of interest* to modify. |
| format | xml |
| name | The name to give the location of interest. |
| Optional Information | |
| logvers | Acceptable values:
|
| reqtype | Acceptable values:
logvers=2Note: reqtype is required when logvers=2
|
| 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) format as described here |
Returned information:
A success or error message.
Example Request:
http://development.zonarsystems.net/interface.php?action=editposition&operation=edit&target=MyLocation&format=xml&name=POE3134&category=Schools&lat=47.0034&long=-120.3478&radius=300&
Example Success Reply,
Example Error Reply
*LOI means Location of Interest; called "Zone" in GPS tools and reports in Ground Traffic Control web application.