You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This usecase is for R where we are using package {terra}. It uses GDAL for reading & writing any supported data source format. With the GDAL-GRASS standalone driver installed this works fine for raster, but throws standard error messages when reading a vector layer.
In R the GRASS GIS interface is provided by package {rgrass} (@rsbivand), which in turn uses the {terra} package (@rhijmans) for reading & writing with GDAL. In the {rgrass} package we intend to (re-)implement the GDAL-GRASS driver to access layers in order to avoid the extra r.out.gdal or v.out.ogr steps that cause extra writing & reading overhead. (rsbivand/rgrass#75)
This usecase is for R where we are using package {terra}. It uses GDAL for reading & writing any supported data source format. With the GDAL-GRASS standalone driver installed this works fine for raster, but throws standard error messages when reading a vector layer.
The examples below use vector data sources in the GRASS GIS 'North Carolina basic dataset', downloaded from https://grass.osgeo.org/download/data/.
Example 1: point data
Created on 2024-06-15 with reprex v2.1.0
Collected standard output and standard error
DB_PREVIOUS
is defined in GRASS GIS in include/grass/dbmi.h.Example 2: polygon data
Created on 2024-06-15 with reprex v2.1.0
Collected standard output and standard error
DB_PREVIOUS
is defined in GRASS GIS in include/grass/dbmi.h.R session info
Motivation:
In R the GRASS GIS interface is provided by package {rgrass} (@rsbivand), which in turn uses the {terra} package (@rhijmans) for reading & writing with GDAL. In the {rgrass} package we intend to (re-)implement the GDAL-GRASS driver to access layers in order to avoid the extra
r.out.gdal
orv.out.ogr
steps that cause extra writing & reading overhead. (rsbivand/rgrass#75)System specs:
$ ogrinfo --version GDAL 3.8.4, released 2024/02/08 $ $ apt policy libgdal-grass libgdal-grass: Installed: 1:1.0.2-7+jammy3 Candidate: 1:1.0.2-7+jammy3 Version table: *** 1:1.0.2-7+jammy3 500 500 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu jammy/main amd64 Packages 100 /var/lib/dpkg/status 3.4.1-3 500 500 http://ftp.belnet.be/ubuntu jammy/universe amd64 Packages $ $ inxi -Sxxx System: Host: xxx Kernel: 5.15.0-112-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
The text was updated successfully, but these errors were encountered: