Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
add comment

1 Answer 1

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! –  JorgePM Sep 4 '12 at 20:38
add comment

Your Answer

 
discard

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.