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

Im thinking about developing a small python plugin for qgis which would access postgis raster database and return data via ST_AsPNG() for example. But since i need this in my wms, would it be possible for mapserver executable to also use this plugin, because the plugin would be used in the project file to fetch the data?

share|improve this question
up vote 0 down vote accepted

Not sure if I understand the question, anyway the next qgis release will support macros (python) in projects, so probably this would help do what you need.

share|improve this answer
From the qgi server executable perspective: It reads the project file, iterates through ToC and renders according to the styling/path instructions in the project file. But what if something was added into the ToC which needs some python plugin to work which you of course can use in desktop qgis, but server probably isnt aware of that? – U2ros Sep 8 '12 at 10:29

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.