Example: Change the Shape of Areas

Please review the Editing Drawings topic before proceeding.    In this topic we show a sequence of editing moves using illustrations that show a drawing layer in a map on the right side of the illustration with a view of the Record panel in the Contents pane on the left side of the illustration.

 

To edit an existing object, alt-click on that object.   The Record panel immediately pops open in the Contents pane to display the Values tab, showing field values, that is, attributes, for that object.

 

A vertex is one of the coordinates that defines an object.   Many GIS packages use the term vertex instead of coordinate.   To change the shape of an area we move the vertices that define the shape of the area, perhaps also adding or removing vertices.

 

To move a vertex in an object:

 

  1. Alt-click on the object.   Small blue boxes appear at the vertices that define the object, and the Contents pane automatically switches to the Record panel's Values tab.

  2. Click on the Coordinates tab of the Record panel.  The small blue boxes at vertices increase slightly in size, and the active vertex is indicated by a larger box.

  3. Click on the vertex to be moved and then drag it to whatever position is required.

  4. The new location will be previewed both in the drawing and in the Coordinates tab table in blue preview color Press Ctrl-Enter or the Update Record button for the change to take effect.  Press Ctrl-Back or Esc to abandon the edit.  

 

To save changes or to undo changes we can also Right-click into the drawing and choose Save Changes or Undo Changes.

 

eg_change_shape_areas01_01.png

 

Alt-click the area to be changed.   The vertices of the area are highlighted as small boxes in blue preview color, with the area border line segments between blue vertex boxes also drawn in blue preview color.   The Record panel automatically opens in the Contents pane, with the Value tab showing attributes (field values) for the alt-clicked area.   To edit the area, we click on the Coordinates tab.

 

eg_change_shape_areas01_02.png

 

The Coordinates tab shows the coordinates of vertices, displaying them in the native projected units of the drawing (meters in this case, since the drawing is in Pseudo Mercator projection).   The blue boxes marking vertices increase slightly in size.  The context or active vertex is marked with a dark row handle in the Coordinates list and with a larger box in the drawing.   We can drag the active vertex to a new position.   To make a different vertex the active vertex, we can click on it.

 

eg_change_shape_areas01_03.png

 

We can then drag the active vertex to whatever new position is desired.   The new shape of the area will be shown in blue preview color outline.

 

eg_change_shape_areas01_04.png

To apply the change, we can Right-click anywhere in the drawing and choose Save Changes from the pop-up menu.  Alternatively, we can press Ctrl-Enter as a keyboard shortcut.

 

This topic in subsequent steps illustrates both the Right-click and then Save Changes method to commit changes as well as the Ctrl-Enter keyboard method.

eg_change_shape_areas01_05.png

Choosing  Save Changes commits the edit.  The area is redrawn in the changed shape, and the Record pane switches back to the Values tab.   The area is still alt-clicked as the active object for the Record pane.   

 

 

To move multiple vertices together:

 

  1. Alt-click on the object.   Small blue boxes appear at the vertices that define the object, and the Contents pane automatically switches to the Record panel's Values tab.

  2. Click on the Coordinates tab of the Record panel.  The small blue boxes at vertices increase slightly in size, and the active vertex is indicated by a larger box.

  3. Click on first vertex in the set to be moved. The row handle for that vertex in the Coordinates tab list will darken to show it is chosen.

  4. Ctrl-click on that row to select it.  The vertex's box will darken as well.  

  5. Ctrl-click on the rows for other vertices to be selected.  Their boxes will darken as well, with the bigger, darkened box moving in turn to the whichever vertex we have just ctrl-clicked.

  6. Drag and move the bigger darkened vertex to the desired position.   All other selected vertices will move along with that box.

  7. The system will preview the result using blue preview color Press Ctrl-Enter or the Update Record button for the change to take effect.  Press Ctrl-Back or Esc to abandon the edit.  

 

 

Moving multiple vertices together is similar to moving one vertex.     We alt-click the area to be changed, and then we click on the Coordinates tab in the Record panel.

 

eg_change_shape_areas01_06.png

In the drawing, we click the first of the vertices that will be moved together.   Clicking the vertex marks it with a larger box and also marks that coordinate's row with a darker row handle in the Coordinates list.  We can Ctrl-click that row to select it.

 

eg_change_shape_areas01_07.png

 

The selected row appears in red selection color in the Coordinates list.  In the drawing, the edit handle for the vertex appears in filled-in, darker blue preview color.

 

eg_change_shape_areas01_08.png

In the Coordinates list we Ctrl-click the rows for all vertices we want to move together, to select them.   They appear in red selection color in the Coordinates list and their handles in the drawing appear in filled-in, darker blue preview color.

 

eg_change_shape_areas01_09.png

 

When we drag the active, larger vertex handle to a new position, all selected vertices will move with it as if we had applied exactly the same mouse motion to them.  The resulting new shape of the area is shown in blue preview color.

 

eg_change_shape_areas01_10.png

Pressing Ctrl-Enter on the keyboard applies the change.

 

 

To move an entire object:

 

  1. Alt-click on the object.   Small blue boxes appear at the vertices that define the object, and the Contents pane automatically switches to the Record panel's Values tab.

  2. Click on the Coordinates tab of the Record panel.  The small blue boxes at vertices increase slightly in size, and the active vertex is indicated by a larger box.

  3. Ctrl-A to select all rows in the Coordinates tab list.   That selects all vertices.  One of them will be marked with a larger box.  

  4. Drag and move the bigger darkened vertex to the desired position.   All other selected vertices, that is, the entire object, will move along with that box.

  5. The system will preview the result using blue preview color Press Ctrl-Enter or the Update Record button for the change to take effect.  Press Ctrl-Back or Esc to abandon the edit.  

 

Moving an entire object is similar to moving multiple vertices.  We simply select all vertices in the Coordinates list.

 

eg_change_shape_areas01_11.png

As before, we alt-click the area, and then we click the Coordinates tab.  In the Coordinates list we press Ctrl-A on the keyboard to Select All, a standard Windows keyboard shortcut.     Another way of selecting all coordinate rows would be to Ctrl-click the first row to select it, and to then Shift-Ctrl-click the last row to select that row and all rows in between.

 

eg_change_shape_areas01_12.png

All of the rows in the Coordinates list are selected and shown in red selection color.    All vertices for the area are selected, so in the drawing all vertex handles for the area  appear in filled-in, darker blue preview color.

 

eg_change_shape_areas01_13.png

 

If we now drag the larger, active vertex to a new location all the other vertices will move with it.  This moves the entire object, with the new position previewed in blue preview color.

 

eg_change_shape_areas01_14.png

Press Ctrl-Enter to commit the edit.

 

 

To delete a vertex from an object:

 

  1. Alt-click on the object.   Small blue boxes appear at the vertices that define the object, and the Contents pane automatically switches to the Record panel's Values tab.

  2. Click on the Coordinates tab of the Record panel.  The small blue boxes at vertices increase slightly in size, and the active vertex is indicated by a larger box.

  3. Click on the vertex to be deleted.  The row handle for that vertex in the Coordinates tab list will darken to show it is chosen.

  4. Ctrl-click on that row to select it.  The vertex's box will darken as well.    Press the Delete button in the Coordinate tab's toolbar to delete the vertex.

  5. The system will preview the result using blue preview color Press Ctrl-Enter or the Update Record button for the change to take effect.  Press Ctrl-Back or Esc to abandon the edit.  

 

As before, we Alt-click the target area and then we click the Coordinates tab to enter editing mode.  

 

eg_change_shape_areas01_15.png

We click the vertex to be deleted.  It appears in the drawing with a larger box and the corresponding row in the Coordinates list is marked with a darker row handle.  We Ctrl-click the row to select it.

 

eg_change_shape_areas01_16.png

When the row is selected, the Delete toolbar button becomes enabled.   We press the Delete button to delete the vertex.

 

eg_change_shape_areas01_17.png

 

The system previews the change for us in blue preview color.

 

eg_change_shape_areas01_18.png

We press Ctrl-Enter to commit the edit.

 

 

To add a vertex to an object:

 

  1. Alt-click on the object.   Small blue boxes appear at the vertices that define the object, and the Contents pane automatically switches to the Record panel's Values tab.

  2. Click on the Coordinates tab of the Record panel.  The small blue boxes at vertices increase slightly in size, and the active vertex is indicated by a larger box.

  3. Click on the vertex next to where the new vertex is to be added.

  4. Press the Insert key on the keyboard.  The mouse now goes into drawing mode to insert a vertex.

  5. Click where the new vertex is to appear.  Click again to create additional vertices.

  6. The system will preview the result using blue preview color Press Ctrl-Enter or the Update Record button for the change to take effect.  Press Ctrl-Back or Esc to abandon the edit.  

 

To add a vertex we begin as before, Alt-clicking the target area and then choosing the Coordinates tab.

 

 

eg_change_shape_areas01_19.png

In the drawing we click on the vertex at the beginning of the line segment on which we would like to add a new vertex.   With a bit of practise this becomes automatic.  We press the Insert button on the keyboard.

 

eg_change_shape_areas01_20.png

When we press the Insert button, a new row appears in the Coordinates list, and the mouse cursor in the drawing switches into editing mode: boundary lines in blue preview color will rubber band from the end vertices of the former single segment to the mouse position.   We click to mark the desired location of the new vertex.

 

eg_change_shape_areas01_21.png

A new vertex appears where we clicked with a corresponding new row in blue preview color in the Coordinates list.  Blue preview lines continue to rubber-band to the mouse position.  We can click to add more new vertices, or we can press Ctrl-Enter to accept the edit with one new vertex added.

 

eg_change_shape_areas01_22.png

When we press Ctrl-Enter the edit is commited and the area appears in the new, changed shape with a new vertex added.

 

 

See the Contents - Record topic for additional info.

 

Notes

Moving non-adjacent vertices together - When moving multiple vertices, the vertices need not be adjacent.

 

eg_change_shape_areas01_23.png

If we like, to select them in the Coordinates list we can Ctrl-click on three different rows for vertices that are not all adjacent to each other.

 

eg_change_shape_areas01_24.png

 

The last one we Ctrl-click becomes the active vertex. When we drag that vertex to a new location all of the selected vertices will move with it.

 

eg_change_shape_areas01_25.png

Pressing Ctrl-Enter applies the change.

See Also

Getting Started

 

User Interface Basics

 

Drawings

 

Editing Drawings

 

Contents - Layers

 

Contents - Record

 

Example: Draw Lines, Areas and Points - Simple example of using basic mouse moves to add points, lines and areas to a drawing.

 

Example: Trace an Area in a Map over an Image Background - In a map with a drawing layer above an image layer, create an area object in the drawing by tracing over the outlines of something seen in the image layer below.

 

Example: Edit Coordinates While Creating an Object - When creating an object in a map using a tool such as Create Area, right in the middle of the process we can edit coordinates in the Contents - Record panel's Coordinates tab.   This example shows the step by step process.

 

Example: Edit Attributes and Move a Point - We look at the attributes for a point in a drawing layer and edit one of the attributes using a more expanded Edit dialog.  We then move the point to a new location. Easy!

 

Example: Edit Attributes, Larger Text, IME for Asian Languages - A tour showing how to edit attributes in a drawing using the Record panel Values tab and the expanded Edit dialog, including advanced Unicode facilities and use of the built in Input Method Editor (IME) to input text in Japanese language.

 

Example: Create a Multipoint - This topic provides two examples:  First we create a multipoint and then next we create a multipoint having two branches.  The purpose of this topic is to help teach the implementation of geometry in Manifold and other spatial packages using an unusual and rarely met object type, the multipoint, which combines what appear to be many separate points into a single multipoint object.

Videos

Manifold Future - Future Tour Part 1 - This video shows how to download and use a portable installation for Manifold Future.  The video also shows the Contents, pane, layers and layer opacity, one click use of data source favorites, using your own archival favorite and getting record values instantly.  If you are using Viewer or Radian Studio, download and use the Future version to get access to all these powerful new features.

 

Manifold Future - Future Tour Part 2 Editing - The video shows how to create new objects, how to add fields and vertices and move vertices around, how to edit existing objects and how to use simple selection methods to choose vertices to move together, including moving all objects.

 

Manifold Future - Future Tour Part 3 Editing - The editing tour continues with a look at how to create branched objects, including how to create areas with holes and islands, how to add branches to lines and how to add coordinates between vertices in existing objects.  We finish up by creating an area that traces over a pond in the Luxembourg Gardens in Paris using a Google satellite view, and then we add a hole to that area and two additional islands.

 

Manifold Future - Future Tour Part 4 Edit Attributes, Move a Point - We use Manifold Future to see how to view attributes of objects in drawings, including use of the new Edit dialog to view long, multi-paragraph text fields.  We edit fields and see how easy it is to preview edits and either accept them or abandon them. We switch to editing the geometry of objects in a drawing, viewing the coordinate locations and using mouse moves to reposition points. We edit the location of a point to correct an error in a drawing, using Google Satellite view to provide context for the correction.  Fast and easy, with previews all the way!

 

Manifold Future - Future Tour Part 5 Unicode Attributes and IME -  We take a tour through Manifold Future attribute editing, showing how to edit attributes in a drawing using the Record panel Values

tab and the expanded Edit dialog, including advanced Unicode facilities and use of the built in Input Method Editor (IME) to input text in Japanese language.