[GRASS-dev] [GRASS GIS] #2460: v.out.postgis doesn't export attribute table
GRASS GIS
trac at osgeo.org
Mon Feb 23 06:30:48 PST 2015
#2460: v.out.postgis doesn't export attribute table
---------------------------+------------------------------------------------
Reporter: martin | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: svn-trunk
Keywords: v.out.postgis | Platform: Linux
Cpu: x86-64 |
---------------------------+------------------------------------------------
Comment(by mlennert):
The following patch apparently "solves" the problem for me, but I don't
know what consequences this might have, nor why it works as I don't get a
fatal error anyhow...
{{{
Index: main.c
===================================================================
--- main.c (révision 64605)
+++ main.c (copie de travail)
@@ -135,11 +135,12 @@
olayer);
G_add_error_handler(output_handler, &Out);
- /* check output type */
- if (otype > 0) { /* type is not 'auto' */
+ /* check output type
+ if (otype > 0) { type is not 'auto'
if (Vect_write_line(&Out, otype, NULL, NULL) < 0)
G_fatal_error(_("Feature type %d is not supported"), otype);
}
+ */
/* copy attributes */
field = Vect_get_field_number(&In, params.layer->answer);
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2460#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list