Home
 

Poles selection

Input 1 Working Map
or
None if used as Source
Output Working Map

Display :

Description :

This module lets you select elements from the map or lets you add manually geographical objects (points objects) in the map. The output map will contain only selected elements, or their center if you choose the option Centroid.

This module allows you to choose between 2 tabs : "Select in map" and "Click on map".

You will be able to :

Select in map :

Two sorts of search are possible:

  • You type the beginning of the word or the beginning of identifier code in the search box
  • Use the scrolling bar for seeking in the list

As soon as you choose an element in the list, the number of poles number is updated.
Use buttons Select all, Unselect all and Invert selection to quickly change all choices at once.

Click on map :

To add manually some points into the map, use the "click on map" tab. This tab is only accessible when the module has no module in input. To be able tu use it, just set the pole selection module into the diagram window and open its parameters window.

Click on the "Add a point by clicking on map" button : a "+" cursor then replaces the mouse cursor and displays the geographic coordinates of the cursor when it's over the map. A click on the map draws a point on it and opens a query window :

This window allows you to enter an identifier (unique key) and a name for the point in order to link some data on it later for instance. You can then definitely validate the creation of your point or continue to create new points by clicking on the "OK and add a new point" button.

The search options are also available as in the "Select in map" tab as seen previously. Notice that the selection options are not the sames as in the "Select in map" tab : all the points are always displayed on the map, no matter of their selection. The selection boxes are only used to delete the current selected points when clicking on the "Remove selection" button.

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

Script :

2      module  untyped_list ""
3        mod_type  integer "103"
3        mod_subtype  integer "530"
3        mod_name  string "Sélection de pôles"
3        mod_dads  integer_list ""
4          ? integer  "3"
3        poles  string_list  ""
4          ?  string  "02"
4          ?  string  "12"
4          ?  string  "49"
4          ?  string  "01"
4          ?  string  "40"
3        output_centroid  boolean  "T"
3        points untyped_list ""
4          ? untyped_list ""
5            id string "A"
5            name string "Agence Tours Ouest"
5            pos vector ""
6              x_val double "473.270838"
6              y_val double "2266.63569"
6              z_val double "0"
4          ? untyped_list ""
5            id string "B"
5            name string "Agence Chinon"
5            pos vector ""
6              x_val double "437.531838"
6              y_val double "2246.917621"
6              z_val double "0"


Samples