mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
So you can do something like: QgsCoordinateTransform * myCS = new QgsCoordinateTransform(srs,srs); if (!myCS->getSourceSrs()->isValid()) myCs->getSourceSrs->validate(); And you can be sure that the srs will be set. This is not wired into vector or raster layer yet. git-svn-id: http://svn.osgeo.org/qgis/trunk@3258 c8812cc2-4d05-0410-92ff-de0c093fc19c