Performance Analysis Issues

2499
10
Jump to solution
09-12-2013 04:49 PM
JakeMatthys
Occasional Contributor II
I am trying to run a Summarize Within analysis in a web map and am unable produce a result.  I am running the analysis on Polygon feature Map Service summarizing a point feature Map Service.  Both services are running from an enterprise ArcGIS Server hosted on a machine within my organizations network.  When I run the analysis I get an error like the following "undefinedSummarizeWithin failed.".  The analysis will produce an empty feature layer output in my ArcGIS online folder.  I believe that I have the analysis tool set up correctly.  I think the issue is with my inputs.
Will Perform Analysis tools work on Map Services?  (the option is available to perform analysis on map service layers, so hopefuly it would work and not require a feature service)

Will Perform Analysis work on map services that are not hosted from the cloud?  Mine is hosted onsite.

Thanks for the input.
- Jake
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
KevinHibma
Esri Regular Contributor
You'll want to read the first paragraph here and the section on Input URLs here.
Because your services are either not fully qualified, or just not exposed to the "internet", it sounds like the features inside your services cannot be sent over to the arcgis.com analytic servers for the data to be crunched. I guess think about it this way, if you go home and try to consume the services and can't get to them, thats the same situation as the servers which do the processing.

View solution in original post

0 Kudos
10 Replies
KevinHibma
Esri Regular Contributor
Jake,

Is your map service externally available and fully qualified? like: http://mygisserver.mycompany.com/arcgis/rest/myservice
The analysis services will work on regular ArcGIS Server map services.
For example, you could use this map service as input: http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer
0 Kudos
JakeMatthys
Occasional Contributor II
Thanks for the reply Kevin.
I was able to produce results and summary tables (using summarize within function) with the Census map service in the url that you provided. 
However I am still unable to get results from my service.  My service is not externally available, it is located on an ArcGIS server that is behind a corporate firewall and only available on ArcGIS online to specified groups within our trial Enterprise Arcgis Online Portal acct. 
So am I understanding this correctly that I will only be able to utilize the Perform Analysis functionality within a web map if the service is externally available?  Why is this? 
- Jake
0 Kudos
KevinHibma
Esri Regular Contributor
You'll want to read the first paragraph here and the section on Input URLs here.
Because your services are either not fully qualified, or just not exposed to the "internet", it sounds like the features inside your services cannot be sent over to the arcgis.com analytic servers for the data to be crunched. I guess think about it this way, if you go home and try to consume the services and can't get to them, thats the same situation as the servers which do the processing.
0 Kudos
JakeMatthys
Occasional Contributor II
Hi Kevin,
I think I get it.
When I create a map on ArcGIS Online (AGO) using a service that is behind my corporate firewall, AGO doesn't serve out the data.  AGO is simply providing a pointer so that when a user (behind the firewall) requests the map, they get a pointer that refers to our behind the firewall ArcGIS Server which serves up layers, since the requesting machine and server are both behind the firewall, the user can see the map, AGO provided the pointer so that the machine could request the correct services.  Now when that users attempts to perform analysis, the AGO analytic servers try to access our behind the firewall ArcGIS server to perform analysis on the data, but are unable to gain access and therefore, unable to return a result.
So my next question is...
I can use the ArcGIS REST API to provide the statistics that I need (group by counts) for my customer, essentially re-creating some of the 'Perform Analysis' tools behind my firewall, but how do I deliver these to the web map?  I do not think that a web map allows the user access to a custom geo-processing tool?  Will I need to convert my web map into a web app?  Will adding Geo-Processing tools to web maps be possible in future releases, kinda like the printing upgrade that is available at ArcGIS Server 10.2??
Again, thanks for the help Kevin.
- Jake
0 Kudos
KevinHibma
Esri Regular Contributor
In response to your first paragraph: Exactly! 🙂

Yeah, I'd guess at this point you need to get into a custom web app (javascript, silverlight, etc).
There aren't any plans in the near future (to my knowledge) to bring GP Services into a WebMap.
Since a GP Service can have any number of inputs or outputs, doing so requires the process to be pretty flexible. That is code to scan and examine the GP Service, then write the proper code to consume it in a WebMap. I know for example, we have the Sivelight builder which constructs web apps: it does exactly this for a GP Service. When building, it has code to examine a service and construct the behind the scenes code to add a gp interface into the application. To go back to your question about GP + WebMaps: it's a good thought, I'll drop a note to the particular team, but like I said, to my knowledge it's not on the radar so it's hard to say if/when we'd do it.
0 Kudos
JoeFlannery
Occasional Contributor III
Kevin:

We have an ArcGIS Online subscription in which I have a map with a points shapefile in the table-of-contents.  When outside of our corporate firewall, from the Perform Analysis tools I run a buffer analysis on the points and the results appear in the TOC just fine.  When inside our corporate firewall, I run a buffer analysis on the points and the results do not appear in the TOC �?? I get an Error Message (see attached).  Esri Tech Support suggested we add these URLs to our firewall exception list, but the issue persists. 

http://*.arcgis.com
https://*.arcgis.com
http://*.esri.com
https://*.esri.com
http://*.arcgisonline.com
https://*.arcgisonline.com
http://*.cloudfront.net
https://*.cloudfront.net

The issue is definitely on our end, likely the firewall.  Are there any other firewall settings that you know of that may be causing this issue with ArcGIS Online?  We are using a WatchGuard XTM525 firewall.

Many thanks for your time,
Joe
0 Kudos
KevinHibma
Esri Regular Contributor
Joe,

Support is probably your best bet. I don't have any information more than what you already know which could help.
I'll share this thread with some other folks here and see if they have any ideas.

thanks
0 Kudos
MikeMinami
Esri Notable Contributor
Yes, the list reflects the the domains you need to add to your trusted sites.

Thanks,

Mike
0 Kudos
JoeFlannery
Occasional Contributor III
Thank you Kevin and Mike. 
I'll continue my work with Esri Tech Support.
0 Kudos