Hi Matthew Moy The same functionality does not currently exist in ArcGIS Pro. Teams looked at this and wanted to offer the following workaround for now:
Configure popups on a layer with expressions to show area, length, parts, and/or vertex counts as needed.
Examples for Area and Length (with some formatting):
- Text(Area($feature,"ACRE"),"#,##0.00") + " acres"
- Text(Length($feature,"FOOT"),"#,##0.0") + " ft"
For parts:
var allParts = MultiPartToSinglePart($feature);
return Count(allParts);
For vertex count (multipatch is not supported in Arcade, so that will return 0. All other geometry types work):
var geom = Geometry($feature);
if (IsEmpty(geom)) {
return 0;
}
var geomType = TypeOf(geom);
if (geomType == "Point") {
return 1
}
if (geomType == "Polygon") {
var vertextCount = 0;
var partCount = count(geom.rings);
for (var i = 0; i < partCount; i++) {
vertextCount = vertextCount + count(geom.rings[i]);
}
return vertextCount
}
if (geomType == "Polyline") {
var vertextCount = 0;
var partCount = count(geom.paths);
for (var i = 0; i < partCount; i++) {
vertextCount = vertextCount + count(geom.paths[i]);
}
return vertextCount
}
if (geomType == "Multipoint") {
return count(geom.points);
}
else {
return "Unknown Geometry";
}
We realize that this is not ideal but wanted to offer at least the possibility of getting it set up for you to work in Pro now. The development team is looking at ways to bring geometry reporter functionality into a future Pro release.
Hope this helps!