Skip to main content
Question

Attributes from multiple features

  • May 28, 2019
  • 1 reply
  • 45 views

deanhowell
Influencer
Forum|alt.badge.img+23

Hello all,

 

I have an AutoCAD drawing that has two features on it. One is the bearing information and the other called derivation.

 

 

I am trying to create a new polygon feature that defines the bounding box of all features in the DWG that has the two labels above as attribiutes in the polygon layer.

Currently I am using a combination of bounding box accumulator and attribute creator but I just end up with three records in the output polygon layer. One that is the bounding box, one for the bearing attribute and one for the derivation attribute.

 

 

 

Is there a way to just end up with the one bounding box feature which has the two attributes?

1 reply

diwanicka
Forum|alt.badge.img+4

@deanhowell2009 you can use a string searcher to extract the value of the bearing and derivation using this regex ([A-Z])\\w+\\:\\s\\K.*$ this will allow you to create a new attribute for each point text string. Then use pointonarea overlayer and merge attributes and choose Only Use Incoming.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings