Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have been searching for a few days to find a web service that will provide the State, County, and Place FIPS codes from an address input. Most of the services I've found only provide a State, County, and Census block code.

For example, for the address 4139 S 143rd Cir, Omaha, NE 68137 would return:

State: 31 County: 05 Place: 537000

share|improve this question

1 Answer 1

up vote 2 down vote accepted

It may be a two step process. Geocode the address, get the xy from the geocode result and then send the xy to a county web service with FIPS. You will want to intersect the point.

http://tigerweb.geo.census.gov/ArcGIS/rest/services/State_County/MapServer/1/query?text=&geometry={"x":-122,"y": 41,"spatialReference":{"wkid":4326}}&geometryType=esriGeometryPoint&spatialRel=esriSpatialRelIntersects&returnGeometry=false&outFields=STATE,COUNTY&f=json

Returns:

{"displayFieldName":"BASENAME","fieldAliases":{"STATE":"STATE","COUNTY":"COUNTY"},"fields":[{"name":"STATE","type":"esriFieldTypeString","alias":"STATE","length":2},{"name":"COUNTY","type":"esriFieldTypeString","alias":"COUNTY","length":3}],"features":[{"attributes":{"STATE":"06","COUNTY":"089"}}]}

share|improve this answer
    
I really need the Place code as well. I have found several services that will give me the State and County, but not very few options for getting the Place code. –  Utensil Mar 4 '13 at 22:40
    
What do you mean by places? I'm not an expert on census data, but my understanding is that there are "incorporated places" and "census designated places". Neither cover every address only certain areas -- so you're going to have addresses without places. Census tracts, block groups and blocks do cover everything. Browse this tigerweb.geo.census.gov/ArcGIS/rest/services/… –  awesomo Mar 4 '13 at 22:56
    
Here is a link describing the Place code that I need. census.gov/geo/www/cob/pl_metadata.html I have seen some sites call a City FIPS code. –  Utensil Mar 4 '13 at 23:01
    
So that document indicates "Census Designated Places", "Consolidated Cities" and "Incorporated Places" are the layers you're looking for. These separate layers are listed in the services in the link above. You may have to query all 3 to find if a point falls into any of them. I doubt that someone has combined them -- but you could get the data and combine and host them yourself. –  awesomo Mar 4 '13 at 23:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.