[GRASS-SVN] r54013 - grass/trunk/vector/v.out.postgis
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Nov 24 10:27:38 PST 2012
Author: martinl
Date: 2012-11-24 10:27:37 -0800 (Sat, 24 Nov 2012)
New Revision: 54013
Modified:
grass/trunk/vector/v.out.postgis/create.c
Log:
v.out.postgis: fix feature type (use only points, lines or boundaries)
Modified: grass/trunk/vector/v.out.postgis/create.c
===================================================================
--- grass/trunk/vector/v.out.postgis/create.c 2012-11-24 17:22:24 UTC (rev 54012)
+++ grass/trunk/vector/v.out.postgis/create.c 2012-11-24 18:27:37 UTC (rev 54013)
@@ -19,6 +19,7 @@
/* create PostGIS table if doesn't exist
determine feature type from the first feature */
Vect_rewind(In);
+ Vect_set_constraint_type(In, GV_POINT | GV_LINES);
type = Vect_read_next_line(In, NULL, NULL);
Vect_rewind(In);
More information about the grass-commit
mailing list