The Texas A&M University Geoservices k-Nearest Neighbor Geographic Features Service identifies the k closest geographic features to an input coordinate.
This service can be used from desktop and/or web applications via the Web Service interfaces listed below.
The only required information is the API key, which is available in your
account profile page.
You may want to read the
technical details.
API Version - 4.01
https://geoservices.tamu.edu/Services/ReverseGeocoding/WebService/v04_01/HTTP/default.aspx
Parameter |
Required |
Description |
Example |
Possible Values |
apiKey |
true |
click here for your API key |
api-key-value |
text string |
version |
true |
the version of the parser to use |
4.01 |
4.01 |
lat |
true |
the latitude of the input coordinate |
34.0726207 |
double |
lon |
true |
the longitude of the input coordinate |
-118.397965 |
double |
k |
true |
the number of serach results to find |
1 |
integer value |
table |
true |
the geographic feature table to search within |
1 |
one value from the following:
-
AQMDs
-
MammographyClinics
-
RadiationFacilities
Want other layers? Let us know.
|
format |
false |
output format |
csv |
csv, tsv, xml, json |
notStore |
false |
indicates if the transaction details should not be historically stored in your account |
true |
true, false |
Position |
Field |
Required |
Description |
Possible Values |
0 |
Transaction Id |
true |
Query Id |
Unique Id
|
1 |
API Version |
true |
Vesion of the API used |
4.01
|
2 |
Query Status Code |
true |
Result code |
See list
|
3 |
Time Taken |
true |
Processing time |
Milliseconds
|
4 |
Error Message |
true |
Any errors that occurred |
Text
|
5 |
k-Nearest Geographic Features |
true |
A bar (|) separated list of values which include the following fields separated by a semi-colon (;): id;latitude;longitude;distance |
Text
|