I have vector layer of lines. How can I examine length of lines?

enter image description here


In QGIS start an edit session for your line layer, then open the attribute table. Click the Field Calculator button, create a new field with a "Double" data type, set the width and precision, then enter $length in the Expression area. When you click OK the length for each feature will be calculated. The length will be expressed in units of the layer's coordinate system, so you'll get meters if it is in meters, but you'll get degrees if your CRS is in degrees.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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