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

Is it possible to script rutines in QGIS (python) and then runing them remotely? To illustrate, can I through a shell (ssh or telnet) ask to QGIS to transform a shapefile into a gjson format? Mostly, I'm thinking in the interaction of QGIS with another software like R for example, where I can generate command lines. (I'm not talking about QGIS internal command shell)

share|improve this question
up vote 4 down vote accepted

Most of the tools inside the qgis GUI are actually calls to gdal executables or python scripts, so the answer is yes.

You would ssh into your shell, and type for example: /path/to/gdal/gdal_translate parameters

share|improve this answer
Amazing. I found the library with the "Programs" (in my case, macosx) /Library/Frameworks/GDAL.framework/Programs Thanks! – zom-pro Sep 4 '12 at 20:38

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.