Methods

Method detail for: getGeoNameByRadius

This request requires you to submit a latitude and longitude coordinate pair, field list, and a radius in miles. The API will spatially determine the number of objects that are wholly or partially within that radius and return a list of names for those objects.

Valid Datasets

DatasetDataset DetailsMethod Parameters
CountiesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Census CBSAsClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics College Campus BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Destination & Venue BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Metro BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Census MCDsClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics City PointsClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Neighborhood Boundaries EuropeClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Neighborhood Boundaries North AmericaClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Neighborhood Centroids North AmericaClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Neighborhood Boundaries Rest Of WorldClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Neighborhood Boundaries WorldwideClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Census PlacesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics +Residential BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

US StatesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics School Attendance Zone BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics School District BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Subdivision BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Shopping BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

ZIP CodesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Sample Request and Return Data

<?xml version="1.0" encoding="UTF-8" ?> <data> <auth> <loginname>your_username</loginname> <key>your_api_key</key> </auth> <request> <dataset>C</dataset> <method>getGeoAttByRadius</method> <parameters> <lat>40.713734</lat> <lon>-74.011683</lon> <radius>10</radius> </parameters> </request> </data>
{ "data":{ "auth":{ "loginname":"your_username", "key":"your_api_key" } }, "request":[ { "dataset":"C", "method":"getGeoNameByRadius", "returnType":"json", "parameters":{ "lat":"40.713734", "lon":"-74.011683", "radius":"10" } } ] }
<?xml version="1.0" encoding="UTF-8" ?> <data> <resultcode>0</resultcode> <message>Return OK</message> <requestid>01-11334251</requestid> <request> <item> <name>Hudson</name> </item> <item> <name>New York</name> </item> <item> <name>Kings</name> </item> </request> </data>
[ { "resultcode":0, "message":"Return OK", "requestid":"01-11334255", "request":[ [ { "name":"Hudson" }, { "name":"New York" }, { "name":"Kings" } ] ] } ]