laptop and a wrench

Erro

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 do Erro BUG-000160511
EnviadoAugust 9, 2023
Última ModificaçãoDecember 1, 2025
Aplica-se àPortal for ArcGIS
Versão encontrada10.8.1
Sistema OperacionalWindows Server
Versão do Sistema OperacionalN/A
StatusNon-Reproducible

Informações Adicionais

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

Etapas para Reproduzir

ID do Erro: BUG-000160511

Software:

  • Portal for ArcGIS

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download