[Qgis-developer] Can I change QgsAbstractGeometryV2::fromWkb signature ?
matthias at opengis.ch
Tue Jan 26 07:53:20 PST 2016
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:
> It's just not passed over to the QgsAbstractGeometryV2::fromWkb.
> Is the "internal" call still to be considered part of the API ?
Is there a problem with the proposed approach? I would say it is quite
safe and future proof.
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the Qgis-developer