Skip to content

Commit

Permalink
missing QgsDistanceArea.setSourceCrs() in SIP
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Jan 9, 2014
1 parent 63ba802 commit 46a6224
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions python/core/qgsdistancearea.sip
Expand Up @@ -24,6 +24,9 @@ class QgsDistanceArea
//! sets source spatial reference system (by QGIS CRS)
void setSourceCrs( long srsid );

//! sets source spatial reference system (by QGIS CRS)
void setSourceCrs( const QgsCoordinateReferenceSystem& srcCRS );

//! sets source spatial reference system by authid
void setSourceAuthId( QString authid );

Expand Down
5 changes: 4 additions & 1 deletion src/core/qgsdistancearea.h
Expand Up @@ -55,7 +55,10 @@ class CORE_EXPORT QgsDistanceArea
//! sets source spatial reference system (by QGIS CRS)
void setSourceCrs( long srsid );

//! sets source spatial reference system (by QGIS CRS)
/**
* Sets source spatial reference system (by QGIS CRS)
* @note: missing in Python bindings in QGIS < 2.2
*/
void setSourceCrs( const QgsCoordinateReferenceSystem& srcCRS );

//! sets source spatial reference system by authid
Expand Down

0 comments on commit 46a6224

Please sign in to comment.