Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Is there a way to calculate perimeter of polygons with the field calculator of qgis, like there is for area calculation?enter image description here

share|improve this question
add comment

2 Answers

up vote 11 down vote accepted

Try using $perimeter

The feature is there, just not exposed via the UI.

Note: I'm currently working on a better UI then the current one that will expose all the possible functions. See http://hub.qgis.org/issues/3488

share|improve this answer
    
Although I posted an answer, I like this one better because you don't need to create a new shapefile just to update or add a new column in the attribute table. –  maning Aug 2 '11 at 11:49
    
Btw, where can one find a comprehensive list of all possible but unexposed features like $perimeter? –  SAnderka Aug 2 '11 at 16:11
1  
Clicking on the Help button in the field calculator should give you a up to date list. –  Nathan W Aug 3 '11 at 1:34
add comment

You can use the Ftools/Vector Plugin. Vector > Geometry Tools > Export/Add Geometry Columns. This creates a new shapefile the with Area and Perimeter columns.

enter image description here

share|improve this answer
    
Sneaky but Awesoem –  dassouki Aug 2 '11 at 11:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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