[Qgis-user] How to create easily and fast an empty vector-layer to use it in Quantum GIS?
Philipp Steigenberger
userlist at online.de
Wed Feb 27 03:43:46 PST 2008
Nikos,
I don't know where this "Create new GRASS Vector"Button is. Maybe it is
cause I use v 0.7.4. ( I tried to install 0.9.1 but got problems with
apt-get install)
How ever.
I wrote one day a little script to vectorize points which I select with
d.what.rast
using this sript for me seems to be the fastest way to get an "empty"
vector-map which opens in QGIS.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#!/bin/sh
echo Name of map?
read a
d.what.rast -t fs='|' | grep -v '@' | v.in.ascii out=$a
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
cheers
Philipp
Nikos Alexandris schrieb:
> 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
More information about the Qgis-user
mailing list