Re: [QGIS-Developer] Deactivate QgsRasterLayer CRS prompt

2018-08-07 Thread radan
I also needed an answer here and researched it so much that I reviewed the sources. The trick is here "/Projections/defaultBehaviour", in QGis3 they decided to change it to "/Projections/defaultBehavior" (behavioUr -> behavior). yw -- Sent from:

Re: [QGIS-Developer] Deactivate QgsRasterLayer CRS prompt

2018-03-21 Thread KOHLMANN Hannes
2018 22:53 An: KOHLMANN Hannes Cc: qgis-developer@lists.osgeo.org Betreff: Re: [QGIS-Developer] Deactivate QgsRasterLayer CRS prompt On 21 March 2018 at 04:30, KOHLMANN Hannes <h.kohlm...@ove.at> wrote: > Hello again! > > > > I do the following to add a QgsRasterLayer: > >

Re: [QGIS-Developer] Deactivate QgsRasterLayer CRS prompt

2018-03-20 Thread Nyall Dawson
On 21 March 2018 at 04:30, KOHLMANN Hannes wrote: > Hello again! > > > > I do the following to add a QgsRasterLayer: > > l = QgsRasterLayer("/path/file.dat", "Density") > > > > Now I am struggling with a problem, that has somehow always the same > suggested solution in all

[QGIS-Developer] Deactivate QgsRasterLayer CRS prompt

2018-03-20 Thread KOHLMANN Hannes
Hello again! I do the following to add a QgsRasterLayer: l = QgsRasterLayer("/path/file.dat", "Density") Now I am struggling with a problem, that has somehow always the same suggested solution in all fora, namely to get rid of the prompt that appears when adding a QgsRasterLayer, by using: s =