Select to view content in your preferred language

ArcGIS Javascript API and Census 2010

1030
5
Jump to solution
03-04-2013 07:00 AM
MohamadMalouhi
Emerging Contributor
I am using ArcGIS javascript API to build a service to lookup Census data for a specific location (Longitude and latitude) and I am using the following ArcGIS data service to query for Census data:

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/1

But this service presents various population statistics from Census 2000, and I want to do the same for Census 2010, I know that I may need a license to get access to the 2010 data, but I am not sure if this is possible without building a data service in my side.

How can I get access to the 2010 data service to query for the same Census data provided by the above link?

Thank you
0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable
I believe the ID field is the FIPS.  For instance, try this:

http://server.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Median_Age/MapServer/4/query

Enter a query where ID = '06' and the returned result is California.

If I then go to:

http://server.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Median_Age/MapServer/3/query

Enter a query where ID = '06071' and the returned result is San Bernardino County.

View solution in original post

0 Kudos
5 Replies
by Anonymous User
Not applicable
0 Kudos
MohamadMalouhi
Emerging Contributor
Thank you for replying Chris, I am aware of this list of demographic services for the 2010 Census data, but these data services do not provide the "Query" operation that is used by my developed script and also does not provide the same level of details. My understanding is that can not retrieve Census data as JavaScript object if the service does not support the "Query" operation; so I can use these services to render a colored map for a particular Census attribute, but not to Query the Census data and get the result as an object
0 Kudos
MohamadMalouhi
Emerging Contributor
Sorry Chris, I was wrong to assume that you cannot query the 2010 services, but still I cannot use these services for two reasons:

1-It does not provide the same level of details, for example it does not provide the following attributes STATE FIPS,COUNTY FIPS,TRACT,BLOCK GROUP,FIPS

2-Each one of those services provide only one type of attributes age, income, population, etc.., while the 2000 Census data service provides all these attributes (including FIPS information) by using only one Query.

Any help would be greatly appreciated

Thank you
0 Kudos
by Anonymous User
Not applicable
I believe the ID field is the FIPS.  For instance, try this:

http://server.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Median_Age/MapServer/4/query

Enter a query where ID = '06' and the returned result is California.

If I then go to:

http://server.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Median_Age/MapServer/3/query

Enter a query where ID = '06071' and the returned result is San Bernardino County.
0 Kudos
MohamadMalouhi
Emerging Contributor
Thank you very much Chris, this is what I am looking for, the only thing left is that I have to query more than one time to retrieve multiple Census data attributes, but this is okay.
0 Kudos