[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 04:21:14 PST 2008


On Wed, 2008-02-27 at 12:43 +0100, Philipp Steigenberger wrote:
> Nikos,
> I don't know where this "Create new GRASS Vector"Button is. Maybe it is 
> cause I use v 0.7.4.
I think even in earlier versions there was this "button".

>  ( I tried to install 0.9.1 but got problems with 
> apt-get install)

Go to http://download.qgis.org/downloads.rhtml and add the respective
info to your /etc/apt/sources.list

But, why don't you give it a shot with latest QGIS. I think using the
instructions from http://wiki.qgis.org/qgiswiki/Building_with_CMake is
fairly easy to build from source.

> 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
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

So you import an ascii file in QGIS. But if you create a GRASS vector
your attribute data is automatically linked in GRASS data base (I think
for all drivers... dbf, sqlite... whatever you work with)
> 
> cheers
> Philipp
> 
Cheers
-------------- 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/bf331481/attachment.sig>


More information about the Qgis-user mailing list