SilverBiology Labs


< Back to Lab Projects

County Lookup via Google Maps

Last Modified: April 4th, 2012

Status: Beta

 

This tool is used to look up State & County Information for United States geospatial data.

This service works with Google Maps geocoding service to identify the county by sending it a latitude and longitude.

The google service used is http://maps.googleapis.com/maps/api/geocode.

 

Directions: To find the related county you can A) manually type in a coordinate or B) use the interactive map to zoom in and left click on a location.

You can continue to click new locations on the map by clicking a new spot on the map and the old one will be removed.

 

Decimal Longitude

Response

 

 

 

 

 

 

 

 

 

 

This section is for developers that wish to clean data in bulk.

 

How to call the web service:

 

http://labs.silverbiology.com/countylookup/lookup.php

 

Arguments:

cmd=findCounty
DecimalLatitude (Decimal)
DecimalLongitude (Decimal)
callback (String) (Optional)
id (string) (Optional) - If you would like to send an id it will be returned in the json string on the response.


Example 1

http://labs.silverbiology.com/countylookup/lookup.php?cmd=findCounty&DecimalLatitude=30&DecimalLongitude=-90

 

Example 2 with Callback

http://labs.silverbiology.com/countylookup/lookup.php?cmd=findCounty&DecimalLatitude=30&DecimalLongitude=-90&callback=myCallback

 

Source Code for the Web Service can be found here.

 

Source Code for a simple script to process a csv file with the web service.


If you would like to contact us about this please use the contact page found here.