Skip to content
Permalink
Browse files

explicit 0 value in case add Z or M

  • Loading branch information
luipir committed Sep 26, 2017
1 parent c54e202 commit fbaf966a17a20186f650efc1e3b0a0bba316b031
Showing with 4 additions and 2 deletions.
  1. +2 −1 python/core/qgsvectordataprovider.sip
  2. +2 −1 src/core/qgsvectordataprovider.h
@@ -397,7 +397,8 @@ class QgsVectorDataProvider : QgsDataProvider
* - convert to multitype if necessary
* - convert to curved type if necessary
* - convert to linear type from curved type
* - Add or Remove z/m types
* - Add z/m 0 default values
* - Remove z/m
@return the converted geometry or nullptr if no conversion was necessary or possible*/
QgsGeometry* convertToProviderType( const QgsGeometry* geom ) const /Factory/;
};
@@ -475,7 +475,8 @@ class CORE_EXPORT QgsVectorDataProvider : public QgsDataProvider
* - convert to multitype if necessary
* - convert to curved type if necessary
* - convert to linear type from curved type
* - Add or Remove z/m types
* - Add z/m 0 default values
* - Remove z/m
@return the converted geometry or nullptr if no conversion was necessary or possible*/
QgsGeometry* convertToProviderType( const QgsGeometry* geom ) const;

0 comments on commit fbaf966

Please sign in to comment.
You can’t perform that action at this time.