Radius Search Request
The Radius Search service allows a search of a dataset to be made by inputting the latitude/longitude pair or by giving a single-line origin address.
Contents
Parameters
Below are request and response parameters that are unique to a Radius Search. Refer to the Common Parameters page for information on request and response parameters common in all searches.
Request Parameters
| Name | Description |
|---|---|
| origin Location |
This is the origin location of the request. A valid origin can be any kind of single-line address.
In order to use compressed or simple formatted latitude/longitude pairs, refer to the Base Search documentation. |
| radius Double |
Distance from the origin to search. The units for this parameter are set by the "units" parameter which can be found in the Common Parameters documentation.
If sending a request with JSON or XML, this parameter must go into the "options" object of the JSON or XML body.
|
Response Parameters
| Name | Description | JSON Example Return Value(s) | XML Example Return Value(s) |
|---|---|---|---|
| origin Location |
This is the origin of the search radius |
|
|
| radius Double |
Distance from the origin searched. |
radius: 20.0
|
<radius>20.0</radius>
|
Advanced Radius Search Sample
| Options | Value(s) |
|---|---|
| Origin: | |
| Ambiguities: | |
| Radius: | |
| Units: | |
| Max Matches: | |
| Shape Format: | |
| Current Page: | |
| Page Size: | |
| Input Format: | |
| Output Format: | (Demonstration only... will always return JSON) |
| Hosted Data: | |
| Remote Data: |
(Output will be displayed below)