Home
 

Clouds

Inputs Continuous data (unlimited number)
Output Drawing

Description :

The clouds module spreads over each surface on the working map, as many dots as are given in each input data. The spread is a random one. Each input data has its own color and symbol. A symbol is placed for each dot.

The number is limited to 200 per input.

Example:
In France shown by regions, for the Paris region we have three data items:

  • data item 1 = 5 (black color)
  • data item 2 = 7.4 (blue color)
  • data item 3 = 3 (red color)

In all in the Paris region there will be: 5 black dots, 7 blue dots, and 3 red dots.

Case of multi-polygonal entities

The calculation of the number of dots to be put in each polygon is based on a ratio, so as to obtain a regular spread of dots throughout the polygons in the entity.
If:

  • V is the value for the entity as a whole
  • Vi is the value for the polygon i
  • Si is the surface of the polygon i
  • sum = Sum total of (Si) , the sum total of the surfaces of all the polygons making up the entity

Then,
          Vi = V.Si / sum          where Sum total(Vi) = V

Example:
if Italy has 9 as a data item, there will be 7 dots on the mainland, 1 in Sicily and 1 in Sardinia.

Parameters

The list of the available symbols is as follows:

  • custom image
  • circle
  • square
  • triangle pointing downwards
  • triangle pointing upwards
  • cross
  • diagonal cross
  • long cross
  • horizontal ellipse
  • vertical ellipse
  • horizontal rectangle
  • vertical rectangle
  • five-pointed star
  • six-pointed star
  • man
  • woman
  • house
  • watch
  • flash of lightning

To use an image symbol, first select image in the symbols list, and then click in the corresponding column on an image to open the provided image list. This list can be changed in the File/Preferences.../symbols menu.

The palette is made of as many colors as input data. A number in each color gives the correspondence between the color and the data.

By clicking on the Change all colors button, you reset the palette to colors proposed by default.

  • Colors


The symbols can be shown with an outline by checking the With stroke box. In this case, the outline of the symbols can be given the color of your choice by clicking on the colored square to open the color panel.

  • Sizes


The symbol sizes are automatically set at startup. When you uncheck the Automatic size box, you can specify the desired size in map unit.

You can also choose the stroke thickness, in map unit.

Caption

If the Display caption box has been checked, you have access to the various parametrizing commands for the caption.

A black frame can be added for this caption by checking the With frame box.

  • Texts

You can first choose the caption title. It is the module name by default.

The column number is also modifiable. It enables you to have a classic vertical representation or an horizontal one or a representation in columns. The column number is limited to 12.

You can set the texts on the right or under the symbols in the caption.

  • Font

You can choose in a font list the desired font. The text color can be set by clicking on the colored square just below this list.

  • Sizes

You just have to uncheck the Automatic size box to specify a different size in the map unit. Finally, you can select the desired space between symbols and texts in caption by choosing a small, normal or large caption.

  • Elements

This tab is accessible if the Display caption box of the Caption tab has been checked.

The Invert order box enables you to invert the order of caption elements.
Attention, the order of the texts specified in this tab will not be inverted.
Therefore:
- if the Invert order box is unchecked, the text associated to the Data Nb 1 will be at the top of the caption.
- if the Invert order box is checked, the text associated to the Data Nb 1 will be at the bottom of the caption.

  • Texts

You can change the caption texts by unchecking the Automatic strings computation box. You can then specify your texts in the Custom captions column. The first column gives the correspondence between the data and the texts.
The caption texts are filled by default with the input data names.

Script :

2      module untyped_list ""
3        mod_type integer "104"
3        mod_subtype integer "612"
3        mod_name string "Nuages"
3        mod_dads integer_list ""
4          ? integer "4"
3        caption_origin vector ""
4          x_val double "0"
4          y_val double "0"
4          z_val double "0"
3        symbols integer_list ""
4          ? integer "13"
3        lib_symbols integer_list ""
4          ? integer "13"
3        path_symbols path_list ""
4          ? path ""
5            file_type integer "-1"
5            type integer "2"
5            win32_net boolean "F"
5            volume string ""
5            path_elem string_list ""
3        is_auto_size boolean "F"
3        size double "3"
3        thickness double "0"
3        fill_list fill_list ""
4          ? fill ""
5            fill_color fill_color ""
6              red double "1"
6              green double "0"
6              blue double "0"
6              red255 integer "255"
6              green255 integer "0"
6              blue255 integer "0"
5            hatch hatch ""
6              angle1 double "0"
6              angle2 double "0"
6              desc_list1 double_list ""
6              desc_list2 double_list ""
6              is_weft boolean "T"
5            has_hatch boolean "F"
3        stroke stroke ""
4          stroke_color stroke_color ""
5            red double "0"
5            green double "0"
5            blue double "0"
5            red255 integer "0"
5            green255 integer "0"
5            blue255 integer "0"
4          dash dash ""
5            desc_list double_list ""
4          has_dash boolean "F"
3        has_stroke boolean "F"
3        prj_show_caption boolean "T"
3        prj_title_string string " "
3        col_nb integer "1"
3        text_color stroke ""
4          stroke_color stroke_color ""
5            red double "0"
5            green double "0"
5            blue double "0"
5            red255 integer "0"
5            green255 integer "0"
5            blue255 integer "0"
4          dash dash ""
5            desc_list double_list ""
4          has_dash boolean "F"
3        has_back_square boolean "T"
3        right_pos boolean "T"
3        caption_font string "family:Times New Roman-face:medium roman-size:12"
3        caption_auto_height boolean "T"
3        caption_height double "1.841101"
3        caption_space integer "1"
3        class_invert boolean "F"
3        prj_is_auto_strings boolean "F"
3        prj_user_string string_list ""
4          ? string "1 médecin généraliste"
3        elem_nb integer "1"

See the Symbols module for the list of values authorized for symbols and lib_symbols.


Samples