Knowledge Base



KB10770 - Rotate or move a line or polygon shape using COGO.

One way to rotate or move a vector line (such as a a property parcel boundary line) or polygon shape is using the Editor's COGO (Coordinate Geometry) editing feature. The COGO feature is intended primarily to plot land parcel boundaries from bearing/distance calls contained in land deed records, but it can also be used to edit existing line shapes such as described here.

To move a line or polygon shape
  • Select the shape using the Edit shape tool (available under the menu Shape/Edit shape) and open the COGO tab found within the Selected panel.
  • Within the COGO tab, edit the x,y coordinate values for vertex No 0 to reflect the new location for this vertex. Click on OK to make visible the pending change.
  • Again click the on Edit shape tool to save the change.
Because in COGO mode the locations of all the vertices composing the shape are dependent on the location of vertex No 0, moving that single vertex moves the entire shape.

To rotate a line or polygon shape
  • Select the shape using the Edit shape tool (available under the menu Shape/Edit shape) and open the COGO tab within the Selected panel.
  • Within the COGO tab, set the absolute/relational setting for the Bearing column to relational.
  • Within the COGO tab, edit the bearing (direction) for vertex No 1 (this is the bearing from vertex No 0 to vertex No 1) to the desired rotation. Click on OK to make visible the pending change.
  • Again click the on Edit shape tool to save the change.
Because in COGO Bearing relational mode the locations of all vertices - other than vertex No 0 - are dependent on the bearing (direction) of the first line segment (from vertex No 0 to vertex No 1), editing the bearing of that line segment rotates (pivots) the entire shape around the vertex No 0.

Consider using (instead of COGO features):

  • The Editor MoveCopyShape (see: KB10855) script to move or copy all or a potion of a line, polygon, or multi-point shape to a new location in the same or different layer.
  • The Editor RotateShape (see: KB10855) script to rotate a line, polygon, or multi-point shape around the shape's centroid or any one of the vertices forming the shape.
     
Created: September 15, 2007, Modified: October 13, 2012
follow us on Facebook  follow us on Twitter  follow us on Google +  follow us on LinkedIn  Embarcadero