Home
 

Colouring

Input 1 Working map
Output Qualitative data

Display :

Description :
The aim of this module is to colorize the map in a ramdom way to clearly distinguish its elements. This is done simply by associating a different color to neighbours elements.

You can choose the color number. If it is too small to obtain a good solution, it will be automatically increased.

If the Only one common point box has been checked, the entities sharing only one common point will be considered as neighbours. Otherwise, entities will be considered as neighbours if they have at least two common points.

In the Result text zone, you can find informations on each color:

  • the number of concerned elements
  • the percentage of repartition proportionaly to the whole entities

Script :

2      module  untyped_list ""
3        mod_type  integer "103"
3        mod_subtype  integer "528"
3        mod_name  string "Coloriage"
3        mod_dads  integer_list ""
4          ? integer  "3"
3        col_nb integer "5"
3        one_point boolean "T"
3        color_tree untyped_list ""
4          color untyped_list ""
5            col_elem_nb integer "21"
5            col_percent integer "25"
4          color untyped_list ""
5            col_elem_nb integer "21"
5            col_percent integer "21"
4          color untyped_list ""
5            col_elem_nb integer "19"
5            col_percent integer "19"
4          color untyped_list ""
5            col_elem_nb integer "15"
5            col_percent integer "15"
4          color untyped_list ""
5            col_elem_nb integer "20"
5            col_percent integer "20"


Samples