[Qgis-developer] Re: [Qgis-user] Python Batch Processing

Maurício de Paulo mauricio.dev at gmail.com
Thu Sep 10 20:18:26 EDT 2009


Ok, as promised, it now works also as a qgis plugin.
I've uploaded it in the contributed repository so everyone could download.
I hope you guys enjoy it. :D
Maurício de Paulo

2009/9/10 Maurício de Paulo <mauricio.dev at gmail.com>

> Ok, I havent started the pyqgis section yet. I was still working saving
> parameters to commands.
> I'm going to start this right now. It should be finished by the end of this
> evening.
> At the moment it only works standalone (just call it as a python program).
> Thanks for the interest
> Maurício de Paulo
>
> 2009/9/10 Agustin Lobo <alobolistas at gmail.com>
>
> Mauricio,
>> how should we use it?
>> I've unzipped under .qgis/python/plugins
>> but the get an error upon qgis start up:
>>
>> Couldn't load plugin "pybatchproc" from ['/usr/share/qgis/python',
>> '/home/alobo/.qgis//python/plugins/symbology_ng',
>> '/home/alobo/.qgis//python/plugins', '/usr/share/qgis/python/plugins',
>> '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2',
>> '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old',
>> '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages',
>> '/usr/lib/python2.6/dist-packages/Numeric',
>> '/usr/lib/python2.6/dist-packages/PIL',
>> '/usr/lib/python2.6/dist-packages/gst-0.10',
>> '/var/lib/python-support/python2.6',
>> '/usr/lib/python2.6/dist-packages/gtk-2.0',
>> '/var/lib/python-support/python2.6/gtk-2.0',
>> '/usr/local/lib/python2.6/dist-packages',
>> '/usr/share/qgis/python/plugins/fTools/tools', '~/.qgis/python',
>> '/usr/share/qgis/python/', '/usr/share/qgis/python/',
>> '/usr/share/qgis/python']
>>
>> Traceback (most recent call last):
>>  File "", line 2, in
>> ImportError: No module named pybatchproc
>>
>> Python version:
>> 2.6.2 (release26-maint, Apr 19 2009, 02:11:59)
>> [GCC 4.3.3]
>>
>>
>> Agus
>>
>> Maurício de Paulo wrote:
>>
>>> Hi list,
>>> As I am a serious user of GDAL Utilities and FWTools, I've found myself
>>> manytimes trying to repeat a ogr2gr or a gdalwarp for whole directories and
>>> writing much bash and bat code for the task. As a solution the the guys who
>>> work with me I've written the PyBatchProc script that is a QT gui to run
>>> command-line tools for series of files in folders or subfolders.
>>>
>>> I'm planning on creating a QGIS plugin script to let the tool run from
>>> inside QGIS too.
>>>
>>>
>>> https://sourceforge.net/projects/pybatchproc/files/pybatchproc_0_1.zip/download
>>>
>>> Any bugs found or sugestions are welcome.
>>> I hope you enjoy.
>>>
>>> Maurício de Paulo
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20090910/19949329/attachment.html


More information about the Qgis-developer mailing list