[GRASS-user] I could not use v.in.ogr

temiz temiz at deprem.gov.tr
Tue Oct 2 11:33:20 EDT 2007


hello

I could not use v.in.ogr.

I have a postgis table

at postgresql side:

bzk2=> \d hey_yuk1
           Table "public.hey_yuk1"
    Column    |       Type       | Modifiers
--------------+------------------+-----------
 cat          | integer          | not null
 hey_no       | integer          |
 p_cat        | integer          |
 yuk          | double precision |
 wkb_geometry | geometry         |
Indexes:
    "hey_yuk1_pkey" PRIMARY KEY, btree (cat)
    "ix1" gist (wkb_geometry)


when I wanted to import it to grass, I got:

v.in.ogr dsn="PG:host=localhost dbname=bzk2 user=postgres" 
layer=hey_yuk1 output=gheyno115 type=point
ERROR: Layer <hey_yuk1> not available

But it actually exists and I can open it with QGIS


what might be wrong ?
the fact that it was created from another spatial table causes a problem ?

regards

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the grass-user mailing list