laptop and a wrench

Bogue

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.

Dernière publication: June 7, 2022 ArcGIS Pro
Numéro d’ID de bogue BUG-000148802
EnvoiApril 27, 2022
Dernière modificationDecember 9, 2025
S’applique àArcGIS Pro
Version trouvée2.9
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutIn Review

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000148802

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement