On 01/26/2016 04:45 PM, 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 ?

Why not?
Is there a problem with the proposed approach? I would say it is quite
safe and future proof.

Matthias

>
> --strk;

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to