[GRASS-user] v.in.ogr with postgis layer

Marco marquz74 at gmail.com
Thu Nov 29 04:49:21 PST 2012


Hi to all,
I've a postgis table named *map_points_pluvio*, having these fields:

id_stazione: integer;
valore: numeric;
the_geom: postgis geometric type;

when I run the v.in.ogr command to import data into grass

v.in.ogr --overwrite dsn="..." output=map_points_pluvio_grass
layer=map_points_pluvio

the new postgis table *map_points_pluvio_grass* is created as
expected, but it has the following structure:

cat: integer;
id_stazione: integer;
valore: integer;

As you can see, the data type of the field *valore* is integer not
numeric as it was in origin.
Where am I wrong?

Thanks in advance
Marco


More information about the grass-user mailing list