Hi Chris
In the 'Profile from lines' plugin I'm using a similar approach:
# python code
projectionSettingKey = "Projections/defaultBehaviour"
oldProjectionSetting = self.qgisSettings.value(projectionSettingKey)
self.qgisSettings.setValue(projectionSettingKey, "useGlobal")
self.qgisSettings.sync()
Hi All
I'm wanting to create a memory provider in Python without invoking the CRS
selection dialog (even if the QGIS settings are set to "Prompt for CRS when a
new layer is created".
At the moment my code looks like:
settings = QSettings()
prjSetting = settings.value("/Projecti
On 01/06/2011 08:14 PM, Martin Dobias wrote:
Hi Nick
On Tue, Jan 4, 2011 at 11:29 PM, Nick Hopton wrote:
When a layer is loaded and QGIS can't determine its CRS it would be
preferred if the CRS of that layer was shown as 'unknown', rather than
shown as being the default CRS. I know that this
Hi Nick
On Tue, Jan 4, 2011 at 11:29 PM, Nick Hopton wrote:
> When a layer is loaded and QGIS can't determine its CRS it would be
> preferred if the CRS of that layer was shown as 'unknown', rather than
> shown as being the default CRS. I know that this causes problems for
> some newcomers to QGI