#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: * http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-06-10-07-00/report_for_nc_spm_08_grass7_nc/lib/gis/gis_lib_tokenize/index.html `v.in.ascii` results online: * http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-06-10-07-00/report_for_nc_spm_08_grass7_nc/vector/v.in.ascii/test_csv/index.html -- Ticket URL: <https://trac.osgeo.org/grass/ticket/2692> GRASS GIS <http://grass.osgeo.org> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev