[GRASS-user] How to JOIN a table to vector layer using MySQL

Raffaele Morelli raffaele.morelli at gmail.com
Fri Nov 10 10:05:46 EST 2006


2006/11/9, Moritz Lennert <mlennert at club.worldonline.be>:
>
>
> > (...!!!...)  ok, this works. But now I have some questions about it.
> >
> > "v.db.connect -o map=MyMap table=TABLE key=KeyCol driver=mysql
> > database=grass layer=2"
> > this connects my map with a static table on layer 1
>
> No, layer 2.


Right, a typing error


> Probably you do not have any objects defined in layer 2.
>
> see this thread to see if you don't have the same problem:
>
> http://grass.itc.it/pipermail/grass5/2005-September/019592.html


 Yes, exactly this

If you want an object in your map to have layer 2 defined, you can
> either do this by hand in v.digit, or automatically with v.category:
>
> v.category in=MyMap out=MyMap2 option=add layer=2
>
> Moritz
>


Ok, finally you can add my name to the list of users who didn't understand
how layers work ;)
This will save a lot of time
Thank you

Raffaele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20061110/27a5f6f9/attachment.html


More information about the grass-user mailing list