All mapping specification objects use the tagged format defined by the (.dwg) file format. Each data element in the framework is preceded by an integer called a group code. The group code indicates what type of data element is stored with the object.
The following group codes are used by all non-graphic objects defined by the mapping specification for CAD.
Parent object | Map object | Object type | Group code | Value | Description |
---|---|---|---|---|---|
Named object dictionary | Coordinate system | Xrecord | 3 | ESRI_PRJ | Name (string) |
1 | <coordinate system> | WKT (string) | |||
Feature classes node | Dictionary | 3 | ESRI_FEATURES | Name (string) | |
3 | <feature class name> | Dictionary | |||
ESRI_FEATURES | Feature class | Dictionary | 3 | <feature class name> | Name (string) |
3 | Feature Type | Xrecord | |||
3 | Feature Query | Xrecord | |||
3 | ESRI_ATTRIBUTES | Dictionary (optional) | |||
<feature class> | Feature type | Xrecord | 3 | Feature Type | Name (string) |
1 | <feature type> | Point, Polyline, Polygon, Multipatch, or Annotation (string) | |||
Feature query | Xrecord | 3 | Feature Query | Name (string) | |
<dxf code> | <property> | Filter (type varies) | |||
Feature attributes node | Dictionary | 3 | ESRI_ATTRIBUTES | Name (string) | |
3 | <field> | Dictionary | |||
ESRI_ATTRIBUTES | Fields | Xrecord | 3 | <fieldname> | Name (string) |
<dxf code> | <default value> | 1 = string, 40 = real, 70 = int16, 90 = int32 |