r.wiesneresri-de-esridist

IdentifyTask very slow

Discussion created by r.wiesneresri-de-esridist Employee on May 10, 2013
Latest reply on May 21, 2013 by mtims-esristaff
Hi,

i test the IdentifyTask on ArcGISLocalDynamicMapServiceLayer with different Polygons. The executing time is depend on complexity of polygon. Simple Polygon (such as Rectangle) is very fast (30 ms), on a more complex Feature the executing time is 5000 ms and on Freehand-Polygon is the executing time very slow (10000 ms).

Environment:
Windows 7 64 bit
QT-Application: 64 bit
IdentifyParameters
EsriRuntimeQt::IdentifyParameters params;
params.setGeometry(mapPoint);
params.setMapExtent(m_pMap->extent());
params.setSpatialReference(m_pMap->spatialReference());
params.setMapHeight(m_pMap->height());
params.setMapWidth(m_pMap->width());
params.setLayerMode(EsriRuntimeQt::IdentifyParameters::VISIBLE_LAYERS);
int dpyX = QApplication::desktop()->physicalDpiX();
Q_UNUSED(dpyX)
int dpyY = QApplication::desktop()->physicalDpiY();
params.setDPI(dpyY);
params.setReturnGeometry(false);

              _task = EsriRuntimeQt::IdentifyTask(localDynMapSrvLayer.url());
              _task.executeAsync(params);

The ArcGISLocalDynamicMapServiceLayer has one Layer(feature class in a file geodatabase) with 10 Features.
I try also _task.execute(params) with same result.

Thanks in advance

Attachments

Outcomes