span8
span4
span8
span4
Both Geodatabase and Microstation support the concept of text along a curved line,but each uses a different structure to store the location and orientation.Geodatabase stores the curved text as a polyline geometry with a single text string,while Microstation stores the curved text as a multi-text feature,with a separate location and orientation for each letter.
The attached workspace extracts the polyline from the Geodatabase,then the letter locations along that line.To faithfully calculate the letter locations for a proportional font,the full text string is stroked to polygons using the TextStroker,then the bounds of those polygons are compared to the bounds of the stroked string with the preceding letters removed.This calculation will produce a percentage distance from the beginning of the text string for each letter.The Snipper transformer is used to snip out a small line section at each letter location.
A small distance is left on each polyline snippet in order to calculate the letter orientation at that point in the polyline.The letter locations and orientations are then aggregated together into a Microstation multi-text feature to create the text along the curved line.
The attached annotated workspace will illustrate the process in greater detail.The techniques used in this workspace can easily adapted to other destination formats.
Reading Basic Geodatabase Annotation - GDB to DGN
Performing spatial queries on database tables using the FeatureReader
Reading Basic Geodatabase Annotation - GDB to DWG
Topographic Base Map Data Preparation for Local Government
Working with Curved Multi-part Geodatabase Annotation
Working with Geodatabase Feature-Linked Annotation
Setting FONT SIZE explicitly in Geodatabase Annotations
How to Read and Translate all Feature Classes from Multiple ESRI Geodatabases
© 2019 亚搏在线Safe Software Inc |法律