[GRASS-dev] [GRASS GIS] #2460: v.out.postgis doesn't export attribute table

GRASS GIS trac at osgeo.org
Mon Feb 23 05:30:03 PST 2015


#2460: v.out.postgis doesn't export attribute table
---------------------------+------------------------------------------------
 Reporter:  martin         |       Owner:  grass-dev@…              
     Type:  defect         |      Status:  new                      
 Priority:  normal         |   Milestone:                           
Component:  Default        |     Version:  svn-trunk                
 Keywords:  v.out.postgis  |    Platform:  Linux                    
      Cpu:  x86-64         |  
---------------------------+------------------------------------------------

Comment(by mlennert):

 This seems to be linked to the handling of feature types:


 {{{
 v.out.postgis in=censusblk_swwake output='PG:dbname=nc_grass' --o
 }}}

 gives me the full attribute table, while


 {{{
 v.out.postgis in=censusblk_swwake type=area output='PG:dbname=nc_grass'
 --o
 }}}

 only gives me fid, cat and geom columns.

 BTW, when I try


 {{{
 v.out.postgis in=censusblk_swwake type=centroid
 output='PG:dbname=nc_grass' --o
 }}}

 I get


 {{{
 ATTENTION: Unsupported geometry type (8)
 ATTENTION: Unable to write feature in vector map <censusblk_swwake>
 ERREUR :Feature type 8 is not supported
 Erreur de segmentation
 }}}

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



More information about the grass-dev mailing list