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

Stephan Holl holl at gdf-hannover.de
Fri Aug 26 06:31:27 EDT 2005


Hello orkun, 

On Fri, 26 Aug 2005 11:56:46 +0300 orkun <temiz at deprem.gov.tr> wrote:

> v.out.ogr input=jeo6 type=area dsn="PG:host=localhost dbname=bzk 
> user=orkun" olayer=sil7 format=PostgreSQL
> ERROR 1: AddGeometryColumn failed for layer sil7, layer creation has
> failed. ERROR: Cannot create layer

It looks like this db does not have postGIS enabled?!
So enable the db with postgis-support.

If you just want to store attribute-information have a look at the
newly created wiki-entry[1].
There ist describes how to set up postgres for attribute storage.

hth
	Stephan	

[1]
http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassSixTutorialFaq#11_Use_Postgres_as_attribute_sto

-- 
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