How do I create a vectorlayer to through SQL on PostGiS on Python 2.7. I is working with QGIS 1.8 and I needed create a vectorLayer through SQL on PostGIS.


You could either do it directly in PostGIS by using PgAdmin and the SQL window there or if you must do it via a dialog in QGIS, then open the DBManager plugin and use the SQL window in that dialog.

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.