<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/23 A Huarte <span dir="ltr"><<a href="mailto:ahuarte47@yahoo.es" target="_blank">ahuarte47@yahoo.es</a>></span><br><blockquote class="gmail_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>
</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></div><div>Oh, I see. So it's "transparent" to the user, he doesn't notice the simplification, right?</div><div><br></div><div> </div><blockquote class="gmail_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 style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><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> <div dir="ltr"> <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold">De:</span></b> G. Allegri <<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>><br>
 <b><span style="font-weight:bold">Para:</span></b> A Huarte <<a href="mailto:ahuarte47@yahoo.es" target="_blank">ahuarte47@yahoo.es</a>> <br><b><span style="font-weight:bold">CC:</span></b> qgis-developer <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>> <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><br><div><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" href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>><br clear="none">
>> Para: <a rel="nofollow" shape="rect" href="mailto:qgis-developer@lists.osgeo.org" target="_blank">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" href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br clear="none">
>> >> <a rel="nofollow" shape="rect" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div><div><br clear="none">
>><br clear="none">
>><br clear="none">
>> _______________________________________________<br clear="none">
>> Qgis-developer mailing list<br clear="none">
>> <a rel="nofollow" shape="rect" href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br clear="none">
>> <a rel="nofollow" shape="rect" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">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" href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br clear="none">
> <a rel="nofollow" shape="rect" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br clear="none">
</div></div></div><br><br></div> </div> </div> </blockquote><div></div>   </div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a><br>
blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a>
</div></div>