wiki:Help/Action/OrthogonalizeShape

Version 28 (modified by Klumbumbus, 2 weeks ago) (diff)

+ partial-without-split

Tools > Orthogonalize Shape

source:trunk/resources/images/ortho.svg Keyboard shortcut: Q

Move nodes that all angles are 90 or 180 degrees.

With one or more ways selected, the form will be modified so that all angles will be 90 or 180 degrees.

source:trunk/resources/images/misc/error.svg Be careful when using this feature e.g. on buildings. A lot of buildings are indeed not orthogonal in reality.

Simple use case

Select each way separately or several ways together and hit Q. This will orthogonalize each single way on its own. Ways with min. 2 sharing nodes which were selected together were orthogonalized together too.

Using two nodes for alignment

You can select two additional nodes. Then segments will be aligned in accordance with these nodes.

https://github.com/mapbox/mapping/wiki/Mapping%20Common%20Features#buildings https://github.com/mapbox/mapping/issues/162

Complex buildings

  • temporarily split buildings with P Split Way
  • orthogonalize portions of a building as usual
  • reconnect parts back with C Combine Ways

https://github.com/mapbox/mapping/wiki/Mapping%20Common%20Features#buildings https://github.com/mapbox/mapping/issues/162

To orthogonalize a part of a building without splitting it, simply select the wanted nodes. Note that the selection order of the nodes does matter here, so selecting e.g. via rectangle will usually not work.

Undo moves of selected nodes

Select nodes you want to undo, then press Shift+Q and selected nodes will be placed back to origin.

Orthogonalization is not Rotation

Before (note small extrusion, multiple times smaller than other part):

After Orthogonalization (dimensions/length is not preserved):

For rotation see Rotate.


Back to Menu Tools
Back to Main Help

Attachments (10)

Download all attachments as: .zip