laptop and a wrench

Erro

In ArcGIS Pro, coordinate pairs of a polygon geometry generated from an Arcade expression are not passed into the pop-up when the mobile map package file (.mmpk) is launched in ArcGIS Field Maps.

Última Publicação: June 7, 2022 ArcGIS Pro
Número de ID do Erro BUG-000148802
EnviadoApril 27, 2022
Última ModificaçãoDecember 9, 2025
Aplica-se àArcGIS Pro
Versão encontrada2.9
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusIn Review

Solução Provisória

In ArcGIS Pro 3.5, this can be worked around by using an Arcade pop-up element with the following expression:

function MetersToLatLon(x, y) { // Converts XY point from Spherical Mercator EPSG:900913 to latitude/longitude in WGS84 Datum // Source: http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/ var originShift = 2.0 * PI * 6378137.0 / 2.0; var lon = (x / originShift) * 180.0; var lat = (y / originShift) * 180.0; lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0); return Concatenate(TEXT(lat)," ", TEXT(lon)); } var geom = Geometry($feature); var firstpart = geom.rings[0]; var outparts = []; var counter = 0; for (var pt in firstpart){ var ptstr = MetersToLatLon(firstpart[pt].x,firstpart[pt].y); outparts[counter]= ptstr; counter = counter + 1; } return { type : 'text', text : 'Survey Link' // this property supports html tags } the return section is html (this dialog is not allowing me to type in the html, but it is the survey link in an html tagged a href="arcgis-survey123:///?itemID=0c2cfb42256d47838fa4b9fde4d85516&field:geosh1= + Concatenate(outparts, ";")+">Survey Link

Etapas para Reproduzir

ID do Erro: BUG-000148802

Software:

  • ArcGIS Pro

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