Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
explicit 0 value in case add Z or M
  • Loading branch information
luipir committed Sep 26, 2017
1 parent c54e202 commit fbaf966
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python/core/qgsvectordataprovider.sip
Expand Up @@ -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/;
};
3 changes: 2 additions & 1 deletion src/core/qgsvectordataprovider.h
Expand Up @@ -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;

Expand Down

0 comments on commit fbaf966

Please sign in to comment.