[GRASS-user] v.external does not create vector layer

Hello,

I am running GRASS 6.3.0 on Linux. I would like to use a postgis table as a read only vector layer in GRASS.

One time I had v.external doing more than it does now. Here is a typical execution:

# v.external 'dsn=PG:host=localhost user=postgres dbname=spatial_db' output=gpxpints_pg
Data source contains 1 layers:
trackpnt

This would be the behavior I would expect if "output" was not defined. There is no vector layer created in GRASS.

What is the next debugging step here?

John

On Tue, Feb 24, 2009 at 2:05 AM, John R. <johnr@wowway.com> wrote:

Hello,

I am running GRASS 6.3.0 on Linux. I would like to use a postgis table as a
read only vector layer in GRASS.

One time I had v.external doing more than it does now. Here is a typical
execution:

# v.external 'dsn=PG:host=localhost user=postgres dbname=spatial_db'
output=gpxpints_pg
Data source contains 1 layers:
trackpnt

This would be the behavior I would expect if "output" was not defined. There
is no vector layer created in GRASS.

You need to define
layer=trackpnt
as well.

Markus

Markus Neteler wrote:

You need to define
layer=trackpnt
as well.

Thanks...that was it.

I had not mentally made the association between layer and table.

John