Skip to content
Permalink
Browse files
PyQGIS: added new destination CRS methods, deprecated old ones.
git-svn-id: http://svn.osgeo.org/qgis/trunk@15619 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 27, 2011
1 parent c2c233e commit f760d016b98d47c397c38df1cdb67063a4a64876
Showing with 17 additions and 5 deletions.
  1. +17 −5 python/core/qgsmaprenderer.sip
@@ -139,11 +139,23 @@ class QgsMapRenderer : QObject
//! returns true if projections are enabled for this layer set
bool hasCrsTransformEnabled();

//! sets destination spatial reference system
void setDestinationSrs(const QgsCoordinateReferenceSystem& srs);

//! returns CRS ID of destination spatial reference system
const QgsCoordinateReferenceSystem& destinationSrs();
/** sets destination coordinate reference system
* @note deprecated by qgis 1.7
* @see setDestinationCrs
*/
void setDestinationSrs( const QgsCoordinateReferenceSystem& srs ) /Deprecated/;

/** returns CRS of destination coordinate reference system
* @note deprecated by qgis 1.7
* @see destinationCrs
*/
const QgsCoordinateReferenceSystem& destinationSrs() /Deprecated/;

//! sets destination coordinate reference system
void setDestinationCrs( const QgsCoordinateReferenceSystem& crs );

//! returns CRS of destination coordinate reference system
const QgsCoordinateReferenceSystem& destinationCrs();

void setOutputUnits( OutputUnits u );

0 comments on commit f760d01

Please sign in to comment.