Home
 

Fusion

Input 1 Discrete data
or
1 Qualitative data
Output Working map

Display:

Description:
This module enables new geographical entities to be created by merging the entities of a particular class or quality. The working map thus created contains as many entities as there are classes or qualities in the module input.

The identifiers and names of the output map entities are assigned automatically by the module, and are shown in the table on the left.

If your data contains an hyphen "-" the table is filled as the following description :

  • as identifier : all the characters before the first "-".
  • as name : all the characters after the first "-"

If your data doesn't contain any hyphen, your data is considered as the identifier of your territory.

To specify the identifiers and names that you wish to use, you must uncheck the Use automatic attributes box, and enter your texts in the table on the right. You have to validate each of the texts entered using the "Downward arrow" or "Tabulation" keys on your keyboard.
The button showing an arrow, which is to be seen between the two tables, enables the two columns of the left-hand table to be transferred to the two columns of the right-hand table.

A pre-treatment of your map is available if you check the Preprocess the map box. This consists of cleaning the polygons to eliminate multiple points and segments with zero surface. This enables certain cases of difficult fusion to be dealt with on maps entered with little rigor (imported from illustrator for example).

The precision used for the calculations can be "infinite", or vary from 10E-2 to 10E-10. In this case, you must uncheck the Infinite precision box, and enter a figure between 2 and 10 in the text area provided. This precision enables calculation errors to be limited. This is so because if two points in two adjacent polygons are similar except for five figures, it is possible that the fusion may not be made correctly, as the module considers that the points are different. The level of precision here will thus have to be 10E-5.

In the text area in the lower right-hand corner of the display, you will see the list of the incidents arising during the fusion process. These incidents can be of three types:

  • A new entity has more than one element.
    (example: fusion of polygons that are not contiguous).
  • A new entity has a deficit of surface area.
    (example: fusion of polygons included in one another).
  • A new entity has extra surface area.
    (example: fusion of polygons forming a hole before fusion).

Data window:
The module is linked to a window called ".......Window", that is identical to that of the working map module, in which all the data concerning the fused map are displayed.

Script:

2      module untyped_list ""
3        mod_type integer "103"
3        mod_subtype integer "521"
3        mod_name string "Fusion"
3        mod_dads integer_list ""
4          ? integer "4"
3        precision integer "10"
3        prep_map boolean "F"
3        infinite_std boolean "T"
3        is_auto_strings boolean "T"
3        auto_ids_list string_list ""
4          ? string "1"
4          ? string "2"
4          ? string "3"
4          ? string "4"
3        auto_names_list string_list ""
4          ? string "Rouen"
4          ? string "Nancy"
4          ? string "Bordeaux"
4          ? string "Lyon"
3        user_ids_list string_list ""
4          ? string ""
4          ? string ""
4          ? string ""
4          ? string ""
3        user_names_list string_list ""
4          ? string ""
4          ? string ""
4          ? string ""
4          ? string ""
3        result_tree  string_list  ""
4          ?  string  "'3-Bordeaux' a un supplément de surface de 0.000393.  "
4          ?  string  "'4-Lyon' possède 2 éléments.  "


Samples