Select to view content in your preferred language

Help me understand caches and refresh options

4331
17
10-19-2010 04:06 PM
PeterLindstrom
Deactivated User
I've been bringing my data into ArcGIS Explorer via layer files. In each layer's properties under Source Data, I've set the Refresh Options to "when the map is opened or the layer is added," thinking that refresh frequency would be about right for my data (Source Data help page). However, after making changes to my data from ArcGIS Desktop (with ArcGIS Explorer closed), I have to actually go into Manage Layers and clear the cache (as explained in this thread) for the updated layer before the changes will appear in ArcGIS Explorer. The refresh options make it sound like it will refresh every time I open the map, but this doesn't seem to be happening. I can't tell if it's a bug or if I'm misunderstanding how this is intended to work.

Regardless, it's going to be difficult to get people here to use ArcGIS Explorer if they're constantly having to go in and refresh the map cache.
0 Kudos
17 Replies
BrianLeroux
Frequent Contributor
Instead of a button, you could implement it as an Extension.

http://help.arcgis.com/en/arcgisexplorer/1500/sdk/conceptualhelp/index.html#/Walkthrough_Creating_a_...


I tossed that idea around but for my purposes I preferred a button. I didn't need all layers to refresh but just ones I was actively using. Some layers are also static so keeping them cached seems to allow evertything to open a little faster. I also have issues with some layer symbology disapearing  when navigating around the map. My clear cache button allows me to quickly refresh the layer.
0 Kudos
DavidCarpenter
Frequent Contributor
I appreciate the feedback.  Testing this further this morning we have found that connecting directly to the Feature Class in SDE and then building the queries we need in AGX off of that layer we can refresh the results successfully.  While not as fast as using the map service it gives us what we need, that being an up to date picture of edits coming in from the field.

With that said I will give this a try as well.  Thanks again for the quick responses.
0 Kudos
MarieEsten
Deactivated User
Thank you for this thread, its helped me deal (atleast temporarily) with issues I've been having with connections to WMS.  They worked just fine and then they didn't.  It appeared that when I changed the cache location (was afraid to delete it) that the situation has been resolved, for now.

I may have missed something, but when did you say the new version of ArcExplorer will be available?  I've been using ArcExplorer desktop as part of GIS training exercises and am giving a training on this tomorrow.  Would really like to know when this issue will be resolved.

Thanks
Marie
0 Kudos
KrisMcKee
Emerging Contributor
Hi,

Following on from Andriy Ivanov's email which says the issue is a bug and is fixed in later release and was wondering if you could provide me with the bug link & what version the issue is fixed in?

Cheers,

Chris
0 Kudos
AndreiIvanov
Deactivated User
Hi,

Following on from Andriy Ivanov's email which says the issue is a bug and is fixed in later release and was wondering if you could provide me with the bug link & what version the issue is fixed in?

Cheers,

Chris


This is fixed for 1700. 1700 is not released yet, but stay tuned.
0 Kudos
PeterLindstrom
Deactivated User
Good to hear this will be fixed - looking forward to build 1700! Thanks for keeping us posted on this thread.
0 Kudos
SteveVidal
Emerging Contributor
This is fixed for 1700. 1700 is not released yet, but stay tuned.


I've got 1700 and even 1750 and as far as I can tell, Refresh on a Query does NOT hit the database!!!

My scenario is as follows (ArcGis Server 10 + ArcGis Explorer 1750):
----------------------------------------------------------------
1. Create the simplest feature class = SimplePoint (OBJECTID, Name)
2. Append 10 points to SimplePoint
3. Create an mxd pointing to SimplePoint feature class and publish service = SimplePointService
4. Open ArcGis Explorer and add content/services -> choose SimplePointService
5. Select SimplePointService -> so far so good, I can see my ten point in ArcGIS Explorer

6. create a query based on SimplePoint with definition "OBJECTID > 0" = SimplePointQuery
7. run SimplePointQuery -> All good, I can see 10 points

8. now delete one feature from SimplePoint

9. Select SimplePointService and hit refresh -> I now see 9 points
10. Select SimplePointQuery and hit refresh -> I still see 10 points!!!

11. create a new version of SimplePointQuery -> I now see 9 points...

So basically, in my scenario, once a query is created, even clearing the arcgis explorer cache does not force a database requery! What confuses me is that I tried to clear the arcgis cache and even did an iis reset but every time I restart ArcGIS Explorer, the cache for the queries get "recreated" and the deleted feature still show in the map... as I said, very confusing.

Obviously, unless I'm dreaming this behaviour is rendering queries pretty much useless, so I'd love to hear from someone (Esri?) about it.
0 Kudos
SteveVidal
Emerging Contributor
Any chance of an update about this bug from Esri? Our users are abandoning ArcGIS Explorer because saved queries give wrong results...
0 Kudos