[GRASSLIST:3637] v.out.ogr

Hello
I tried to output to postgis format with OGR (since the v.format was deleted
and replaced with ogr support) but the string:

v.out.ogr input=Imperia_MA type=area dsn="PG:dbname=EvA" layer=ma
format=PostgreSQL

as in the help manual example, gives me an error. Is it work in progress or
is it my mistake??

Thanks
Francesco

--
CIRGEO
Interdepartment Center of Geomatics
University of Padova
cel. +39 328/2126861
tel. +39 049/8272522
fax. +39 049/8272686

On Wednesday 09 June 2004 19:14, cirgeo_admin wrote:

Hello
I tried to output to postgis format with OGR (since the v.format was
deleted and replaced with ogr support) but the string:

v.out.ogr input=Imperia_MA type=area dsn="PG:dbname=EvA" layer=ma
format=PostgreSQL

as in the help manual example, gives me an error. Is it work in progress
or is it my mistake??

What error?

Radim

On Wednesday 09 June 2004 15:05, francesco wrote:

It says that PostGRESQL is not supported as type.

As type? Better to copy simply error message.

At 14.44 09/06/2004 +0200, you wrote:
>On Wednesday 09 June 2004 19:14, cirgeo_admin wrote:
> > Hello
> > I tried to output to postgis format with OGR (since the v.format was
> > deleted and replaced with ogr support) but the string:
> >
> > v.out.ogr input=Imperia_MA type=area dsn="PG:dbname=EvA" layer=ma
> > format=PostgreSQL
> >
> > as in the help manual example, gives me an error. Is it work in
> > progress or is it my mistake??
>
>What error?
>
>Radim

The list of output formats is created by OGR_list_write_drivers()
so either your version of GDAL is not compiled with postgres
or OGR_list_write_drivers does not list postgres.

Radim