[GRASS-dev] [GRASS GIS] #2436: v.out.postgis: Unsupported geometry type / Unable to write feature in vector map

GRASS GIS trac at osgeo.org
Mon Sep 29 06:00:42 PDT 2014


#2436: v.out.postgis: Unsupported geometry type / Unable to write feature in
vector map
---------------------------+------------------------------------------------
 Reporter:  martin         |       Owner:  grass-dev@…              
     Type:  defect         |      Status:  new                      
 Priority:  normal         |   Milestone:                           
Component:  Vector         |     Version:  svn-trunk                
 Keywords:  v.out.postgis  |    Platform:  Linux                    
      Cpu:  x86-64         |  
---------------------------+------------------------------------------------

Comment(by martin):

 Mapset <nlcd2011error> in Location <wgs84>[[BR]]
 GRASS 7.1.svn > gdb --args v.out.postgis input=newcs_correct_collect
 type=area olayer=newcs_correct_pg_collect dsn="PG:host=localhost
 dbname=landcover user=martin" options="FID=ogc_fid,
 GEOMETRY_NAME=wkb_geometry, SPATIAL_INDEX=YES, PRIMARY_KEY=YES, SRID=4326"
 --verbose[[BR]]
 [...][[BR]]
 Reading symbols from
 /opt/GRASS7/grass-7.1.svn/bin/v.out.postgis...done.[[BR]]
 (gdb) r[[BR]]
 Starting program: /opt/GRASS7/grass-7.1.svn/bin/v.out.postgis
 input=newcs_correct_collect type=area olayer=newcs_correct_pg_collect
 dsn=PG:host=localhost\ dbname=landcover\ user=martin options=FID=ogc_fid,\
 GEOMETRY_NAME=wkb_geometry,\ SPATIAL_INDEX=YES,\ PRIMARY_KEY=YES,\
 SRID=4326 --verbose[[BR]]
 warning: no loadable sections found in added symbol-file system-supplied
 DSO at 0x7ffff7ffa000[[BR]]
 [Thread debugging using libthread_db enabled][[BR]]
 Using host libthread_db library "/lib/x86_64-linux-
 gnu/libthread_db.so.1".[[BR]]
 No database connection for layer <1>[[BR]]
 Using PostGIS format[[BR]]
 WARNUNG: Unsupported geometry type (64)[[BR]]
 WARNUNG: Unable to write feature in vector map
 <newcs_correct_pg_collect>[[BR]]
 FEHLER: Feature type 64 is not supported[[BR]]
 NOTICE:  table "newcs_correct_pg_collect" does not exist, skipping[[BR]]
 KONTEXT:  SQL statement "DROP TABLE IF EXISTS
 public.newcs_correct_pg_collect RESTRICT"[[BR]]
 PL/pgSQL function dropgeometrytable(character varying,character
 varying,character varying) line 15 at EXECUTE statement[[BR]]
 [Inferior 1 (process 7881) exited with code 01][[BR]]

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2436#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list