[GRASS-dev] patch for v.voronoi/v.delaunay
Markus Neteler
neteler at osgeo.org
Fri May 2 17:52:11 EDT 2008
On Fri, May 2, 2008 at 11:15 PM, Markus Neteler <neteler at osgeo.org> wrote:
...
> v.db.select output:
> ...
> D3/3: fetch row = 4
> D3/3: col 0, litetype 2, sqltype 6: val = '4.0'
> D3/3: Row fetched
> 4
> D3/3: fetch row = 5
> D3/3: col 0, litetype 2, sqltype 6: val = '2.35355339059327'
> D3/3: Row fetched
> 2.353553
It seems that the precision gets somewhere lost in
db_convert_column_value_to_string()
i.e. lib/db/dbmi_base/columnfmt.c
but I don't find where is is rounded.
Markus
More information about the grass-dev
mailing list