---
metadata:
  - name: generator
    content: Diplodoc Platform v5.48.2
alternate:
  - https://yandex.com/support/mapeditor/en/contur1.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/mapeditor/en/llms.txt

# 2.7.3. Simple polygonal items

Use the general drawing and editing techniques described in the following sections to draw simple polygonal items:

- [2.7.3.1. Drawing simple polygonal items](#draw_contur)
- [2.7.3.1.1. General drawing techniques](#1.1)
- [2.7.3.2.2. Drawing curves](#1.2)
- [2.7.3.2. Editing simple polygonal items](#redact_contur)
- [2.7.3.2.1. Deleting a vertex](#2.1)
- [2.7.3.2.2. Adding a vertex](#2.2)
- [2.7.3.2.3. Straightening polygon segments](#2.3)
- [2.7.3.2.4. Angle correction](#2.4)
- [2.7.3.2.5. Editing the inner polygon](#2.5)
- [2.7.3.2.6. Copying and cutting polygons](#2.6)
- [2.7.3.2.7. Undoing and deleting edits](#2.7)

In addition to the general drawing and editing techniques for polygonal items, there are rules for drawing specific items: buildings, bodies of water, and others. These rules are given in the subsections of Section [3. Global mapping rules](https://yandex.com/support/mapeditor/en/rules_2.md#rules_2).

## 2.7.3.1. Simple polygonal items: drawing techniques {#draw_contur}

To draw simple polygonal items, use the general techniques and the technique for drawing curves, which are described in the following sections:

- [2.7.3.1.1. General drawing techniques](#1.1)
- [2.7.3.2.2. Drawing curves](#1.2)

### 2.7.3.1.1. General drawing techniques {#1.1}

To draw a polygon:

1. Click on the appropriate category of items, such as **Buildings**![](_assets/btn_0_bld.png).

    The attribute panel for the map item opens:

    ![](_assets/bld_01.png)

    Additionally, you will see a local toolbar that contains the following:

    ![](_assets/btn_10.png)— **Undo**. Cancels the last operation with that map item. Keyboard shortcut **Ctrl + Z**.
    ![](_assets/btn_11.png)— **Redo**. Repeats the last operation with that map item (in other words, it reverts the item back to its state before you "undid" the last operation). Keyboard shortcut: **Ctrl + Y**.
    ![](_assets/btn_13.png)— **Redraw**. The button is deleted and you can start drawing it again (keyboard shortcuts **Ctrl + X**).
    ![](_assets/btn_30.png)— **Cutting mode**. This mode will let you enter lines that will then split the polygon when you save it.
    - You can also draw a closed shape. In this case, the cut-out polygon will be located inside the original one and have its characteristics.
    - This mode is used when you draw buildings that have shared walls of various heights. See [2.10.5. Object: slicing](https://yandex.com/support/mapeditor/en/objects_cutting.md#objects_cutting).
    ![](_assets/btn_09.png)— **Drag-and-drop mode**. In this mode, you can move the item to the correct position without changing its shape. For example, if you drew the polygon for the building based on its roof, you can drag it so that the polygon lines up with the [foundation](https://yandex.com/support/mapeditor/en/glossary.md#footprint) instead.
    ![](_assets/btn_16.png)— **Scaling and rotation mode**. In this mode, the item is framed, which lets you turn it by the appropriate number of degrees or change its size without ruining its proportions (see [below](#e)).
    ![](_assets/btn_08.png)— **Make angles equal**. If the difference between the polygon's angles is not significant, then it will make all the rectangle's angles 90 degrees. This is used for drawing rectangular items such as buildings. Keyboard shortcut **Ctrl + A**.
    ![](_assets/btn_07.png)— **Snap to other map items mode**. In this mode, the vertexes of the new item snap to neighboring polygons that were drawn earlier. This mode is used when you draw buildings that have shared walls of various heights.
    ![](_assets/btn_29.png)— **Round out corners mode**. In this mode, the angles become 90° semi-automatically. This mode highlights the position your cursor is in when the angle is 90°. You don't have to draw right angles, the highlighted cursor position may be changed). This is used to draw buildings with unusual shapes (where the footprint protrudes and caves in).

1. Draw item on map

    {% note alert %}

    When drawing, follow [2.7.1. General rules for drawing polygonal items](https://yandex.com/support/mapeditor/en/contur_2.7.1.md#contur_2.7.1).

    {% endnote %}

    1. Click on the beginning point of the polygon. The cursor will turn into a cross.

        Move your cursor to draw the polygon:

        ![](_assets/bld_03.png)

        {% note info %}

        As you draw buildings, the angles will automatically be straightened to 90°. This makes it easier and faster to draw rectangular footprints.

        You can disable this option when you draw buildings with footprints that are not rectangular. Just click and hold **Shift** (if you release the button, the function will automatically turn on again).

        {% endnote %}

    1. Release the mouse button, move your cursor to the next vertex of the polygon and and set it.

        Every vertex of the polygon displays as a circle on the map.

        In the middle of the two consecutive vertexes you entered, you'll see points that you can use to bend the line (see [below](#2.2)).

        Click on any of vertexes to open the context menu:

        #|
        ||
        ![](_assets/bld_04.png)
        |
        ![](_assets/hy_12.png)
        ||

        |#

        Click on one of them to perform the corresponding operation:

        - **Delete** — delete the vertex that is currently selected.
        - **Finish** — finish drawing the polygon.
        - **Continue** — continue drawing a polygon that was previously "finished" (starting from the current point).
        - **Delete polygon** — delete an internal polygon (only available if there is an internal polygon).
        - **Add internal polygon** — draw an internal polygon within the borders of the current polygon.
        - **Make angle 90°** — to make the selected vertex 90°.
        - **Round the corner** — round the selected corner (i.e. draws it using several vertexes). This command is available for drawing [vegetation](https://yandex.com/support/mapeditor/en/cat_veg.md), [terrain](https://yandex.com/support/mapeditor/en/cat_morf.md#cat_morf), and [hydrography](https://yandex.com/support/mapeditor/en/cat_hydr.md#cat_hydr) items, as well as [administrative divisions](https://yandex.com/support/mapeditor/en/cat_adm.md#cat_adm).

        - **Round all corners** — round all the item's corners (i.e. draw them using several vertexes). This command is available for drawing [vegetation](https://yandex.com/support/mapeditor/en/cat_veg.md), [terrain](https://yandex.com/support/mapeditor/en/cat_morf.md#cat_morf), and [hydrography](https://yandex.com/support/mapeditor/en/cat_hydr.md#cat_hydr) items, as well as [administrative divisions](https://yandex.com/support/mapeditor/en/cat_adm.md#cat_adm).

            {% note info %}

            After using this tool, examine the edited item to make sure there are no sharp corners left, rounding them manually if necessary.

            {% endnote %}

    1. When you draw buildings that contain section with different heights, those sections are drawn as **separate** buildings.

        If you need to add a shared border to a polygon (for example, to draw a building that has sections with different heights), click ![](_assets/btn_07.png) — **Snap to other map items mode**.

        In this mode, the vertexes of the new polygon will snap to the neighboring polygon that was drawn earlier (the vertexes will change colors when you snap them to each other).

    1. You can move the polygon if necessary (for example, to shift a building polygon that was drawn based on the roof to the location of the foundation). Just click ![](_assets/btn_09.png) — **Dragging mode** and drag the selected polygon to the correct place.
    1. You can turn an item by the appropriate number of degrees or change its size without ruining its proportions. Just click ![](_assets/btn_16.png) — **Scaling and rotation mode**.

        The item will be framed:

        ![](_assets/contur_03.png)

        You can turn the item by dragging the frame marker <q>with a tail</q>:

        ![](_assets/contur_04.png)

        Or you can change its size without changing its proportions (just use the markers in the corners of the frame):

        ![](_assets/contur_05.png)

    1. To add an internal polygon to the polygon (for example, to draw a courtyard within a building), select any vertex and click **Add internal polygon** in the context menu.

        {% note alert %}

        When drawing internal polygons, follow [2.7.2. Rules for using internal polygons](https://yandex.com/support/mapeditor/en/contur_2.7.2.md#contur_2.7.2).

        {% endnote %}

        Then draw the internal polygon (much like you drew the main polygon):

        ![](_assets/bld_02a.png)

1. After you draw the polygon:
    1. Select **Finish** in the context menu.
    1. Click **Save**.

        After you have drawn and saved the polygon, the panel will close and the polygon will appear on the map.

        The color of the polygon depends on the type of map item. For example, residential buildings are orange, and industrial buildings are purple:

        #|
        ||
        ![](_assets/bld_05.png)
        |
        ![](_assets/bld_06.png)
        ||

        |#

        If you don't want to save your polygon, click **Cancel**.

        The polygon will disappear.

When you select an item, it lights up and its name appears in a "tip":

![](_assets/bld_07.png)

### 2.7.3.2.2. Drawing curves {#1.2}

When drawing simple polygonal items (hydrography, vegetation, or terrain items), you can use the **Drawing curves** tool to simplify the process.

Here's how to use it:

1. When you start drawing an item, click **Curve drawing mode**:

    ![](_assets/curve_contur_1.png)

    {% note info %}

    Instead of clicking the **Curve drawing mode** button, you can use keyboard shortcuts **Cmd + K / Ctrl + K** before you start drawing.

    Pressing the combination again turns off the mode.

    {% endnote %}

1. Click on the item's start and end points. They will be connected by a line (highlighted in yellow):

    ![](_assets/curve_contur_2.png)

    This line can be transformed by moving the nodal points (displayed on the dotted line) with the mouse.

1. When you are happy with the line, click**Curve drawing mode** again to turn off the mode.

    The curve will be saved in the editing mode, which will allow you to correct its shape and placement:

    ![](_assets/curve_contur_3.png)

1. Click **Save** to save your item.

## 2.7.3.2. Simple polygon items: editing techniques {#redact_contur}

You can edit a simple polygon using the following operations:

- [2.7.3.2.1. Deleting a vertex](#2.1)
- [2.7.3.2.2. Adding a vertex](#2.2)
- [2.7.3.2.3. Straightening polygon segments](#2.3)
- [2.7.3.2.4. Angle correction](#2.4)
- [2.7.3.2.5. Editing the inner polygon](#2.5)
- [2.7.3.2.6. Copying and cutting polygons](#2.6)
- [2.7.3.2.7. Undoing and deleting edits](#2.7)

### 2.7.3.2.1. Delete a vertex {#2.1}

You can delete vertexes that you positioned incorrectly. After you delete the vertex, you can continue editing the polygon.

To delete a vertex:

1. Select the item on the map. The attribute panel for the map item opens (for example, <q>Building</q>).
1. In the attribute panel that opens, click **Edit**![](_assets/btn_03.png).

    The item and attribute panel will switch to editing mode:

1. Click on the appropriate vertex to open the context menu. Then click **Delete**. The vertex you selected will be deleted. In its place will be a straight line connecting the vertexes that neighbor the one you deleted:

    #|
    ||
    ![](_assets/c1_01.png)
    |
    ![](_assets/c1_02.png)
    ||

    |#

1. Click **Save**. Your changes will be saved.

### 2.7.3.2.2. Add vertexes {#2.2}

You can add a vertex to correct your drawing of an item. After you add vertexes, you can continue editing the polygon.

To add vertexes:

1. Select the item on the map. The attribute panel for the map item opens (for example, <q>Building</q>).
1. In the attribute panel that opens, click **Edit**![](_assets/btn_03.png).

    The item and attribute panel will switch to editing mode:

1. Drag the point in the middle of two vertexes to the appropriate place. Release the mouse button to place the new vertex in the position you selected:

    #|
    ||
    ![](_assets/c1_05.png)
    |
    ![](_assets/c1_06.png)
    ||

    |#

1. Click **Save**. Your changes will be saved.

### 2.7.3.2.3. Straightening polygon segments {#2.3}

To straighten a polygon segment between two vertices (removing all vertices between the first and last vertices of the segment being straightened):

1. Select the item on the map. The attribute panel for the map item opens (for example, <q>Building</q>).
1. In the attribute panel that opens, click **Edit**![](_assets/btn_03.png).

    The item and attribute panel will switch to editing mode:

1. Click the first of the vertices you plan to delete and select **Set the operation starting point** in the context menu that opens:

    ![](_assets/rd_draw_05.png)

    The selected vertex will be marked with an arrow:

    ![](_assets/rd_draw_06.png)

1. Click the last of the vertices you plan to delete and select **Straighten from the starting point to the current point** in the context menu that opens:

    ![](_assets/rd_draw_07.png)

    The line between the first and last of the vertices to be deleted will be straightened, and the vertices between them will be deleted:

    ![](_assets/rd_draw_08.png)

1. Click **Save**. Your changes will be saved.

### 2.7.3.2.4. Make angle 90°. {#2.4}

You can make an angle 90° if you did not manage to draw a perfect right angle yourself. After you make the angles right, you can continue editing the polygon.

To make an angle 90°:

1. Select the item on the map. The attribute panel for the map item opens (for example, <q>Building</q>).
1. In the attribute panel that opens, click **Edit**![](_assets/btn_03.png).

    The item and attribute panel will switch to editing mode:

1. Select the appropriate vertex to open the context menu and then click **Make angle 90°**. The point you selected will become a right angle:

    #|
    ||
    ![](_assets/c1_03.png)
    |
    ![](_assets/c1_04.png)
    ||

    |#

1. Click **Save**. Your changes will be saved.

### 2.7.3.2.5. Edit internal polygon {#2.5}

{% note alert %}

When drawing internal polygons, follow [2.7.2. Rules for using internal polygons](https://yandex.com/support/mapeditor/en/contur_2.7.2.md#contur_2.7.2).

{% endnote %}

To edit the shape of an internal polygon:

1. Select the item on the map. The attribute panel for the map item opens (for example, <q>Building</q>).
1. In the attribute panel that opens, click **Edit**![](_assets/btn_03.png).

    The item will switch to editing mode and a local toolbar will open:

    ![](_assets/c1_07.png)

1. Edit an internal polygon.

    internal polygons are edited the same way that polygons are:

    - [2.7.3.2.1. Deleting a vertex](#2.1)
    - [2.7.3.2.2. Adding a vertex](#2.2)
    - [2.7.3.2.3. Straightening polygon segments](#2.3)
    - [2.7.3.2.4. Angle correction](#2.4)

    Additionally, you can **delete** an internal polygon. Just select **Delete polygon** from the context menu after you click on any point of the internal polygon.

1. Click **Save**. Your changes will be saved.

### 2.7.3.2.6. Copy and split a polygon {#2.6}

To draw several identical items (such as buildings based on the same blueprint), just **Copy** an item.

The copy procedure is described in Section [2.10.4. Item: copying](https://yandex.com/support/mapeditor/en/objects_copy.md#objects_copy).

To split a polygon such as a building, you can use the **Split** function.

You can also draw a closed shape. In this case, the cut-out polygon will be located inside the original one and have its characteristics.

The cutting procedure is described in Section [2.10.5. Object: slicing](https://yandex.com/support/mapeditor/en/objects_cutting.md).

### 2.7.3.2.7. Undo edits and delete {#2.7}

You can use the **Undo edits** button to return an item to the condition it was in before you started editing it (all the way back to the condition it was in when it was last approved by a moderator). If the item was created recently and still hasn't been approved by the moderator, then undoing edits will result in the item being deleted.

Only moderators have access to the **Delete** operation that lets them delete an item. YME users can delete items they created in error by undoing their own edits until the item disappears (if they created it themselves and it was not approved by a moderator yet). If an item that was created earlier and already approved by a moderator needs to be deleted, you should [report it to the moderator](https://yandex.com/support/mapeditor/en/objects_undo.md#fb_0).

The procedure for undoing edits is described in [2.10.6. Item: undoing edits, error messages, removing items, linking to items](https://yandex.com/support/mapeditor/en/objects_undo.md).

### 2.7.3.2.8. Reporting errors to the moderator {#2.8}

If an item was already approved by the moderator, then undoing edits will return the item to the condition it was in when it was approved. In this case users cannot delete an item by themselves and will need to **report** the item to the moderator for it to be deleted. You can send error reports to the moderator regarding a number of issues, not just when you need to remove an item.

The procedure for sending reports is described in Section [2.10.6. Item: undoing edits, error messages, removing items, linking to items](https://yandex.com/support/mapeditor/en/objects_undo.md#objects_undo).

[Contact support](https://yandex.com/support/mapeditor/en/troubleshooting/fb_nmaps.md){.button}

<!-- source: en/_includes/styles.md -->
#### {#href-button}


<!-- endsource: en/_includes/styles.md -->
