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 should get unique id number
I tried with many videos and tutorials didn't solve my issue
thanks
Best answer by takashi
chithramc wrote:
Thank you Mr Takashi,
This transformer creating sequence id's, but its not reflecting in final shp file. any additional transformers need to add with this? please advice
SC attached
Thanks
It doesn't seem that the count attribute name matches destination attribute name.
Try renaming the count attribute ("UUID") to the destination attribute name ("Road_As_ID"). See also this documentation.
This transformer creating sequence id's, but its not reflecting in final shp file. any additional transformers need to add with this? please advice
SC attached
Thanks
Good to hear the Counter solved your question. You can use AttributeManager, AttributeCreator or StringConcatenator to create attribute value concatenate a prefix and the sequential number.
Certainly! In FME, you can use the "Counter" transformer to assign unique ID numbers to each point in your dgn file. Here's a basic outline of the process:
Read your dgn file using the appropriate reader (e.g., MicroStation Reader).
Add a "Counter" transformer to your workspace and connect it to the reader.
Set the "Counter" transformer's parameters to start from the value you want (e.g., 1) and increment by 1.
The output attribute of the "Counter" will have a unique ID for each feature.
Connect this to a writer (e.g., ESRI Shapefile Writer) to write the shp file with unique custom IDs.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.