[Qgis-developer] Suppress rendering of small features

Vincent Mora vincent.mora at oslandia.com
Thu Sep 12 04:08:28 PDT 2013


I did something somewhat similar to solve #4819 in Jully ("Identify Features"
tool is slow with complex/big features) and Matthias asked me to do the
same thing for the rubber-band.

In polygon contours, points that are less than a pixel apart from the
previous point are not drawn.

That improved (dramatically) the rendering speed.


On 12/09/2013 13:03, Sandro Santilli wrote:
> On Thu, Sep 12, 2013 at 08:51:43AM +0200, Andreas Neumann wrote:
>> Hi,
>> As I understand, the feature to suppress small/large features would be
>> optional.
>> Another interesting thing would be to simplify features when you zoom
>> out. Maybe simplifying would be quicker than rendering thousands of
>> unnecessary vertices. Optionally this could also be "outsourced" to the
>> database - many databases support simplification on the db level. I
>> don't know if it would really speed up things. One would have to test.
> I've done this for mapnik and it worked pretty nicely:
> http://blog.cartodb.com/post/20163722809/speeding-up-tiles-rendering
> --strk;
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

More information about the Qgis-developer mailing list