[GRASSLIST:8066] Re: v.out.ogr to PostgreSQL

Stephan Holl holl at gdf-hannover.de
Thu Aug 25 09:19:49 EDT 2005


Hello orkun, 

On Thu, 25 Aug 2005 15:56:34 +0300 orkun <temiz at deprem.gov.tr> wrote:

> hello
> 
> when I try to use /*v.out.ogr as:*//* */
> v.out.ogr input=jeo6 type=area dsn="PG:host=localhost dbname=bzk 
> user=orkun" olayer=sil format=PostgreSQL
> 
> it gives:
> Error: value <PostgreSQL> out of range for parameter <format>
>        Legal range:
> ESRI_Shapefile,TIGER,S57,MapInfo_File,DGN,Memory,CSV,GML

It says that your OGR-Version is lacking Postgresl-Support.
So you should recompile gdal/ogr with postgresql-support.
or, if you are on debian

apt-get install gdal-bin libgdal1 python-gdal

Best
	Stephan

-- 
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office      -     Mengendamm 16d      -     D-30177 Hannover
Internet: www.gdf-hannover.de      -      Email: holl at gdf-hannover.de
Phone : ++49-(0)511.39088507       -        Fax: ++49-(0)511.39088508




More information about the grass-user mailing list