[Qgis-developer] Quick fixes and error communication for ftools

Alessandro Pasotti apasotti at gmail.com
Tue Nov 24 01:47:57 PST 2015


2015-11-24 10:42 GMT+01:00 Matthias Kuhn <matthias at opengis.ch>:

> Hi Marco
>
> Good to have your feedback, you probably know the problem best.
>
> On 11/24/2015 09:28 AM, Marco Hugentobler wrote:
>
> Hi
>
> >ad issue 1: update fTools to warn users when some features cause problems
> >ad issue 2: quick fix fTools to convert geometry collections to single
> geometry types
>
> 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.
>
>
> Is there no requirement for multi types?
> 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?
>
>
Hi,

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.


>
> >These fixes/updates would be made available as fTools updates via the
> plugin installer asap
>
> If the fix does not take too long, we probably don't need a warning at all.
>
>
> How much effort (in time) do you think is required to implement this fix?
>
> Regards,
> Matthias
>
>

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).



-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151124/56d51233/attachment.html>


More information about the Qgis-developer mailing list