Northrop Grumman C2PC Magic (MGC) Feature Representation
Feature Attributes
In addition to the generic FME feature attributes that FME adds to all features, this format adds the format-specific attributes described in this section.
Geometry
The MGC reader provides full support for all MGC geometry types.
Fixed Schema
The MGC reader supports a fixed schema where each of the following FME feature types maps directly to a corresponding MGC feature with the same name:
- Symbol
- Line
- Polyline
- TacticalLine
- Ellipse
- Circle
- Triangle
- Rectangle
- Sector
Common Format Attributes
The following MGC format attributes are common to all of the feature types.
MGC Format Attribute |
Notes |
mgc_modified |
|
mgc_created |
|
mgc_line_type |
|
mgc_line_geometry |
|
mgc_line_style |
|
mgc_line_width |
|
mgc_close_polygon |
|
mgc_fill_type |
|
mgc_text_color |
|
mgc_color |
|
mgc_edge_color |
|
mgc_background_color |
|
mgc_fill_color |
|
mgc_symbol_size |
|
mgc_tgpoint_size |
|
mgc_font |
|
mgc_justification |
|
mgc_bold |
|
mgc_italic |
|
mgc_underline |
|
mgc_strikethrough |
|
mgc_text_size |
|
mgc_orientation |
|
mgc_offset |
|
mgc_parentid |
|
mgc_menuid |
|
mgc_labeltgl |
|
mgc_label |
|
mgc_name |
|
mgc_priority |
|
mgc_relativetgl |
|
mgc_pickabletgl |
|
mgc_visibletgl |
|
mgc_edgetgl |
|
mgc_backgroundtgl |
|
mgc_hilitetgl |
|
mgc_decluttertgl |
|
mgc_blinktgl |
|
mgc_labeltype |
|
mgc_childvisible |
|
mgc_animlabeltgl |
|
mgc_size |
|
mgc_alignment |
|
mgc_scaled_lines |
|
mgc_show_label |
|
mgc_scale_label |
|
mgc_label_height |
|
mgc_label_width |
|
mgc_reference_scale |
|
Line
A Line feature consists of two connected points.
mgc_type will be populated with “mgc_line”.
Polyline
A Polyline consists of an arbitrary number of connected points.
mgc_type will be populated with “mgc_polyline”.
MGC Format Attribute |
Notes |
mgc_closed_flag |
|
Symbol
A Symbol consists of a single point.
Reader Notes
mgc_type will be populated with “mgc_symbol”.
MGC User Attribute |
Remarks |
Reinforced |
|
Detached |
|
Modifier Mask |
|
MilPlot |
|
Black Icon |
|
TacticalLine
A TacticalLine consists of a two connected points.
mgc_type will be populated with “mgc_tacticalline”.
MGC User Attribute |
Remarks |
Anchor Point 3 |
|
Unique Designation |
|
Unique Designation1 |
|
Modifier Mask |
|
Ellipse
An Ellipse maps to an fme_ellipse.
mgc_type will be populated with “mgc_ellipse”.
Circle
A Circle maps to an fme_ellipse with equal primary and secondary axes.
mgc_type will be populated with “mgc_circle”.
Triangle
A Triangle maps to an fme_polygon with three vertices.
mgc_type will be populated with “mgc_triangle”.
Sector
A Sector maps to an fme_polygon composed of two connected arcs centered on the same point and having the same start and end sweep.
mgc_type will be populated with “mgc_sector”.
Rectangle
A Rectangle maps to an fme_polygon with four vertices.
mgc_type will be populated with “mgc_rectangle”.
MGC Format Attribute |
Notes |
mgc_rounded_corners |
|