[GRASS-stats] rgrass7 - SQLite and GML drivers not working for readVECT
Ahmadou Dicko
dicko.ahmadou at gmail.com
Tue Oct 10 14:41:26 PDT 2017
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 <hellik at web.de> wrote:
> >Gesendet: Dienstag, 10. Oktober 2017 um 23:24 Uhr
> >Von: "Ahmadou Dicko" <dicko.ahmadou at gmail.com>
> >An: "Helmut Kudrnovsky" <hellik at web.de>
> >Cc: "Roger Bivand" <Roger.Bivand at nhh.no>, "grass-stats at lists.osgeo.org" <
> grass-stats at 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: dicko5 at un.org
Skype: dicko.ahmadou.h
Twitter : @dickoah
Gitlab: gitlab/dickoa
Github: github/dickoa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-stats/attachments/20171010/c7eb7b8c/attachment-0001.html>
More information about the grass-stats
mailing list