[GRASSLIST:4572] Re: Querying a vector map in another mapset
Radim Blazek
blazek at itc.it
Tue Oct 19 04:33:25 EDT 2004
On Tuesday 19 October 2004 03:15, SWlab wrote:
> Hello,
> Silly question I know, but I can't seem to find the answer in manuals:
> In Grass570, how do I query a vector map in another mapset, without
> switching to this mapset ?
> A command such as
> echo "select BLAH from MAP at OTHERMAPSET where ..." | db.select -c
> raises me a protocol error. Switching to OTHERMAPSET and starting the same
> request (with MAP instead of MAP at OTHERMAPSET) works without problem.
You must specify a table and database. @MAPSET cannot be used
for db tables.
Radim
More information about the grass-user
mailing list