<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>My simplification algorithm is a new method that uses the MapToPixel data of current QgsRenderContext to ignore in the drawing of geometry the "equal-pixel device points". I</span><span style="background-color: transparent; font-size: 12pt;">t has no effect if the geometry is not far of current point of view of map.</span></div><div style="color: rgb(0, 0, 0); font-size: 12pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color: transparent; font-size: 12pt;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style:
 normal;"><span>It does not uses the ST_Simplify() method (</span><span style="font-size: 12pt;">douglas-peucker algorithm</span><span style="background-color: transparent;">) where the geometry is simplified for other "similar" geometry.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div></div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica
 Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">De:</span></b> G. Allegri <giohappy@gmail.com><br> <b><span style="font-weight: bold;">Para:</span></b> A Huarte <ahuarte47@yahoo.es> <br><b><span style="font-weight: bold;">CC:</span></b> qgis-developer <qgis-developer@lists.osgeo.org> <br> <b><span style="font-weight: bold;">Enviado:</span></b> Miércoles 23 de octubre de 2013 8:46<br> <b><span style="font-weight: bold;">Asunto:</span></b> Re: [Qgis-developer] vector rendering improvement patch<br> </font> </div> <div class="y_msg_container"><br><div id="yiv1141447963"><div><div dir="ltr"><br clear="none">
> Ok Andreas, I'm going to make it configurable, will present a new option in the main properties form of the layer</div>
<div dir="ltr">I suppose he meant to do not draw simplidied geometries during editing because it would obviously lead to produce unconsistent edits. </div>
<div dir="ltr">giovanni</div>
<div dir="ltr">><br clear="none">
> About of simplification in "editmode". I think is not necessary disable it, the simplification runs only on the method of painting "QgsVectorLayer::draw", not when you retrieve a geometry to treat your information.<br clear="none">

><br clear="none">
> Alvaro<br clear="none">
><br clear="none">
>> ________________________________<br clear="none">
>> De: Andreas Neumann <<a rel="nofollow" shape="rect" ymailto="mailto:a.neumann@carto.net" target="_blank" href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>><br clear="none">
>> Para: <a rel="nofollow" shape="rect" ymailto="mailto:qgis-developer@lists.osgeo.org" target="_blank" href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a> <br clear="none">
>> Enviado: Martes 22 de octubre de 2013 14:03<br clear="none">
>> Asunto: Re: [Qgis-developer] vector rendering improvement patch<br clear="none">
>><br clear="none">
>> Hi,<br clear="none">
>><br clear="none">
>> Thank you for your work!<br clear="none">
>><br clear="none">
>> Yes - I think it should be configurable. It should also automatically be<br clear="none">
>> turned off if a layer is in edit mode.<br clear="none">
>><br clear="none">
>> Just my opinion,<br clear="none">
>> Andreas<br clear="none">
>><br clear="none">
>> Am 22.10.2013 14:01, schrieb A Huarte:<br clear="none">
>> > Hello Vincent!<br clear="none">
>> > For now, it is not configurable, automatically applies to all vector layer to be painted.<br clear="none">
>> > <br clear="none">
>> > I think that the userneed not configure this, of course, if dev-community suggests, will be as you say! :-)<br clear="none">
>> > <br clear="none">
>> > <br clear="none">
>> >> Is it configurable in the interface for each layer independantly ? >It should probably be, as according to the style applied to the geometries, >the simplification could be something we want for some layers and not for >others. >A checkbox in the layer properties dialog could be interesting. >Then we would have to decide if we want it activated by default or not for >dataproviders supporting it. We could have a global option for that default >too. >Vincent<br clear="none">

>> >><br clear="none">
>> >><br clear="none">
>> >> _______________________________________________<br clear="none">
>> >> Qgis-developer mailing list<br clear="none">
>> >> <a rel="nofollow" shape="rect" ymailto="mailto:Qgis-developer@lists.osgeo.org" target="_blank" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br clear="none">
>> >> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div><div class="yiv1141447963yqt0734098187" id="yiv1141447963yqtfd04413"><br clear="none">
>><br clear="none">
>><br clear="none">
>> _______________________________________________<br clear="none">
>> Qgis-developer mailing list<br clear="none">
>> <a rel="nofollow" shape="rect" ymailto="mailto:Qgis-developer@lists.osgeo.org" target="_blank" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br clear="none">
>> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br clear="none">
>><br clear="none">
>><br clear="none">
><br clear="none">
> _______________________________________________<br clear="none">
> Qgis-developer mailing list<br clear="none">
> <a rel="nofollow" shape="rect" ymailto="mailto:Qgis-developer@lists.osgeo.org" target="_blank" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br clear="none">
> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br clear="none">
</div></div></div><br><br></div> </div> </div> </blockquote><div></div>   </div></body></html>