[GRASS-dev] [GRASS GIS] #3108: db selection: integer overflow
GRASS GIS
trac at osgeo.org
Tue Aug 2 05:42:00 PDT 2016
#3108: db selection: integer overflow
--------------------------+--------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 7.0.5
Component: Database | Version: svn-trunk
Resolution: invalid | Keywords: v.db.univar db.select overflow
CPU: Unspecified | Platform: Unspecified
--------------------------+--------------------------------------------
Comment (by sbl):
My bad. Categoryies have to be comma separated. So it should be:
cats=$(v.db.select -c geonames_NC_cp columns=cat where=cat< 25000 | tr
'\n' ',' | sed 's/,$//g')
I have at the moment no other system for confirmation at hand,
unfortunately...
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3108#comment:3>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list