Skip to content

Adding & Editing Features

With your PostGIS layer successfully connected in QGIS, you can now start adding and editing features directly from your map. This allows you to capture new spatial data (such as points, lines, or polygons) and store it instantly in your hosted database.

Before adding new points, you may want to add a basemap (such as OpenStreetMap or Google Satellite) to provide visual context and help you position your features accurately on the map.


Step 1: Enable Editing Mode

To begin adding new features to your places layer:

  1. In the Layers Panel, select the places layer.

  2. Click the Toggle Editing button (pencil icon) on the toolbar.

  3. Once editing is enabled, the layer becomes editable, and additional editing tools become available.


Toggle Editing
Image credit: pgAdmin


Step 2: Add a New Feature

With editing mode active, you can now add a new point to represent a specific place.

  1. Click the Add Point Feature tool (map marker icon) from the Digitizing Toolbar.

  2. Click on the map at the location where you’d like to place your new feature.

  3. An Attribute Form will appear, prompting you to fill in the attribute fields for the new record.

  4. Enter the relevant information, then click OK.


Add Point Feature
Image credit: pgAdmin


Step 3: Save Your Edits

Once you’ve added your new points:

  1. Click the Toggle Editing button again to exit editing mode.

  2. QGIS will prompt you to save your changes, click Save.


Your new features are now stored in your hosted PostGIS database.


Save Edits
Image credit: pgAdmin


Step 4: Verify in pgAdmin

To confirm that your new features have been successfully added:

  1. Return to pgAdmin and expand your kartoza_postgis database.

  2. Select the places table.

  3. Click the All Rows button from the toolbar.

  4. The new features you added in QGIS should now appear in the data view.


pgAdmin Table View
Image credit: pgAdmin


You’ve now learned how to create, edit, and verify spatial features directly within QGIS and pgAdmin.



Next up: Learn how to create lookup tables and define relationships between your PostGIS tables for cleaner, more structured data management.