<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Dear All,<br>
    <br>
    Today I got a mail from one of our users mentioning that the plugin
    "Rectangles ovals digitizing" is broken. He first contacted the
    plugin author and it seems he is not currently supporting it. I made
    the changes so that the plugin works now. How can we can update the
    same fix in the contributed plugins repository? Is it hosted on
    github where a pull request can be issued? I am sure quite a few
    people would be using it.<br>
    <br>
    Anyway, the fix is quite simple. Just a line in the canvasmove event
    for all methods(except rotategeometry) in rectovaldigittools.py<br>
    <br>
    Like this..<br>
    <br>
    #[self.rb.addPoint( point ) for point in polygon]<br>
     self.rb.setToGeometry(QgsGeometry.fromPolygon([polygon]), None)<br>
    <br>
    <br>
    Thanks<br>
    Vinayan<br>
    <div class="moz-forward-container"><br>
      <br>
      -------- Original Message --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
            </th>
            <td>Re: WG: "Rectangles ovals digitizing" plugin is broken
              in QGIS 1.9</td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
            <td>Tue, 22 Jan 2013 08:24:00 +0530</td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
            <td>vinayan <a class="moz-txt-link-rfc2396E" href="mailto:vinayan123@gmail.com"><vinayan123@gmail.com></a></td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
            <td>Gerhard Spieles <a class="moz-txt-link-rfc2396E" href="mailto:gerhard@spieles.de"><gerhard@spieles.de></a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>On Tuesday 22 January 2013 02:27 AM, Gerhard Spieles wrote:
> Dear Vinayan Parameswaran,
>
> i have received a message from QGIS bug tracker, that you programmed the rotation feature for all sort objects Lines and polygons) in QGIS core (Feature #1787).
>
> Now I contact you, because of a similar problem.
> There exist a "Rectangles ovals digitizing" plugin, programmed by Pavol Kapusta  ver. 0.1.3 (<a class="moz-txt-link-freetext" href="http://pyqgis.org/repo/contributed">http://pyqgis.org/repo/contributed</a>). ZIP Archive is attached.
> This excellent programmed plugin can create all regular polygons from triangle,  rectangle, square pentagon hexagon ....   until circle and is able to rotate polygons.
> It functions until QGIS 1.8.0.
> In QGIS master (ver 1.9.0 Alpha), the produced geometries seems not to be closed and when you try to save a produced object, gdal reports, that a line feature can`t saved in a polygon layer.
> Unfortunately Pavol  can`t continue the plugin.
>
> I would ask, wether it is possible, that you  fix the plugin or to take it  into QGIS core in the advanced editing toolbar.
>
> Awaiting hopefully a positive response
>
> Best regards
> Gerhard Spieles
>
>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> -----Ursprüngliche Nachricht-----
> Von: Pavol Kapusta [<a class="moz-txt-link-freetext" href="mailto:pavol.kapusta@gmail.com">mailto:pavol.kapusta@gmail.com</a>]
> Gesendet: Donnerstag, 17. Januar 2013 18:45
> An: Gerhard Spieles
> Betreff: Re: "Rectangles ovals digitizing" plugin is broken in QGIS 1.9
>
> Dear Gerhard Spieles,
>
> I am totally out of GIS business (even don't have QGIS installed on my system around a year), so I am sorry, it is highly unlikely I will contribute to the project.
>
> Best regards
> Pavol
>
> Dňa 16.01.2013 23:06, Gerhard Spieles wrote / napísal(a):
>> Dear Pavol Kapusta,
>>
>> your plugin for QGIS is a great digitizing tool for generate regular
>> polygons in QGIS.
>>
>> Unfortunately, the plugin reports errors in QGIS 1.9.0 Alpha
>> (QGIS-master). It seems, that the produced objects are not closed.
>>
>> Is it possible to make the plugin functional in QGIS 1.9
>>
>> Thank you very much and best regards
>>
>> Gerhard Spieles
>>
Dear Gerhard,

It is a nice plugin indeed. I checked it and it had the same errors you 
mentioned.I have fixed its issues and attached it. Please check.
I will send a mail to the dev list to know how we can update the same 
fix in the repository.

Thanks
Vinayan


</pre>
      <br>
    </div>
    <br>
  </body>
</html>