[GRASS-user] v.out.ogr: properly identifying map/table
Rich Shepard
rshepard at appl-ecosys.com
Sun Mar 3 15:59:11 PST 2019
There is a postgres table named 'wrb_boundary' but grass knows it as 'wrb.'
When I try to export it as a shapefile I fail:
v.out.ogr in=wrb type=area format=ESRI_Shapefile out=basin_bnd.shp --o
DBMI-PostgreSQL driver error:
select * from wrb where 1 = 0
ERROR: relation "wrb" does not exist
LINE 1: select * from wrb where 1 = 0
DBMI-PostgreSQL driver error:
select * from wrb where 1 = 0
ERROR: relation "wrb" does not exist
LINE 1: select * from wrb where 1 = 0
^
ERROR: Unable to describe table <wrb>
So I tried again:
v.out.ogr in=wrb_boundary type=area format=ESRI_Shapefile out=basin_bnd.shp --o
ERROR: Vector map <wrb_boundary> not found
If the solution is re-naming the map from wrb to wrb_boundary what syntax
should I use to avoid breaking things?
Ideas appreciated,
Rich
More information about the grass-user
mailing list