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 am using Quantum GIS and the PostGIS dbms. I am able to call the PostGIS layer into QGIS but i am unable to add feature to it. I am using the method of adding features to a Shapefile but still it is not getting reflected in the layer, and I don't know how to save it to the PostGIS database if I am able to add the feature to the PostGIS layer.

I may not have used some technical term for this problem because i don't know what to call it, I am expressing the problem in my own terms.

share|improve this question

1 Answer 1

up vote 10 down vote accepted

The general workflow looks like this:

If you don't have a suitable PostGIS table yet, use PostGIS Manager - Create Table to start one.

enter image description here

Then:

  1. Load the PostGIS table into the project.
  2. Enable editing.
  3. Draw some features.
  4. Disable editing or click the "save edits" button to commit your features to the database.

(Of course you need the rights to edit the table.)

share|improve this answer
    
Thanks underdark.. it was my mistake that i forgot to write that i am doing all these steps programmetically means ... I am customising QGis so that on the click of the button created by me all these features will be added into the postgis vector layer.... Thanks that you replied for my problem –  Vicky Aug 31 '11 at 15:38

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.