On Tue, 5 Feb 2019 at 06:06, Reginald <[email protected]> wrote: > > Thanks Nicolas, > > You have me some hints on how to do it. > The bat file was created according to the code of Michel Stuyts. > I adapted it to work with SSL and I guess I only have to do > call C:\Osgeo4W64\bin\py3_env.bat # this will make the GDAL SRS database > available > os.system([("cmd", "extractwfsdata.bat")]) > My question was in fact if it is posible to run a bat file or a python > script from within the QGIS modeler tool.
Yes - in both cases you'd need to wrap your python script (or a python script calling the batch file) into a "processing algorithm". There's a template for this available from the Processing toolbox. Click the Python button in the toolbar, and then select "Create Script from Template". Nyall > > Any idea? > > Regards, > > > > -- > Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html > _______________________________________________ > Qgis-user mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
