Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am after some advice on how to produce a script that a user can run in QGIS. The script will be run against newly created feature/s (Point, Line or Polygon) that will perform not only a spatial join to populate the Ward, Parish and Postcode fields, but also populate a field called CREATED with the current date/time.

I haven't got a clue where to start to produce such a script, what platform to build it in on but i'm guessing that its possible?

All ideas welcomed.


share|improve this question
up vote 4 down vote accepted

QGIS: Running Scripts in the Python Console by Gary Sherman should be a good starting point. Continue to the PyQGIS Cookbook.

share|improve this answer
Thanks for the pointer, just what i was looking for. Thanks – geosmiles Feb 9 '12 at 19:04
URL of the cookbook is – wannik Jun 15 '14 at 3:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.