I want to do simple demo to our manager with quantum gis. i have buildings from my city with wgs84 projection on postgre sql database and also have non gis table which have who leaves this buildings (people name,surmane,birth date,etc...) my demo is ; select some building with selection tool from qgis and run some sql from non gis table and show how many people leaves in selected buildings? My sql is ready for work but how can i do this scenario with quantum gis?


1 Answer 1


The easiest way to do this is to create a join on the database (join buildings and non-spatial data) and display the join in QGIS.

Everything else is much more involved.

  • but simple join dont solve problem because i need group by
    – JavaMAN
    Oct 3, 2012 at 14:19
  • Well, you can group by in the join.
    – underdark
    Oct 3, 2012 at 14:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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