In the readVECT function, internally v.in.ogr is used to list the supported vector format and it is compared the format available using rgdal (or sf). However, using v.external instead of v.in.ogr fix this single problem because of the way the output is different (in form). For example, if you use v.in.ogr you will have to compare SQLite_/_Spatialite (GRASS) to SQLite (R) and they are not the same.
I tried to send a PR, let me know if it works https://github.com/rsbivand/rgrass7/pull/1 Best, On Tue, Oct 10, 2017 at 9:29 PM, Helmut Kudrnovsky <hel...@web.de> wrote: > >Gesendet: Dienstag, 10. Oktober 2017 um 23:24 Uhr > >Von: "Ahmadou Dicko" <dicko.ahma...@gmail.com> > >An: "Helmut Kudrnovsky" <hel...@web.de> > >Cc: "Roger Bivand" <roger.biv...@nhh.no>, "grass-stats@lists.osgeo.org" < > grass-stats@lists.osgeo.org> > >Betreff: Re: [GRASS-stats] rgrass7 - SQLite and GML drivers not working > for readVECT > > > >Hi everyone, > > > >I think that using v.external -f (instead of v.in.ogr -f) can fix this > issue (didn't try yet) > > > > > >execGRASS("v.external", flags = "f", intern = TRUE) > > [1] "ARCGEN" "AVCBin" "AVCE00" > > [4] "AeronavFAA" "AmigoCloud" "BNA" > > [7] "CAD" "CSV" "CSW" > >[10] "Carto" "Cloudant" "CouchDB" > >[13] "DGN" "DXF" "EDIGEO" > >[16] "ESRI_Shapefile" "ElasticSearch" "GFT" > >[19] "GML" "GPKG" "GPSBabel" > >[22] "GPSTrackMaker" "GPX" "GeoJSON" > >[25] "GeoRSS" "Geoconcept" "Geomedia" > >[28] "HTF" "HTTP" "Idrisi" > >[31] "JML" "JPEG2000" "KML" > >[34] "MSSQLSpatial" "MapInfo_File" "Memory" > >[37] "MySQL" "ODBC" "ODS" > >[40] "OGR_GMT" "OGR_GRASS" "OGR_PDS" > >[43] "OGR_SDTS" "OGR_VRT" "OSM" > >[46] "OpenAir" "OpenFileGDB" "PCIDSK" > >[49] "PDF" "PGDUMP" "PGeo" > >[52] "PLSCENES" "PostgreSQL" "REC" > > in a quick check, there is no difference in available formats. > > > -- Ahmadou H. DICKO, PhD Data Lab Manager Humanitarian Data Exchange (HDX) - humdata.org OCHA ROWCA regional office VDN Sacre Coeur III, Villa 9364 BP 16 922 Fann Dakar, Senegal Phone: (+221) 33 869 85 36 Mobile: (+221) 77 123 81 69 Email: dic...@un.org Skype: dicko.ahmadou.h Twitter : @dickoah Gitlab: gitlab/dickoa Github: github/dickoa
_______________________________________________ grass-stats mailing list grass-stats@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-stats