I create a new shapefile layer as a line. Then I activated editing mode and want to draw vertical or horizontal lines with add feature but holding shift does not allow to draw a horizontal or vertical line (I used QGIS 2.14.4).

How can I draw horizontal or vertical lines as a shapefile?

2 Answers 2


The CADTools plugin has a feature named Orthogonal Digitizing.

While in editing mode of a line or polygon layer, holding ctrl allows to draw orthogonal lines.

Furthermore, the QAD plugin snaps to the horizontal or vertical axis when drawing a LINE object.


If you would like to draw a grid you can use the Create Grid algorithm (see: https://docs.qgis.org/2.6/en/docs/user_manual/processing_algs/qgis/vector_creation_tools/creategrid.html). For arbitrary horizontal lines you can use the Numerical Digitize Plugin, giving the same value for the north coordinate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.