Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm building a web application that will be transferring polygons from server to client. Initially, the shapefile is coming from an external source that I have no control over.

Often, I find polygons with way too many points to describe a straight line. The result is, the size of the payload increases and therefore the fetch takes longer. This obviously isn't an issue with only a few polygons, but it will add up as more shapes are added to my dataset and I'd like to optimize bandwidth.

too many points - qgis

Is there a plugin, or native QGIS function that will take some kind of tolerance/variance as input, and produce (approximately) the same polygon with much fewer actual points?

share|improve this question
up vote 2 down vote accepted

In this case the ultra-classic douglas–peucker algorithm is probably the best solution for you,

share|improve this answer
I should add that PostGIS has ST_SimplifyPreserveTopology which implements the Douglas-Peucker algo. Thx! – Jordan Arseno May 1 '13 at 6:48

There is a Simplify features tool in Advanced Digitizing toolbar that does exactly what you're describing.

share|improve this answer

you could also use the online tool mapshaper to "produce (approximately) the same polygon with much fewer actual points" give it a try to see if it fits your needs

share|improve this answer

Your Answer


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.