laptop and a wrench

Error

Adding a layer with 175,000 records to ArcGIS Pro SDK using LayerFactory.Instance.CreateLayer causes the layer to draw slowly despite applying a definition query to reduce the number of features to display.

Última publicación: June 11, 2019 ArcGIS Pro
Número de ID del error BUG-000122522
EnviadoMay 21, 2019
Última modificaciónMay 16, 2025
Relacionado conArcGIS Pro
Versión encontrada2.3.2
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoNon-Reproducible

Información adicional

This issue is no longer reproducible. It is recommended to set a definition query during layer creation with LayerCreationParams instead of creating a layer first and then applying a definition query. Refer to: https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic26422.html Sample code: string webServiceLayerURL = "https://services.arcgis.com/.../FeatureServer/0"; var lyrCrtParam = new FeatureLayerCreationParams(new Uri(webServiceLayerURL)) { DefinitionQuery = new DefinitionQuery("query1", "oa01cdold LIKE '47%'") }; var lyr = LayerFactory.Instance.CreateLayer(lyrCrtParam, MapView.Active.Map);

Pasos para reproducir

ID del error: BUG-000122522

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga