wiki:Help/Action/OrthogonalizeShape

Tools > Orthogonalize Shape

source:trunk/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/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

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

Last modified 8 weeks ago Last modified on 2018-04-27T23:53:24+02:00

Attachments (9)

Download all attachments as: .zip