The features of the layer Other Cities are also export as points, that are CAD blocks. Therefore it is again required to define the blocks in the header.
The Other Cities are divided into six categories by the field POP_CLASS, according to the number of inhabitants. The representation of the size of the point symbol changes according to the size of the city. Additionally the symbol is labeled also with the name of the city. For this is used the GIS attribute CITY_NAME. The attribute must also be considered within the block.

Other cities representation in GIS
In the CAD program are hence set up six block with the labels 'OC_2', 'OC_3', 'OC_4', OC_5', 'OC_6', and 'OC_7'. OC_ is being used here as prefix. The numbers 2 to 7 are reflected in the values from the GIS attribute 'POP_RANK'.

Additionally, for each block the attribute CITYNAME is defined .


Task Other Cities
•Task:
The HeaderFileName is changed to Header_SampleProject.dxf. The Task Name as well as the FeatureClassName is not changed.
HeaderFileName |
The file Header_SampleProject.dxf is given as header. |
TaskName |
The task name remains on the designation Other Cities. |
FeatureClassName |
The FeatureClassName remains on the designation cities. |
•DxfEntity:
The type for Other Cities is in turn an INSERT, this was already correctly generated when creating the configuration.
•Properties:
Layer |
The layer is labeled as Other cities. |
Block Name |
The assignment of the block is done by the field POP_RANK. As a result of defining the block with a prefix in the header, it must be given also in the configuration. The value for the block name is: FIELD:POP_RANK:0:OC_:
|
Attribs | Attrib:
If attributes are defined in a block, they must be also extra revealed in the configuration, otherwise they are not exported into CAD. This is covered in the section 'Attribs'. In the section, several 'Attribs' tasks can be defined. In this case only one Attribs task is required. The Attribs task consists of the Property Value and Name:
Value |
Value defines the value from which the attribute is selected. In this example the attribute is selected from the field CITY_NAME and is therefore FIELD:CITY_NAME: |
Name |
Name defines the name of the attribute in the CAD block. This was defined in the header as CityName. |
•FeatureQueryFilter:
The layer Other Cities has a definition query set up. This is rendered in the Where Clause and is: "STATUS" = 'Provincial capital' OR "STATUS" = 'Provincial capital enclave' OR "STATUS" = 'Other'.