span8
span4
span8
span4
Hi all,
I'm working on a project to automate transformation of more than 50 layers.
Just wondering is there any way I can get the list of attributes and types from each layer and compare it with another list to make sure it has fields and fields have types I'm expecting?
You'll want to look at the Schema reader,which will produce a list with the attribute names and types.
attribute{}.fme_data_type
attribute{}.name
attribute{}.native_data_type
I tend to use python to compare two lists,but you could explode the attribute list and use a ChangeDetector.
Convert each list element to multiple new attributes3 Answers
How to Detect a Schema difference (Dataset1 has X attributes,Dataset2 has X+or-n attributes)1 Answer
Shapefile to dwg becoming a block and losing attribute data2 Answers
How to turn elemtents of a list of dynamic length into attributes?3 Answers
© 2019 亚搏在线Safe Software Inc |Legal