Re: [QGIS-Developer] QGIS 3 modeler - GDAL call parameters double escaped

2018-06-16 Thread Nyall Dawson
On Wed, 13 Jun 2018 at 20:10, Jorge Gustavo Rocha  wrote:
>

> If I set the output name as 'reindeer polygons', the gdal call is:
>
> gdal_polygonize.py
> /tmp/processing_7b5b06e1a8f14ee09ac38187a00ce932/dfee0e38cbd1483ca732fd82a12110c5/OUTPUT.tif
> "\"/tmp/processing_7b5b06e1a8f14ee09ac38187a00ce932/ef043a13ea8044c4a4ab9fee9c373b1f/gdal_polygonize_1_reindeer
> polygons.shp\"" -b 1 -f "ESRI Shapefile"

This has already been fixed in all gdal algorithms for 3.2

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

Re: [QGIS-Developer] How to migrate the VectorWriter to Qgis3

2018-06-16 Thread Nyall Dawson
On Sat, 16 Jun 2018 at 02:36, Xavier Corredor Llano
 wrote:
>
> Hi Devs!
>
>
>
> I have searched and I don't found any documentation about how to migrate some 
> functions inside processing tool, I use it inside my plugin (but it's not a 
> processing plugin inself) and I need to migrate specifically the VectorWriter 
> function for write a vector points file, such as:
>
>
>
> from processing.tools import vector
>
>
>
> writer = vector.VectorWriter()
>
> ...
>
> f = QgsFeature(...)
>
> ...
>
> writer.addFeature(f)
>

You should use the standard QgsVectorFileWriter class instead.

There's a bit of a guide to porting processing applications here:
https://raw.githubusercontent.com/qgis/QGIS/master/doc/porting_processing.dox

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] Plugin [1391] Asistente LADM_COL approval notification.

2018-06-16 Thread noreply

Plugin Asistente LADM_COL approval by zimbogisgeek.
The plugin version "[1391] Asistente LADM_COL 0.4.0 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