laptop and a wrench

Bug

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

Portal for ArcGIS
Bug-ID-Nummer BUG-000160511
EingereichtAugust 9, 2023
Zuletzt geändertDecember 1, 2025
Gilt fürPortal for ArcGIS
Gefunden in Version10.8.1
BetriebssystemWindows Server
BetriebssystemversionN/A
StatusNon-Reproducible

Zusätzliche Informationen

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

Schritte zur Reproduzierung

Bug-ID: BUG-000160511

Software:

  • Portal for ArcGIS

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln