[Qgis-user] Python scripting
Carson Farmer
carson.farmer at gmail.com
Thu Apr 2 15:11:22 PDT 2009
Alessandro et al.,
> I'm also interested in using python and QGIS for simple scripts
> espacially for batch processing, and some examples could be very useful!
Attached is a python script for performing some basic geoprocessing
functions on vector layers. The header of the file contains usage
examples to help get you started... it's probably not the cleanest
python code, nor the most pythonistic... but you get the idea ;-)
Hope this helps to get you started...
The other good resource for python scripting is:
http://wiki.qgis.org/qgiswiki/PythonBindings
Cheers,
Carson
> Thanks
> Ale
>
> georgew ha scritto:
>> ThanKs Alex, the problem is I have not been able to find any example
>> that is free standing, all seem to be plugins or use QT to generate a
>> UI. Can you point me to a working example, however simple (e.g. read
>> shapefile, project,write shapefile) that can set me off on the right
>> path?
>> Many thanks
>> G.
>>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
--
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation (NCG),
National University of Ireland, Maynooth,
Email: Carson.Farmer at gmail.com
Web: http://www.carsonfarmer.com/
http://www.ftools.ca/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Geoprocessing.py
Type: text/x-python
Size: 31396 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20090402/cbc23b14/attachment.py>
More information about the Qgis-user
mailing list