<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>I think so, the user </span><span style="font-size: 12pt;">doesn't notice the simplification or I do not see why I have my glasses dirty :-)</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="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 style="font-size: 12pt;">You can see this previous discussion in....</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="font-size: 12pt;"><br></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="font-size: 12pt;"><a href="https://github.com/qgis/QGIS/pull/927">https://github.com/qgis/QGIS/pull/927</a><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;"><br></div><div>regards</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><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 9:33<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="yiv8480281069"><div><div
 dir="ltr"><br clear="none"><div class="yiv8480281069gmail_extra"><br clear="none"><br clear="none"><div class="yiv8480281069gmail_quote">2013/10/23 A Huarte <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:ahuarte47@yahoo.es" target="_blank" href="mailto:ahuarte47@yahoo.es">ahuarte47@yahoo.es</a>></span><br clear="none"><blockquote class="yiv8480281069gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-size: 12pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><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="font-style: normal; font-size: 12pt; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><span style="background-color:transparent;font-size:12pt;"><br clear="none">
</span></div><div style="font-style: normal; font-size: 16px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><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></div></blockquote><div><br clear="none"></div><div>Oh, I see. So it's "transparent" to the user, he doesn't notice the simplification, right?</div><div class="yiv8480281069yqt4093448632" id="yiv8480281069yqtfd00906"><div><br clear="none"></div><div> </div></div><blockquote class="yiv8480281069gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv8480281069yqt4093448632" id="yiv8480281069yqtfd47817">
</div><div><div style="font-size: 12pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><div class="yiv8480281069yqt4093448632" id="yiv8480281069yqtfd15376"><div style="font-style: normal; font-size: 16px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">
<br clear="none"></div><div style="font-style: normal; font-size: 16px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><br clear="none"></div><div></div></div><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;"><div class="yiv8480281069yqt4093448632" id="yiv8480281069yqtfd96307">
  </div><div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div class="yiv8480281069yqt4093448632" id="yiv8480281069yqtfd08111"> </div><div><div class="yiv8480281069yqt4093448632" id="yiv8480281069yqtfd00661"> <div dir="ltr"> <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold;">De:</span></b> G. Allegri <<a rel="nofollow" shape="rect" ymailto="mailto:giohappy@gmail.com" target="_blank" href="mailto:giohappy@gmail.com">giohappy@gmail.com</a>><br clear="none">
 <b><span style="font-weight:bold;">Para:</span></b> A Huarte <<a rel="nofollow" shape="rect" ymailto="mailto:ahuarte47@yahoo.es" target="_blank" href="mailto:ahuarte47@yahoo.es">ahuarte47@yahoo.es</a>> <br clear="none"><b><span style="font-weight:bold;">CC:</span></b> qgis-developer <<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">
 <b><span style="font-weight:bold;">Enviado:</span></b> Miércoles 23 de octubre de 2013 8:46<br clear="none"> <b><span style="font-weight:bold;">Asunto:</span></b> Re: [Qgis-developer] vector rendering improvement patch<br clear="none"> </font> </div>
 </div><div><div class="yiv8480281069yqt4093448632" id="yiv8480281069yqtfd36087"><br clear="none"></div><div><div><div class="yiv8480281069yqt4093448632" id="yiv8480281069yqtfd48244"><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><div><div class="yiv8480281069yqt4093448632" id="yiv8480281069yqtfd81729"><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></div><br clear="none">
</div></div></div><br clear="none"><br clear="none"></div> </div> </div> </blockquote><div></div>   </div></div></blockquote></div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none">Giovanni Allegri<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://about.me/giovanniallegri">http://about.me/giovanniallegri</a><br clear="none">
blog: <a rel="nofollow" shape="rect" target="_blank" href="http://blog.spaziogis.it/">http://blog.spaziogis.it</a><br clear="none">GEO+ geomatica in Italia <a rel="nofollow" shape="rect" target="_blank" href="http://bit.ly/GEOplus">http://bit.ly/GEOplus</a><div class="yiv8480281069yqt4093448632" id="yiv8480281069yqtfd22420">
</div></div></div></div></div><br><br></div> </div> </div> </blockquote><div></div>   </div></body></html>