Select to view content in your preferred language

Population Summary

2530
4
10-18-2012 06:13 AM
deleted-user-yA_w_FC9FKe5
Deactivated User
How do I go about creating something like the population summary geoprocessing tool?  I'm not new to ArcGIS but I don't use the toolbox or the model builder much at all.  I woudl like to create a geoprocessing tool that just sums up a bunch of values inside the table.  It would be nice if the widget were generic so that I could do the following by just putting the right data into the .xml file.

1.) Service layer path needed from arcgis server.
2.) The fields to post to the datatable.
3.) Be able to export or print that data table.

Is their a widget out there already that does this or how do I go about creating what I think would be a simple widget for most but difficult for me.  Can someone at least lead me in the right direction on how to do this?

Thanks in advance for any help. 

Michael
Tags (2)
0 Kudos
4 Replies
deleted-user-yA_w_FC9FKe5
Deactivated User
Can someone lead me in the right direction?

I've seen the following but none of it walks me through how to create my own.  I want to create something like this where the user selects the georaphy and then the process spits out some summary data.  Like population, income etc that is available in my table. 

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#//01m30000003t000000
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Population_World/GPServ...
0 Kudos
RhettZufelt
MVP Notable Contributor
Don't know about a "table", but the chart widget has some of this fuctionality built into it:

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Chart_widget_tags/01m3000000480...

R_
0 Kudos
deleted-user-yA_w_FC9FKe5
Deactivated User
Don't know about a "table", but the chart widget has some of this fuctionality built into it:

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Chart_widget_tags/01m3000000480...

R_


Yeah I saw that and tried to use it but it only sums on one field.  So I have gone to the geoprocessing tool.  I think this is the way to go here.  I've gotten close.  The tool allows me to use the select buttons and then hit the submit button.  However, when I get my return values they are the same as the output table that I used to publish with.

Here were my steps.
I created my own model:

  • input table (Tracts_MarketShare)

  • connected to the summarystatistics tool (I updated things so that my fields would sum)

  • this connected to my ouput table (summarystatsoutput) which is also a parameter. 


I ran the model and got some valid data.

I then went to reults and published the service by right clicking on it.  Share As - Geoprocessing service.

I then created my own geoprocessingWidget xml to point to my new service. 

I have a feeling my mistake was somewhere with the model I created.  Maybe using the parameters?
0 Kudos
deleted-user-yA_w_FC9FKe5
Deactivated User
Can anyone help with this?
0 Kudos