Closed agila5 closed 1 week ago
The previous ideas do not work since Sys.getenv("GDAL_DATA")
returns ""
on that platform. Moreover:
list.files(system.file(package = "sf"), recursive = TRUE)
#> [1] "CITATION" "csv/pt.csv"
#> [3] "demo/affine.R" "demo/basic.R"
#> [5] "demo/bm_wkb.R" "demo/ggplot.R"
#> [7] "demo/meuse_sf.R" "demo/nc.R"
#> [9] "demo/twitter.R" "demo/webmap.R"
#> [11] "DESCRIPTION" "doc/index.html"
#> [13] "doc/sf1.html" "doc/sf1.R"
#> [15] "doc/sf1.Rmd" "doc/sf2.html"
#> [17] "doc/sf2.R" "doc/sf2.Rmd"
#> [19] "doc/sf3.html" "doc/sf3.R"
#> [21] "doc/sf3.Rmd" "doc/sf4.html"
#> [23] "doc/sf4.R" "doc/sf4.Rmd"
#> [25] "doc/sf5.html" "doc/sf5.R"
#> [27] "doc/sf5.Rmd" "doc/sf6.html"
#> [29] "doc/sf6.R" "doc/sf6.Rmd"
#> [31] "doc/sf7.html" "doc/sf7.R"
#> [33] "doc/sf7.Rmd" "docker/alma/build_command"
#> [35] "docker/alma/Dockerfile" "docker/alma/vito.repo"
#> [37] "docker/arrow/Dockerfile" "docker/base/Dockerfile"
#> [39] "docker/bionic/Dockerfile" "docker/centos/Dockerfile"
#> [41] "docker/cran/Dockerfile" "docker/custom/Dockerfile"
#> [43] "docker/devel/Dockerfile" "docker/fedora/Dockerfile"
#> [45] "docker/gdal/Dockerfile" "docker/geos/Dockerfile"
#> [47] "docker/lowest/Dockerfile" "docker/postgis/Dockerfile"
#> [49] "docker/spcosa/Dockerfile" "docker/static/Dockerfile"
#> [51] "gml/20170930_OB_530964_UKSH.xml.gz" "gml/fmi_test.gml"
#> [53] "gpkg/b_pump.gpkg" "gpkg/buildings.gpkg"
#> [55] "gpkg/nc.gpkg" "gpkg/nospatial.gpkg"
#> [57] "gpkg/tl.gpkg" "help/aliases.rds"
#> [59] "help/AnIndex" "help/figures/logo.png"
#> [61] "help/paths.rds" "help/sf.rdb"
#> [63] "help/sf.rdx" "html/00Index.html"
#> [65] "html/R.css" "include/sf_RcppExports.h"
#> [67] "include/sf.h" "INDEX"
#> [69] "libs/sf.so" "LICENSE"
#> [71] "Meta/demo.rds" "Meta/features.rds"
#> [73] "Meta/hsearch.rds" "Meta/links.rds"
#> [75] "Meta/nsInfo.rds" "Meta/package.rds"
#> [77] "Meta/Rd.rds" "Meta/vignette.rds"
#> [79] "NAMESPACE" "nc/cropped.nc"
#> [81] "NEWS.md" "osm/overpass.osm"
#> [83] "R/sf" "R/sf.rdb"
#> [85] "R/sf.rdx" "shape/nc.dbf"
#> [87] "shape/nc.prj" "shape/nc.shp"
#> [89] "shape/nc.shx" "shape/olinda1.dbf"
#> [91] "shape/olinda1.prj" "shape/olinda1.shp"
#> [93] "shape/olinda1.shx" "shape/storms_xyz_feature.dbf"
#> [95] "shape/storms_xyz_feature.shp" "shape/storms_xyz_feature.shx"
#> [97] "shape/storms_xyz.dbf" "shape/storms_xyz.shp"
#> [99] "shape/storms_xyz.shx" "shape/storms_xyzm_feature.dbf"
#> [101] "shape/storms_xyzm_feature.shp" "shape/storms_xyzm_feature.shx"
#> [103] "shape/storms_xyzm.dbf" "shape/storms_xyzm.shp"
#> [105] "shape/storms_xyzm.shx" "sqlite/b.sqlite"
#> [107] "sqlite/meuse.sqlite" "sqlite/nc.sqlite"
#> [109] "sqlite/test3.sqlite" "tif/geomatrix.tif"
Created on 2023-03-10 with reprex v2.0.2
See @https://github.com/r-spatial/discuss/issues/66 for a solution!
TODO