Skip to main content
Hi All,

 

I'm trying to use AreaBuilder to build a polygon that will be written to my existing feature class in a file geodatabase. The lines supplied to the AreaBulder have all the correct attributes but the attributes are not showing in the output of the AreaBuilder; just the polygon.

 

The AreaBuilder docs have a description of the 'Polygon List Name' parameter that states: 'This parameter can also be used to preserve attributes from input features.' But it doesn't explain how to do that. As a newcomer, I need all the help I can get. :-)

 

Could one of you please point me in the right direction? How do I use the Polygon List Name to preserve attributes?

 

TIA

 

B
Hi,

 

 

You just have to fill in a name for the list (AB_list for example).

 

 

Itay

 

 


Wow! So simple.Thanks!

 

Not meaning to hijack my own thread but...I can access the built polygon at element{0} that I want to store but now I'm getting an error when I try to write it to the existing feature class:

 

The 'TRANSACTION_TYPE' must be set to 'EDIT_SESSION' or 'VERSIONING'

 

I have the Writer's Transaction Type set to 'Edit Session' and it's not a versioned file geodatabase. Why am I getting this error?

 

thanks again,

 

B
Hi,

 

 

try a reboot first to check that there are no dangling locks on the file geodatabase. If that doesn't work, consider deleting the feature class using ArcCatalog and letting FME recreate it for you.

 

 

David
I'm working on a BC government server so rebooting isn't really an option. The feature class has existing data so I'd have to copy it out before I do anything.

 

That said, the error went away overnight so I think some process that had a lock released it. (I strongly suspect ArcMap editing session still had a grip). Now I'm getting a new error: Cannot write a non-area feature to an area feature class. Odd given that the polygon from AreaBuilder looks fine...

 

I think the problem is that I'm too new to FME and have so much to learn. I know what I want to do and am sure that FME can do it but I don't have the knowledge yet to bring the two together.

 

Thanks again for your helpful comments,

 

B

Reply