Re: [Qgis-developer] Geom collection and QGIS (was QgisLogger can be a serious bottleneck)

2014-07-05 Thread G. Allegri
(I changed the topic) Geometry collections in QGIS must be treated at the GEOS level. There isnt a QGIS::wkbType for geometry collections, so if GEOS return a collection they must be managed as GEOS geometries, before "moving them up" to QgsGeometry. Correct me if I'm wrong. giovanni 2014-07-0

Re: [Qgis-developer] Geom collection and QGIS (was QgisLogger can be a serious bottleneck)

2014-07-05 Thread Andrea Peri
Is wrong. The geos return a collection when the collectionis the right result. if the result is a collection like: collection (multipolygons, multilinestrings, multipoint) why it should remove the lines and points. It could be useful to the client. The fact that the client is capable to understa

Re: [Qgis-developer] Geom collection and QGIS (was QgisLogger can be a serious bottleneck)

2014-07-05 Thread G. Allegri
Well, Andrea, QGIS adopts GEOS capabilities as far as it can. As you will know it doesn't support Z and M geoms as well. I hope future founders will help extending its capabilities... giovanni 2014-07-05 20:10 GMT+02:00 Andrea Peri : > Is wrong. > The geos return a collection when the collectio

Re: [Qgis-developer] Geom collection and QGIS (was QgisLogger can be a serious bottleneck)

2014-07-05 Thread Larry Shaffer
HI, On Sat, Jul 5, 2014 at 12:10 PM, Andrea Peri wrote: > Is wrong. > The geos return a collection when the collectionis the right result. > > if the result is a collection like: > collection (multipolygons, multilinestrings, multipoint) > > why it should remove the lines and points. > > It cou

Re: [Qgis-developer] Geom collection and QGIS (was QgisLogger can be a serious bottleneck)

2014-07-05 Thread Andrea Peri
Hi Larry, probably I don't understand well the concept of "at geos level". My english is worsened ultimately. :( I understand that Giovanni say to add some change to geos library , to change the methods or adding some new method in the geos. :) I agree that the solution is to add to qgis the c

Re: [Qgis-developer] Geom collection and QGIS (was QgisLogger can be a serious bottleneck)

2014-07-05 Thread G. Allegri
You misunderstood me Andrea. I've never said that :) I said that when geometry collections need to be treated within QGIS, you have to work at the GEOS level. giovanni Il 05/lug/2014 21:40 "Andrea Peri" ha scritto: > Hi Larry, > > probably I don't understand well the concept of "at geos level".