The features of the layer National Capital Cities are exported as blocks. Therefore it is again required to define the blocks in the header.

National Capital Cities refer to the same feature class as Other Cities and are thus categorized in GIS by the same field POP_CLASS. Additionally, the symbol is labeled with the field CITY_NAME. The attribute must also be considered again within the block.

National Capital Cities representation in GIS

National Capital Cities representation in GIS

Labeling of the National Capital Cities in the GIS

Labeling of the National Capital Cities in the GIS

 

In the CAD program are hence set up six block with the labels NCC_2, NCC_3, NCC_4, NCC_5, NCC_6 and NCC_7. NCC_ is being used here as prefix. The numbers 2 to 7 are reflected in the values from the GIS attribute POP_RANK.

Designation of blocks for National Capital Cities in CAD

Designation of blocks for National Capital Cities in CAD

 

Additionally, for each block the attribute CITYNAME is defined.

Definition of the CITYNAME attribute per block

Definition of the CITYNAME attribute per block

Configuration National Capital Cities

Configuration National Capital Cities

 

Task

HeaderFileName

The file Header_SampleProject.dxf is given as header.

TaskName

The task name remains on the designation National Capital Cities.

FeatureClassName

The feature class name remains on the designation cities.

DxfEntity
The type for National Capital Cities is in turn an INSERT. The type was already correctly generated when creating the configuration.

Properties

Layer

The layer is labeled as National Capital 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:NCC_:

_img25

Attribs | Attrib
In the section Attribs/Attrib, the attribute City Name is defined.

Value

The attribute is selected from the field CITY_NAME and is FIELD:CITY_NAME:

Name

The name was defined in the header as CityName.

FeatureQueryFilter
The layer National Capital Cities has a definition query set up. This is rendered in the Where Clause and is: "STATUS" = 'National capital' OR "STATUS" = 'National capital and provincial capital enclave' OR "STATUS" = 'National and provincial capital'