[GRASS-dev] [GRASS GIS] #3990: v.to.db: add a way to control output precision

#3990: v.to.db: add a way to control output precision
-------------------------+-------------------------
Reporter: jidanni | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: trivial | Milestone:
Component: Database | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
v.to.db could add a way to control precision.
{{{
$ grass ...TC46 --exec v.to.db -p map=Qingfu_st
cat|length
1|0.157112134436172
}}}
e.g., the user might not be interested in nanometers, etc.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3990&gt;
GRASS GIS <https://grass.osgeo.org>

#3990: v.to.db: add a way to control output precision
--------------------------+-------------------------
  Reporter: jidanni | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: trivial | Milestone: 7.8.3
Component: Database | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by neteler):

While I am not sure if it is worth it to cut off precision, it could be
done in a way as v.out.ascii offers it:

{{{
   precision Number of significant digits (floating point only)
               options: 0-32
               default: 8
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3990#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>