[QGIS-Developer] Plugin [1517] Offline-MapMatching approval notification.

2018-08-06 Thread noreply

Plugin Offline-MapMatching approval by pcav.
The plugin version "[1517] Offline-MapMatching 1.0.0" is now approved
Link: http://plugins.qgis.org/plugins/Offline-MapMatching/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1391] Asistente LADM_COL approval notification.

2018-08-06 Thread noreply

Plugin Asistente LADM_COL approval by pcav.
The plugin version "[1391] Asistente LADM_COL 0.6.1 Experimental" is now 
approved
Link: http://plugins.qgis.org/plugins/asistente_ladm_col/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GRASS r.kappa not working in QGIS plugin

2018-08-06 Thread Sophie Crommelinck
I just noted that everything works fine, when the module r.kappa is run
once manually via the toolbox in QGIS before running the plugin. When I
open QGIS (I am using the latest QGIS 3.3.0 nightly build version) and run
the plugin directly, the GRASS module r.kappa in the plugin doesn't work.
When I open QGIS, run r.kappa via the toolbox and run the plugin then, the
GRASS module r.kappa in the plugin works fine. Not sure how to fix this.

Best,
Sophie

On Mon, 6 Aug 2018 at 08:10, Sophie Crommelinck <
sophie.crommeli...@gmail.com> wrote:

> Hello,
>
>
> I am working on a QGIS plugin, that should use the module r.kappa from
> GRASS. It looks like this in my plugin source code:
>
> processing.run('grass7:r.kappa',
>{"classification": classificationLayer,
> "reference": referenceLayer,
> "title": 'ACCURACY ASSESSMENT',
> "-h": False,
> "-w": False,
> "GRASS_REGION_CELLSIZE_PARAMETER": cellSize,
> "GRASS_REGION_PARAMETER": None,
> "output": outputFile})
>
> As an error, I get a QgsProcessingException saying 'There were errors
> executing the algorithm'.
>
> If I run the same manually in QGIS via the toolbox, everything works fine.
> Both calls of the module (manually and via the plugin) look similar in the
> log message panel. I have tried providing the inputs as QgsRasterLayer and
> as full filenames/paths, without success. I don't think the error is in the
> GRASS module, as it works fine when executed manually. Maybe someone
> encountered a similar problem?
>
> Thank you in advance,
>
> Sophie
>
>
>
>
>
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] GRASS r.kappa not working in QGIS plugin

2018-08-06 Thread Sophie Crommelinck
Hello,


I am working on a QGIS plugin, that should use the module r.kappa from
GRASS. It looks like this in my plugin source code:

processing.run('grass7:r.kappa',
   {"classification": classificationLayer,
"reference": referenceLayer,
"title": 'ACCURACY ASSESSMENT',
"-h": False,
"-w": False,
"GRASS_REGION_CELLSIZE_PARAMETER": cellSize,
"GRASS_REGION_PARAMETER": None,
"output": outputFile})

As an error, I get a QgsProcessingException saying 'There were errors
executing the algorithm'.

If I run the same manually in QGIS via the toolbox, everything works fine.
Both calls of the module (manually and via the plugin) look similar in the
log message panel. I have tried providing the inputs as QgsRasterLayer and
as full filenames/paths, without success. I don't think the error is in the
GRASS module, as it works fine when executed manually. Maybe someone
encountered a similar problem?

Thank you in advance,

Sophie
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] API for adding files to .qgz file

2018-08-06 Thread Nyall Dawson
On Mon, 6 Aug 2018 at 16:03, Chris Crook  wrote:
>
> Hi.  Can anyone give me pointers for adding data to the .qgz project file.  I 
> am thinking about updating the Memory Layer saver plugin to use this but I 
> haven't spotted the API around it.  I'm thinking I could either reconfigure 
> it to embed the current .mldata file it creates within the .qgz, or possibly 
> refactor it to use the auxilliary storage.  Any suggestions or pointers 
> welcome :-)  Thanks

2 second answer - the API doesn't exist (yet)!

Nyall
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] API for adding files to .qgz file

2018-08-06 Thread Chris Crook
Hi.  Can anyone give me pointers for adding data to the .qgz project file.  I 
am thinking about updating the Memory Layer saver plugin to use this but I 
haven't spotted the API around it.  I'm thinking I could either reconfigure it 
to embed the current .mldata file it creates within the .qgz, or possibly 
refactor it to use the auxilliary storage.  Any suggestions or pointers welcome 
:-)  Thanks



This message contains information, which may be in confidence and may be 
subject to legal privilege. If you are not the intended recipient, you must not 
peruse, use, disseminate, distribute or copy this message. If you have received 
this message in error, please notify us immediately (Phone 0800 665 463 or 
i...@linz.govt.nz) and destroy the original message. LINZ accepts no 
responsibility for changes to this email, or for any attachments, after its 
transmission from LINZ. Thank You.
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer