Justification

From Fmepedia


Justification refers to the position of a text or annotation feature, in relation to its origin point. For example, a Lower-Left (LL) justification means the origin point is in the lower left, and that the text will be located above and to the right of the origin point.


Because each GIS application and data format seems to handle justification in a different manner, the FME Universal Viewer does not attempt to show justified text.


Correct handling of justification can be difficult when converting between different formats. The following diagram and table will help you to map between different formats' justification values. The above example (LL) is position 21 in the diagram.

NB: Not all formats support all justifications.


Formats Smallworld MicroStation DGN AutoCAD DWG/DXF Intergraph GeoMedia ESRI E00/Coverage ESRI GeoDatabase
Format Attributes sworld_vert_just igds_justification autocad_justification fm0_justification e00_text_just geodb_v_align
sworld_horiz_just geodb_h_align
Diagram Position
1 5,1 0 (or 3) autocad_top_left 10 7 top, left
2 5,2
3 5,3 6 autocad_top_middle 8 8 top,center
4 5,4
5 5,5 12 (or 9) autocad_top_right 9 9 top, right
6 4,1
7 4,2
8 4,3
9 4,4
10 4,5
11 3,1 1 (or 4) autocad_middle_left 2 4 center, left
12 3,2
13 3,3 7 autocad_middle_middle 0 5 center, center
14 3,4
15 3,5 13 (or 10) autocad_middle_right 1 6 center, right
16 2,1
17 2,2
18 2,3
19 2,4
20 2,5
21 1,1 2 (or 5) autocad_bottom_left 6 1 bottom, left
22 1,2
23 1,3 8 autocad_middle_bottom 4 2 bottom, center
24 1,4
25 1,5 14 (or 11) autocad_bottom_right 5 3 bottom, right
Baseline Insertion
Fitted autocad_baseline_fit
Left autocad_baseline_left 11 (?) baseline, left (?)
Middle autocad_baseline_middle baseline, center (?)
Right autocad_baseline_right baseline, right (?)
Aligned autocad_baseline_aligned
Above 12 (?)
Below 10 (?)


NB: The FME Readers and Writers Manual has a minor error - the geodb_h_align options are left, right, center and full - not left, right, full and justified as stated.

Attached Files
filesizedate
LLjustification.png2.0 kB09/25/06
justificationLayout.PNG27.4 kB09/25/06
User Comments Add a new comment