Presentation and options Dialog box of the application
Syntax

Presentation and options

This application adds attributes (labels) to the polygons generated with the Ciclar application. Attributes are added to the P.DBF file as new fields of the database. The main use of the application is the inclusion of attributes not inherent to the geometry and topological structure of the polygons, but that give thematic meaning to each region (for ex. which type of vegetation has a given polygon). This application has two options:

Attributes are associated to polygons by transfer of the attributes from a point inside the polygon. This point is usually called 'label'. Three different types of files can be used as label files:

Prior to start the labeling operation, the POL input file must have only one record for all and every graphic element (the Ciclar application generates a POL with such characteristics). So it is still NOT supported:

In these cases you have to use AtriTop.

When the labels file does not give any label on a polygon, the field will remain blank, except in the case where the field already existed; in this case the pre-existing attribute or attributes are preserved.

When the labels file has only one label with only one record on a polygon, the application will act depending on the 'n' option of the command line:

When the labels file has more than one label or some label with more than one record on a given polygon, the logic is the following:

AtriPol only modifies the P.DBF and P.REL files. An original copy of these files can be recovered since two back-up copies P.BK1 and P.BK2 are respectively created.

In addition, the application generates three files:

These files are also created when option 2 of the application is chosen (the option that allows inheriting several labels on one polygon). In this case, probably it will only be useful for non labeled polygons.

In all cases, fields called MAPX and MAPY can be created in the P.DBF file. These fields contain the X,Y coordinates of the used labels, which can have documentary value. For PNT files, even the graphic identifier could be inherited from the point, of course provided if it has a different field name than the polygon graphic identifier. When the option 'x' is equal to 0 (copy of all fields) the field ID_GRAFIC is NOT transferred to the P.DBF. In option x=2, fields are selected reading a list in a file. The format of this file is:

FieldNameA "Field Descriptor A"
FieldNameB "Field Descriptor B"
...
Note: the descriptor must be quoted.


Dialog box of the application

AtriPol dialog box


Syntax

Syntax:

Parameters:


This application works and generates files of v. 1.1