span8
span4
span8
span4
Tags are a MicroStation feature that allow the user to attach non-spatial attribute information onto DGN elements.To read this information as FME attributes,some specific parameters can be set in the reader.In this example the element has two tags attached to it(Species and Tree Count):
When adding aDGN readerto a workspace,the parameters dialog has an option,"Group Elements By" that controls how DGN elements are grouped in FME Workbench:
Choosing any value of the"Schema" typewill result in exposing DGN tags as attributes in the FME workspace:
Notice that not only are the tags (hereSpeciesandTree Count) exposed,but also attributes with information on the tags,such as the tagset name,the tag type,and the default value.If you need to have a list of tag names,you can expose the igds_tag_names{} format attribute:
The tag attributes created within FME are defined using the same data types as in the original tags:
i.e.a character tag in MicroStation will be created as an FME attribute with a character (string) data type;similarly a numeric tag in MicroStation becomes a numeric attribute in FME.The width of the field depends upon the attribute content.
Now the information is available to use within FME Workbench,just like any other user attribute:
Note: FME is only able to read tags that have an associated value with the tag.
Try reading in a DGN file with tags,yourself!Find attached an example MicroStation dataset that includes tags.
The data used here originates from open data made available by theCity of Vancouver.It contains information licensed under the Open Government License - Vancouver
MicroStation Text Styles in FME 2015.1 and newer
MicroStation Text Styles in FME 2015.0 and older
Writing Microstation (DGN) Text Nodes with FME
Handling MicroStation (DGN) Dimensions
GIS to CAD: Convert Parcel Polygons and Lines from Geodatabase to DGN
CAD to GIS: Convert Parcel Lines and Text from DGN to Geodatabase
Writing Microstation (DGN) Tags with FME
How to retain CAD symbology and text in database formats
Using the V7 Microstation Design File reader reports that it is skipping cells
© 2019 亚搏在线Safe Software Inc |Legal