# Modify Objects

When you have the required permissions, you can modify the objects of a project's editable layers.&#x20;

{% hint style="warning" %}
It is possible that you will only be able to change the elements you created.
{% endhint %}

To modify an object, follow these steps:

1. Touch ![img](https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FhAp4LmnjwQirEniEWnI7%2Fcouches.png?alt=media\&token=c51b69ae-31db-490a-98d5-5071d64cb154) to display the project's layers.
2. Select the layer to modify in order to make sure it is visible on the map.
3. Touch the object to modify in order to display its mouseover bubble.
4. Touch ![img](https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2F92GkQlRTMktynnSRfoWs%2Fedit.png?alt=media\&token=ee703874-cde0-475a-8a2b-b2177918d723) to open the editing interface.

   ![img](https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FPuDU3N1fBfYaEkklks4e%2Fclip_28.png?alt=media\&token=747a854c-26dc-4913-81b2-ceac08f234b7)
5. Select the type of modification you want to make: \
   \- Edit Geometry \
   \- Edit Info \
   \- Create or modify a subform \
   \- Delete the object.&#x20;

The following sections describe each type of modification.

## Editing geometry

1. Select **Edit Geometry** to modify the geometry and/or position of the object.

### Editing a point geometry

You can modify the location of point objects:

1. Touch the map to indicate its new location; a marker will indicate the chosen location. You can also touch ![img](https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FVrL5HAwrWQ61aUCT4YtT%2Fgeolocalize.png?alt=media\&token=53439a13-6438-4322-89fe-02996e03535d) to bring the object to your current location.

   ![](https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2Ff4WUm8YhQN6wlMxgR6JP%2Fclip_29.png?alt=media\&token=f4a88437-1c4d-4694-ad43-c27cd312fdb2)
2. Touch **Save** to save the change or **Cancel** to disregard it.

### Editing lines and polygons geometries

You can modify the shape of linear or polygonal objects by adding, moving or deleting vertices.

The object's vertices are displayed with a number.

You can save each change after you make it or make multiple add and move vertex changes and save them together.&#x20;

{% hint style="warning" %}
Vertex additions and moves that produce [self-intersecting polygons](https://lexique.netmath.ca/en/self-intersecting-polygon/) are not accepted and you cannot save the changes.
{% endhint %}

To add a vertex:

1. Touch the map where you want to create the vertex. The new vertex is displayed with its number and the shape that will adopt the object with the movement is displayed transparently on the map.
2. Touch **Save** to save the change, **Cancel** to leave it without effect, or continue making changes. When the changes are saved, the object is displayed with its new shape.<br>

   <figure><img src="https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2F9amB1QtT1gJQJO96FTtd%2Fsurvey-clip_53.png?alt=media&#x26;token=a06d8bcf-6dfb-4b95-998b-ab90e3df2fed" alt=""><figcaption></figcaption></figure>

To move a vertex:

1. Touch the vertex and drag it to the new place. The shape that the object will adopt with the movement is displayed transparently on the map.
2. Touch **Save** to save the change, **Cancel** to leave it without effect, or continue making changes. When the changes are saved, the object is displayed with its new shape.<br>

   <figure><img src="https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FGJ7VdZdvCU24gpV4hMAA%2Fsurvey-clip_52.png?alt=media&#x26;token=9593ed39-47d1-4618-b98f-db3e82572093" alt=""><figcaption></figcaption></figure>

To delete a vertex:

1. Touch the vertex to select it. The **Delete** and **Cancel** buttons appear.
2. Touch **Delete** to delete the vertex. The shape that the object will adopt with the movement is displayed transparently on the map.
3. Touch **Save**. The change is saved and the object is displayed with its new shape.<br>

   <figure><img src="https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FYvq4fQsqReP68lJ36ZwH%2Fsurvey-clip_50.png?alt=media&#x26;token=d1ff04ad-f6a1-4967-b4d9-2686f7b4d8d7" alt=""><figcaption></figcaption></figure>

## Editing attribute information

You can modify the object attribute information:

1. Select **Edit Info** to modify the attribute information. \
   The form opens, allowing you to modify the editable fields and subforms. \
   You can use the voice function of your phone to orally indicate the value of the field. The text is transcribed automatically.

   ![img](https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2Fk1DJ97qoCZ2u7yL5kzJn%2Fclip_30.png?alt=media\&token=4e3e05c2-8a29-4096-b7ca-0c12775df198)\
   Some fields are affected by data validation rules. These rules are configured by the JMap administrator to ensure the quality of the data collected with the form.

   Two examples of validation rules:

   a) If I select certain values in field A, field B becomes mandatory.

   b) I select a value in field A and the field B value is calculated automatically.

   You cannot save the form if the values you enter do not meet the validation rules.
2. To edit comments on a photo, tap it to view the photo with its comment.
3. Touch **Edit** to access the comment editing screen. \
   You can write a comment of a maximum of 255 characters. \
   You can use the voice function of your phone to indicate the comment orally. The text is transcribed automatically.
4. Touch **Save** to save the change, **Cancel** to disregard it or ![img](https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FhxVqQeVnzL8a6kuX4t0o%2Fclip_48.png?alt=media\&token=9210c7f1-76a6-417a-ba40-0b4ceed4eab1) to delete the photo.

   ![img](https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FnxoWdtP1pAulj7MEa9jR%2Fclip_47.png?alt=media\&token=8bc579f1-6faf-47ec-8e1e-61444bf4067f)

### Editing subforms

If the object has subforms configured to, for example, log inspections over time, you can modify the information in the subforms directly, without going through the form (as in the previous case).

1. Shortcuts to the subforms will then be displayed in the editing interface. \
   These shortcuts will allow you to directly access the subforms and fill them out.\
   In the example below, an *Inspection* subform exists, and its shortcut is called **Create Inspection**. Touch **Create Inspection** to create a subform associated with the object's attributes form.

   ![img](https://2098443701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcA9CuUnY5hTYroiPhD1w%2Fuploads%2FqyWzUh2p6zZtvQZojoBj%2Fclip_31.png?alt=media\&token=b7957ec8-a446-4b3b-aedc-3c239bd216ca)
2. Touch **Save** to save the changes made in the form and subforms.

## Deleting the object

1. Touch **Delete** to eliminate the object. If you have the required permission, the object will be eliminated.
