laptop and a wrench

Error

A query layer published as a referenced map service results in inconsistent pop-up counts in Portal for ArcGIS Map Viewer.

Portal for ArcGIS
Número de ID del error BUG-000160511
EnviadoAugust 9, 2023
Última modificaciónDecember 1, 2025
Relacionado conPortal for ArcGIS
Versión encontrada10.8.1
Sistema operativoWindows Server
Versión de sistema operativoN/A
EstadoNon-Reproducible

Información adicional

The SQL produces some geometries that are not oriented correctly. Use one of the following two options to resolve the issue. Option 1: Reorient large polygons. SELECT Iif(Shape.STArea() > 510065620000000, Shape.ReorientObject(), Shape) as Shape, OID FROM (SELECT OID ,case when left(workarea,3) = 'Pol' then geography::STPolyFromText(WorkArea,4326).MakeValid() else geography::STGeomFromText(WorkArea,4326).MakeValid().STBuffer(15.24) end as Shape FROM aTable) a Option 2: Use Geometry instead of Geography. SELECT Shape, OID,Shape.STArea() as Area FROM (SELECT OID ,case when left(workarea,3) = 'Pol' then Geometry::STPolyFromText(WorkArea,4326).MakeValid() else Geometry::STGeomFromText(WorkArea,4326).MakeValid().STBuffer(15.24) end as Shape FROM aTable) a

Pasos para reproducir

ID del error: BUG-000160511

Software:

  • Portal for ArcGIS

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