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.

I want to create a new PostGIS layer and save changes made to it.

Presently, I am connecting Python to PostGIS using psycopg2 but I want to know whether there is any QGIS API function available.

Note: I am able to open an existing PostGIS layer, but I don't know how to create a new one.

share|improve this question

1 Answer 1

"How to create a postgis PostGIS layer in qgis" > You could have been more clear before! It took time to me to write my first answer (deleted since).

You can have a look on that online workshop and particularly on that section.

I guess you already know the QGIS api doc!

share|improve this answer
    
Thanks Simo.. and I regret for being not clear to the question. –  Ashu Sep 20 '11 at 13:39
    
Don't worry... Hope the new provided link would be helpful –  simo Sep 20 '11 at 13:40

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.