Skip to main content
Solved

How add unique ID/Value to an Element


Forum|alt.badge.img+2

Hello friends,

Im a new user of FME.

 

I have a dgn file with hundreds of points with or without tags. i need to convert this dgn to shp with unique custom ids. Is it any procedure or transformers to do this in fme. I mean each point have unique id numbers

 

I tried with many videos and tutorials didn't solve my issue

 

thanks

Best answer by chithramc

Hello friends,

I solve the issue in this way

 

Reader > counter >Attribute Manager>writer

 

Reader = dgn and writer = shp

 

Counter = Change counter parameters

  1. count start (only numeric values)
  2. Output attribute name

Attribute = Attribute parameter Values

  1. parameter condition definition changed
  2. changed test condition and attribute value

Writer = Feature Type > user attributes > manual > typ change to char

for forum new attribute value creating

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

2 replies

Forum|alt.badge.img+2
  • January 10, 2022

@chithramc​  If you want integer IDs you can use the Counter. UUIDGenerator will create, well, UUID's.


Forum|alt.badge.img+2
  • Author
  • Best Answer
  • January 11, 2022

Hello friends,

I solve the issue in this way

 

Reader > counter >Attribute Manager>writer

 

Reader = dgn and writer = shp

 

Counter = Change counter parameters

  1. count start (only numeric values)
  2. Output attribute name

Attribute = Attribute parameter Values

  1. parameter condition definition changed
  2. changed test condition and attribute value

Writer = Feature Type > user attributes > manual > typ change to char

for forum new attribute value creating


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