# Interactive Selection

You can select elements on vector layers only. The selected elements can be used to perform various actions, such as running an information report, spatial analysis, editing, etc. Several selection tools are available. Note that to select layer elements, the layer must be selectable (refer to the section on [Layer Settings](https://docs.k2geospatial.com/en2/applications-user/jmap-pro-user-guide/map-layers/layer-settings)).

## Selection tools

The following figure shows the list of available selection tools.

<figure><img src="https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FED1Nj6nsoEPvmZXO7nUX%2Flisselect.jpg?alt=media&#x26;token=51994760-a18c-4395-a8d7-eda79ebf19a2" alt=""><figcaption></figcaption></figure>

The number of selected elements is always indicated at the bottom of the map.

<figure><img src="https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FRd1gWLFCoaDLlPhB9onu%2Fnbrselec.jpg?alt=media&#x26;token=2daa4f78-fdfd-4f98-af56-1cc52715da19" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="85"></th><th></th></tr></thead><tbody><tr><td><img src="https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FkrgvwoTrz6b4odfimA7e%2Fsel_arrow.jpg?alt=media&#x26;token=7206a09c-c8a5-4c16-b7f0-262befcbdbc6" alt="" data-size="line"></td><td><strong>Punctual selection</strong><br>Select a single element by clicking on it. <br>When several elements are superimposed, only the top one is selected. <br>Enable the tool and click on an element in the map.</td></tr><tr><td><img src="https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2F0BpJ38pQdLcs3yS6PHIo%2Fsel_box.jpg?alt=media&#x26;token=73d11213-bc69-44e7-91b8-5446dab2b539" alt="" data-size="line"></td><td><p><strong>Rectangular selection</strong></p><p>Select one or more elements by tracing a rectangle. <br>All elements that are completely or partially included in the rectangle are selected.<br>The rectangle's dimensions are displayed. <br>Enable the tool and trace a rectangle on the map.</p></td></tr><tr><td><img src="https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2F1TNQWMxuvWngW2JGM1Lu%2Fsel_circle.jpg?alt=media&#x26;token=04efd692-d81a-49b7-956f-fb8d84e1b36f" alt=""></td><td><p><strong>Circular selection</strong></p><p>Select one or more elements by tracing a circle. <br>All elements that are entirely or partially included in the circle are selected. <br>The circle's radius is displayed. <br>Enable the tool and trace a circle on the map.</p></td></tr><tr><td><img src="https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2F0AfM6KfQKePeqwEdzMiZ%2Fsel_polygon.jpg?alt=media&#x26;token=c7a98785-17a3-410a-b9ca-1a288d42adb7" alt=""></td><td><p><strong>Polygonal selection</strong></p><p>Select one or more elements by tracing a polygon. <br>All elements that are entirely or partially included in the polygon are selected. <br>The dimensions of the polygon are displayed. <br>Enable the tool and trace a polygon on the map. <br>Double-click or press the spacebar to complete the polygon.</p></td></tr><tr><td><img src="https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FhwdOeGws6uD78OwGGbDk%2Fsel_line.jpg?alt=media&#x26;token=a6ae938e-deb7-4b6e-b6bd-12f95baf9dc5" alt=""></td><td><p><strong>Linear selection</strong></p><p>Select one or more elements by tracing a line. <br>All elements on the line's path will be selected. <br>Enable the tool and trace a line on the map; double-click or press the spacebar to complete the line.</p><p><strong>Note</strong>: this option does not work with map points.</p></td></tr><tr><td><img src="https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FkgtK5t98v6sSz5frHOmJ%2Fsel_none.jpg?alt=media&#x26;token=019ecc7f-f37f-41b7-bb34-68300329b16d" alt=""></td><td><p><strong>Clear selection</strong></p><p>Unselect all selected elements on the map.</p><p><strong>Note</strong>: Using any selection tool, you can press and hold the <strong>CTRL</strong> key to add or remove elements in an existing selection.</p></td></tr></tbody></table>

{% hint style="info" %}
Selection tools are compatible with the snap function (refer to the [Snap](file:///Users/gorzanco/Library/CloudStorage/GoogleDrive-gorzanco@k2geospatial.com/Disques%20partage%CC%81s/K06-Documentation%20\(technique%20&%20commerciale\)/01%20JMap%20Server/JMap%207%20Kathmandu/Pro/PRO_EN/tools.md#snap) section).
{% endhint %}

## Selection Explorer

The selection explorer displays the attributes that are bound to the selected elements in the layers. Each layer is represented by a tab; the interface allows you to access all selected elements at any time, regardless of the layer they belong to. The selection explorer functions in a similar way to the elements explorer except that it only presents the map's selected elements (refer to the [Elements Explorer](https://docs.k2geospatial.com/en2/applications-user/jmap-pro-user-guide/map-layers/elements-explorer) section).

The figure shows the selection explorer interface:

<figure><img src="https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FgDu7RWjXYbeEGB44AvTK%2Fexplorateur_sel.jpg?alt=media&#x26;token=1bed9d53-21d7-4ff8-9404-90b1097af312" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th width="84"></th><th></th></tr></thead><tbody><tr><td><strong>1</strong></td><td>Each layer that contains selected elements is represented by a tab, which indicates the name of the layer and the number of selected objects.</td></tr><tr><td><strong>2</strong></td><td>A message indicates the total number of selected objects and the number of layers the selection spans.</td></tr><tr><td><strong>3</strong></td><td>All elements that are listed are selected. If you unselect an element, it disappears from the table.</td></tr></tbody></table>
