Skip to main content
Solved

Procéder au renommage simultané de l'ensemble des colonnes


antoinehersent
Contributor
Forum|alt.badge.img+4

Hello,

Context : FME 2024.0.3, Windows 11

I'm currently working on a project with source data and files “.shp” files within it. Each of these files has several columns, one of which is called “IdGen”. Only this column is not written in the same way according to the “.shp” file, example: IDgen, idgen, IDGEN, idGen……

To insert it into our GIS, I would like to know if there was a way to change, at once and with a single transformer, all the columns having “idgen” regardless of how it is written to “ IdGen” as I wish ? All this with the aim that my FME project can work automatically during the next updates without having to use AttributeManager behind each of the files…

Thank you !

Antoine

Best answer by geomancer

Strange, it should work (at least in 'All Attributes’ mode):

 

View original
Did this help you find an answer to your question?

3 replies

geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • July 9, 2024

You can use the BulkAttributeRenamer to change IDgen, idgen, IDGEN, idGen…… all to the same value (e.g. IDGEN), followed by an AttributeManager to rename this attribute to IdGen.


antoinehersent
Contributor
Forum|alt.badge.img+4

My colleague had tried this solution after I suggested it to her (obtained thanks to the advice of my trainer), but it does not seem to work, we will look into the case again so that this solution works because it is definitely the right one in view of the two answers we obtained on this question.

Thanks for the help !


geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • Best Answer
  • July 10, 2024

Strange, it should work (at least in 'All Attributes’ mode):

 


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