Drawing Polygons and Polylines - MapInfo_Pro - 2023

MapInfo Pro Help

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
2023
Language
English
Product name
MapInfo Pro
Title
MapInfo Pro Help
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:39:16.995549

Drawing polygons is different than drawing other shapes because you are creating a region on which you can perform other editing and analysis.

For instance, you want to create school districts for your map. You have a street map of your town to guide you in defining the school district boundaries.

To create a polygon:

  1. Make the layer that you want to work with editable. On the HOME tab, in the Windows group, click Tool Windows, and click Layers from the list, to open the Layers window.

    You can also see map layers in the Explorer window.

    Click the Editable icon beside the layer name to turn On editing.

    Click the Selectable icon beside the layer name to turn On selection.

  2. On the SPATIAL tab, in the Create group, click Insert, and Polygon. The cursor becomes a cross hair.
  3. Click a starting point on the map for the polygon.
  4. Continue to click to add segments to the polygon.
  5. When you are ready to complete the object, double-click the last end point.

    You can delete the last node by pressing the Backspace key.

Note: If there is only one node left in the object it will not be deleted.

You can then use the Combine commands (on the SPATIAL tab, in the Edit group) to combine this region with another or reshape the region.

Polylines are made up of multiple line segments that are treated as one object. Unlike lines created with the Line command, you can smooth polylines into a continuous curve using the Smooth Lines command (on the SPATIAL tab, in the Edit group, click Fix/Clean, and Smooth Lines). You can delete the last node by pressing the Backspace key.

Note: If there is only one node left in the object it will not be deleted.

Drawing Orthogonal Polygons

You can draw orthogonal (right angle) polygon line segments when you press the Ctrl key. Using this key you can draw the polygon at 45 degree increments relative to the slope of the last line segment. This functionality works for Line, Polyline, Polygon, and Ruler commands.

This functionality is useful when you want to draw perpendicular lines at an angle rather than horizontal to the map.

Note: Snap and Autotrace functionality must be turned off to use this feature, because when these features are activated, the Ctrl and Shift keys have other purposes. The Shift and Ctrl keys also do not operate when you are using the Polygon Selection command.

To see this functionality:

  1. On the HOME tab, click Open and select a map to display.
  2. Make the layer that you want to work with editable. On the HOME tab, in the Windows group, click Tool Windows, and click Layers from the list, to open the Layers window.

    You can also see map layers in the Explorer window.

    Click the Editable icon beside the layer name to turn On editing.

    Click the Selectable icon beside the layer name to turn On selection.

  3. On the SPATIAL tab, in the Create group, clickInsert, and Polygon.
Note: This works with any of the Line, Polyline, and Ruler commands as well, we are just using the Polygon command as an example.
  1. Click and draw a single line in any direction other than horizontal following these directions:
    • To draw the next segment perpendicular to the last segment, press Ctrl while dragging the cursor.
    • To draw the next segment perpendicular to horizontal, press Shift while dragging the cursor.

Tracing Polylines and Polygons

When you are drawing a new polyline or polygon, you can use Autotrace to trace nodes from existing polylines or polygons. The Autotrace tool is only in effect when you are using a polygeometric tool (when adding a polyline or polygon, or when selecting a polygon) and Snap is on.

Use Autotrace to trace a boundary of an existing object and avoid creating splinter polygons trying to trace a difficult line.

To trace the nodes of an existing polyline or polygon:

  1. Press the S key to activate Snap Mode.
  2. Press the T key to activate Autotrace (for information about autotrace, see Autotracing Objects).
  3. Click on the first node of the polyline/polygon you want to trace.
  4. Move the mouse to another node of the same object. Follow the procedure below for the type of object you are tracing:
    • Polyline: Hold down the Shift key or the Ctrl key and click.
    • Polygon: Hold down the Shift key for the shorter set of nodes or the Ctrl key for the longer set of nodes and click.

      Pressing the Shift or Ctrl keys highlights the trace path. Click to automatically trace the segments between the nodes and add them to the polyline/polygon you are drawing.

  5. Continue until you have traced the entire polygon/polyline and right-click to end.
Note: Autotrace only one object at a time; clicking nodes in different objects will produce a straight line between the two nodes.