<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-11-24 10:42 GMT+01:00 Matthias Kuhn <span dir="ltr"><<a href="mailto:matthias@opengis.ch" target="_blank">matthias@opengis.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi Marco<br>
    <br>
    Good to have your feedback, you probably know the problem best.<span class=""><br>
    <br>
    <div>On 11/24/2015 09:28 AM, Marco
      Hugentobler wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div>Hi<br>
        <br>
        >ad issue 1: update fTools to warn users when some features
        cause problems<br>
        >ad issue 2: quick fix fTools to convert geometry collections
        to single geometry types<br>
        <br>
        A function that takes a geometry type and extracts the longest
        line / the largest polygon / the first point from the geometry
        collection should be straightforward to do.<br>
      </div>
    </blockquote>
    <br></span>
    Is there no requirement for multi types?<br>
    Based on what indicator should be chosen what to extract? Try
    polygons first, if there are none try lines, if there are none take
    points?<span class=""><br>
    <br></span></div></blockquote><div><br></div><div>Hi,<br><br></div><div>I've had a quick look to this issue in Las Palmas, the multi-geom issue doesn't seem particularly hard to fix,  a possible solution is to keep only geometry types of the same (simple or multi) type of the original layer, transforming the multi to simple and feeding the original fTools with simple geometries.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><span class="">
    <blockquote type="cite">
      <div> <br>
        >These fixes/updates would be made available as fTools
        updates via the plugin installer asap<br>
        <br>
        If the fix does not take too long, we probably don't need a
        warning at all.<br>
      </div>
    </blockquote>
    <br></span>
    How much effort (in time) do you think is required to implement this
    fix?<br>
    <br>
    Regards,<br>
    Matthias<div><div class="h5"><br></div></div></div></blockquote><div> <br></div></div><br></div><div class="gmail_extra">My  quick and dirty estimation is 4-5 days, Python tests included (the tests are really not a an option in this case I guess).<br><br><br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div></div>