span8
span4
span8
span4
Although FME is capable of creating cartographic elements,such as labels,it is not intended to be used for cartographic purposes.In this tutorial,you will learn how to create labels for point features and how to create a center point in polygons which can then be converted to a label point.For a detailed list of categories and transformers related to cartography see theTransformer Galleryand filter by Cartography and Reports.Additionally,if you want to learn more about creating labels for features,see theLabelling Features exercisein the Desktop Basic Training Manual.
map-and-map-feature-annotation.fmwt
In this scenario,you are interested in creating labels for school point features that will be exported to an AutoCAD DWG file for later use.
As the name suggests,the LabelPointReplacer will replace point features with a label point.
This will automatically make the connection from the Schools reader to the LablePointReplacer.
The first parameter you have to set is the Label - this will retrieve the value of an attribute and convert it into a label.
Note: Label height is measured in ground units (meters in this case) and may either be entered as a number or can be taken from the value of a feature attribute by selecting the attribute name from the drop-down list.If the label height is too tall,you can either adjust the label height accordingly in the LabelPointReplacer parameters or edit the annotation size in AutoCAD as you will be writing to a DWG file in this exercise.
After running the workspace,you will have a new dataset with school labels in the DWG format.You can view the school labels by selecting the writer and clicking the Inspector button in the shortcut menu that appears when the writer is selected or by opening the SchoolLabels DWG file in AutoCAD.
In this scenario,you are interested in creating labels for neighborhood polygon features that will be exported to an AutoCAD file for later use.
This will automatically connect the Neighborhoods Reader to the CenterPointExtractor.The CenterPointExtractor will replace the geometry of the features with a point in the center of the features bounding box.For more information on Point Extraction Modes,see theCenterPointReplacer documentation.
As the name suggests,the LabelPointReplacer will replace point features with a label point.
The first parameter you have to set is the Label - in this case,it will retrieve the value of an attribute and convert it into a label.
Note: Label height is measured in ground units (which is meters in this case) and may either be entered as a number or can be taken from the value of a feature attribute by selecting the attribute name from the pull-down list.If the label height is too tall,you can either adjust the size accordingly or edit the size of the text in AutoCAD later.
After running the workspace,you will have a new dataset with school labels in the DWG format.You can view the school labels by selecting the writer and clicking the Inspector button in the shortcut menu that appears when the writer is selected or by opening the NeighborhoodLabels DWG file in AutoCAD.
Data used in this tutorial originates from open data made available by theCity of Vancouver,British Columbia.It contains information licensed under the Open Government License - Vancouver.
© 2019 亚搏在线Safe Software Inc |Legal