[Qgis-developer] Can I change QgsAbstractGeometryV2::fromWkb signature ?

Marco Hugentobler marco.hugentobler at sourcepole.ch
Tue Jan 26 08:24:37 PST 2016


I remember we agreed that the geometryV2 classes are not part of the 
stable API (or was that only for 2.10?). So there should be no problem 
in adding the parameter I guess.


On 26.01.2016 16:45, Sandro Santilli wrote:
> On Tue, Jan 26, 2016 at 01:52:41PM +0100, Matthias Kuhn wrote:
>> I would add a second method with size param and deprecate the current one.
>> This way we can prepare our own code and remove the dangerous method in 3.0
> Consider that QgsGeometry::fromWkb() already takes a size parameter:
> https://github.com/qgis/QGIS/blob/master/src/core/geometry/qgsgeometry.h#L141-L145
> It's just not passed over to the QgsAbstractGeometryV2::fromWkb.
> Is the "internal" call still to be considered part of the API ?
> --strk;
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Z├╝rich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

More information about the Qgis-developer mailing list