Error returning attribute with Intersects where Parcel is near border of the intersected feature in Pro v3.1.2

374
0
09-12-2023 08:10 AM
Labels (2)
HungGi
by
New Contributor III

Hi everyone, we're running into an issue with an existing attribute rule that was working in prior version of Pro but now seems to be returning an error in the latest ESRI upgrade we recently went through. The Attribute Rule is populating an attribute from an administrative boundary layer into the new parcel that is being merged using the Parcel Record Workflow tool.

The error message seems to only happen when the parcels are near the border of the intersecting administrative boundary (red polyline identified with z22 & z29 label) layer. Merging is fine when the parcels are away from the border.Original ParcelsOriginal ParcelsEast set of Parcels merged okEast set of Parcels merged okError when trying to merge the West set of ParcelsError when trying to merge the West set of Parcels

Below is the existing attribute rule that is being used.

var ZAreas = FeatureSetByName($datastore, 'GIS.ZArea', ["ZAREA"], true);
var FeatureCount = Count(Intersects(ZAreas, Geometry($feature)));
if (FeatureCount > 0) {
  var OverlapZArea = Upper(DomainName(First(Intersects(ZAreas, Geometry($feature))), 'ZAREA'));
  return OverlapZArea;
}
return $feature.ZArea

Version info:
ArcGIS Pro v3.1.2
Enterprise 11.1
Parcel Fabric v5

I thought about using the buffer function [var bufferFeature = buffer($feature, -10)] prior to intersecting but an error message popped up with "Geometry cannot be null".

Any help would be appreciated and any possible insight as to why it works for when the parcels are more inside of the intersecting feature as opposed to nearing the border. 

Cheers!

Hung G.

Cheers!
Hung G.
0 Kudos
0 Replies