Hallo,
I try to "v.out.ogr" some polygon map from GRASS to PosgreSQL (postgis),
which I do trough
GRASS: ~> v.out.ogr input=det@idrisi type=area dsn="PG:dbname=krtiny" olayer=det format=PostgreSQL
After that, two tables (one table and one sequence) are created:
psql=> \d det
Column | Type | Modifikátory
--------------+-------------------+----------------------------------------------------------
ogc_fid | integer | not null default nextval('public.det_ogc_fid_seq'::text)
wkb_geometry | geometry |
cat | integer |
cislo | integer |
plocha | double precision |
vymera | double precision |
kvalita | integer |
katastr | character varying |
ku_kod | integer |
sk_parc | character varying |
oddeleni | integer |
...
psql=> Sequence "public.det_ogc_fid_seq"
krtiny=> Sequence "public.det_ogc_fid_seq"
Sloupec | Typ | Typ | Vlastník
---------------+-----------+----------+----------
sequence_name | name | tabulka | jachym
last_value | bigintseq | sequence | jachym
increment_by | bigintmns | tabulka | jachym
max_value | bigint | tabulka | jachym
min_value | bigint | sequence | jachym
cache_value | bigintys | tabulka | jachym
log_cnt | bigint | tabulka | jachym
is_cycled | boolean | sequence | jachym
...
when I try to "v.extrude" this table, I get following error:
GRASS: ~> v.external dsn="PG: dbname=krtiny" out=det layer=det
ERROR 1: ERROR: column "fid" does not exist
ERROR 1: ERROR: column "ogr_fid" does not exist
Vytváøím topologii ...
Feature: 0
Topologie byla vytvoøena.
Poèet uzlù : 0
Poèet primitiv : 0
Poèet bodù : 0
Poèet linií : 0
Poèet hranic : 0
Poèet centroidù : 0
Poèet ploch : 0
Poèet ostrovù : 0
GRASS: ~> d.vect det
WARNING: 'vector/det/head' was found in more mapsets (also found in
stromy).
ERROR 1: ERROR: column "fid" does not exist
ERROR 1: ERROR: column "ogr_fid" does not exist
The bounding box of the map outside current region, nothing displayed.
What to do?
Thanks
Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/
-----------------------------------------
OFFICE:
Department of Geoinformation Technologies
LDF MZLU v Brnì
Zemìdìlská 3
613 00 Brno
e-mail: xcepicky@node.mendelu.cz
URL: http://mapserver.mendelu.cz
Tel.: +420 545 134 514