[Qgis-user] How to create easily and fast an empty vector-layer to use it in Quantum GIS?

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Wed Feb 27 02:18:45 PST 2008


On Tue, 2008-02-26 at 16:56 +0100, Philipp Steigenberger wrote:
> Hi there,
> I posted this on the grassuser-list before, but couldnt get support...

Hi Philipp
> -> How to create a new GRASS-Vectorlayer within QGIS and link it to a 
> database (dbf) table.

Creating a new GRASS vector is easily done with the respective "Create
new GRASS Vector". -- You probably got that I suppose

Then I add the columns I want ( after pressing above mentioned button,
Grass Edit window appears) under "Table" tab (Add column and
Create/Alter Table)

Digitise something... (Update table)

Close

Exit QGIS

Now I can confirm with db.tables -p that a table named after my "TEST"
Vector data exists.  (I use sqlite)

I can see this vector both in GRASS and in QGIS.

In QGIS I load points/lines/areas in separate layers... (each time when
I "Add GRASS Vector" I select the respective "layer" for my TEST
Vector).

Hope this helps and does not mess you up more.

Cheers,

Nikos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20080227/00af3367/attachment.sig>


More information about the Qgis-user mailing list