[GRASSLIST:2811] Re: how to ensure attributes are loaded into default database
Radim Blazek
blazek at itc.it
Tue Mar 2 13:23:02 EST 2004
On Tuesday 02 March 2004 16:27, Christopher Fonnesbeck wrote:
> I have a MySQL database specified as the default database for storing
> vector attributes, using v.database:
>
> GRASS 5.7.-cvs:~ > v.database -p
> driver:mysql
> database:ugr
>
> However, when I create a new vector layer, say using r.to.vect, no new
> attribute table is created in mysql. How can I ensure that attribute
> tables are created for new layers?
r.to.vect makes a new table for points and areas only, most probably,
because r.line (5.0) did not support attributes. I have merged r.poly, rline
and r.to.sites into r.to.vect. Try a
Radim
More information about the grass-user
mailing list