#2692: v.in.ascii does not handle text in qoutes
-------------------------------------------------+-------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Default | Version: svn-trunk
Keywords: CSV, doublequote, singlequote, text | CPU: Unspecified
delimiter |
Platform: Unspecified |
-------------------------------------------------+-------------------------
Since r63581 G7:v.in.ascii should be able to handle "CSV with quoted text
fields" (`text` option) but the quotes are stored to the database. This is
the result from `v.db.select` (same thing in `sqliteman`):
{{{
100|437343.6704|4061363.41525|"High Erosion"|"Low Deposition"
}}}
To reproduce, run:
{{{
$ cd grass/src
$ ./bin.../grass71 ... -text
...
> cd vector/v.in.ascii/testsuite/
> python test_csv.py
}}}
I added these tests in r65426 and r65427 if you wish to review them.
`G_tokenize2()` results online:
`v.in.ascii` results online:
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2692>
GRASS GIS <http://grass.osgeo.org>