[GRASSLIST:2280] Grass 5.7 database

Hi all,

I have a question on Database management with GRASS 5.7...
In the part of the tutorial "Geometry Stored in PostGRASS database table using PostGIS" (http://grass.itc.it/grass51/tutorial/geom_storage.html#PostGRASS)

The example says to take a shape file registered with v.shape.register and use
v.convert to import it into a PostGRES database with PostGIS format.
It did not work with me (gives me a "vector map not found" error), and the man page for v.convert says that it is used to convert 5.0 vectors to 5.1...
Am I doing something wrong or am I missing something?

Francesco Pirotti
CIRGEO -University of Padua
phone. 049 - 8272522
fax. 049-8272686
cel. 328-2126861
francesco.pirotti@unipd.it

On Monday 19 January 2004 08:57, francesco.pirotti wrote:

Hi all,

I have a question on Database management with GRASS 5.7...
In the part of the tutorial "Geometry Stored in PostGRASS database table
using PostGIS"
(http://grass.itc.it/grass51/tutorial/geom_storage.html#PostGRASS)

The example says to take a shape file registered with v.shape.register and
use v.convert to import it into a PostGRES database with PostGIS format. It
did not work with me (gives me a "vector map not found" error), and the man
page for v.convert says that it is used to convert 5.0 vectors to 5.1... Am
I doing something wrong or am I missing something?

v.convert converts 5.0 vectors to 5.7 format. If you want to store vectors in
PostGIS, run v.in.ogr.

Radim

On Mon, Jan 19, 2004 at 06:27:29PM +0100, Radim Blazek wrote:

On Monday 19 January 2004 08:57, francesco.pirotti wrote:
> Hi all,
>
> I have a question on Database management with GRASS 5.7...
> In the part of the tutorial "Geometry Stored in PostGRASS database table
> using PostGIS"
> (http://grass.itc.it/grass51/tutorial/geom_storage.html#PostGRASS)
>
> The example says to take a shape file registered with v.shape.register and
> use v.convert to import it into a PostGRES database with PostGIS format. It
> did not work with me (gives me a "vector map not found" error), and the man
> page for v.convert says that it is used to convert 5.0 vectors to 5.1... Am
> I doing something wrong or am I missing something?

v.convert converts 5.0 vectors to 5.7 format. If you want to store vectors in
PostGIS, run v.in.ogr.

I have fixed the tutorial. Thanks for notification.

Markus