Question

how can I add the feature name to the attribute name?


I combine many feature types to create input for the geodatawarehouse.

some feature types have attributes with same names but different meanings. eg: feature type "house" with attributes like "windows", "doors", "number" and feature type "street" with "name" and "number".

For to detect the origin-featuretype of the attribute, I'd like to rename them like house.number house.windows house.doors street.name street.number. How can I acchieve this without renaming every Attribute "by Hand"?

Thanks in advance. Frauke


3 replies

Userlevel 4

Have a look at the BulkAttributeRenamer, in particular the option for prefixing attribute names.

You will usually find the feature name in fme_feature_type.

Thank you @david_r for your very quick answer. I will try it in the afternoon. In Germany we have lunchtime now. ;-)

Userlevel 4

Thank you @david_r for your very quick answer. I will try it in the afternoon. In Germany we have lunchtime now. ;-)

In Switzerland too ;-) En guete, as they say here.

 

Reply