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.

In Quantum GIS (1.8.0-Lisboa) on Windows (OSGeo4W Install), how exactly would you resize a feature proportionally.

The only way I've found to do this is by hand using either the Freehand Editing (0.2.6) plugin or the Reshape Features button. Neither of these provides a means to uniformly scale (as in resize) the selected feature up or down.

For example, I want to increase the features size by 130% so that you retain the shape of the feature but expand the area of the shape itself proportionally in all directions?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

In QGIS you can use the Affine functions for scaling vector features. In the Vector menu:

enter image description here

And the dialog looks like this:

enter image description here

If you enter 1.3 in both the "Scale X" and "Scale Y" boxes, then the layer (or just the selected feature(s) will be scaled up by 130%. This operation will scale the features proportionally, but be aware that depending on the coordinate reference system (CRS) you are using the results may look warped. For example, if you are using a Mercator projection and scale a large polygon near to the north or south pole, then it will appear to stretch more the closer it is to the pole. For smaller polygons near the center of the given CRS there will be no noticeable distortion.

Edit: To see what I mean about distortions, try the Mercator Puzzle. It's fun!

share|improve this answer
2  
Good answer. Took me a second to understand that Affine functions needed to be installed as a plugin. I imagine with the constraints of the CRS (in my case I see: EPSG:4326 - WGS 84) this is not as straightforward to arbitrarily increasing the size of the vector shape itself without affecting the coordinates of the feature. The Mercator Puzzle was a nice addition as an example. –  paperclip Jun 10 '13 at 8:37

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.