remoteinsight

Time Aware ArcGISImageServiceLayer, SDK 10.2

Discussion created by remoteinsight on Feb 19, 2014
Latest reply on Feb 26, 2014 by remoteinsight
I don't see setCurrentTimeExtent(), getTimeInfo() or similar time-aware methods on ArcGISImageServiceLayer in the Android SDK 10.2.  I tried a few things, including treating the ArcGISImageServiceLayer as an ArcGISDynamicMapServiceLayer, with no luck.

Any tips or suggestions for getting imagery for a given time, using the Android SDK?

The REST API seems to support it -- for instance I should be able to look for deltas in the NDVI over time by querying http://imagery.arcgisonline.com/arcgis/rest/services/LandsatGLSChange/NDVI_Difference_2005_2010/ImageServer.

I WANT to be able to do something similar to this:

       public void onStatusChanged(Object source, STATUS status) {
            if (OnStatusChangedListener.STATUS.INITIALIZED == status && source == mMapView) {
                ArcGISDynamicMapServiceLayer layer = (ArcGISDynamicMapServiceLayer) mMapView.getLayer(0);
                MapServiceInfo mapServiceInfo = layer.getMapServiceInfo();
                TimeInfo timeInfo = mapServiceInfo.getTimeInfo();
                if (timeInfo != null) {
                    timeExtent = timeInfo.getTimeExtent();
                    interval = timeInfo.getTimeInterval();
                    units = timeInfo.getTimeIntervalUnits();
                    timeReference = timeInfo.getTimeReference();
                }
            }
          }
    };



Any help appreciated, thanks!

- Tim

Outcomes