Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test new approach for osmconf_ini
Browse files Browse the repository at this point in the history
agila5 committed Mar 10, 2023

Verified

This commit was signed with the committer’s verified signature.
sagikazarmark Márk Sági-Kazár
1 parent 3a218c0 commit c7d5a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
@@ -195,7 +195,7 @@ oe_clean <- function(download_directory = oe_download_directory(), force = FALSE
#' @examples
#' get_default_osmconf_ini()
get_default_osmconf_ini = function() {
osmconf_ini = system.file("gdal/osmconf.ini", package = "sf")
osmconf_ini = file.path(Sys.getenv("GDAL_DATA"), "osmconf.ini")
if (osmconf_ini == "") {
stop("THERE IS A PROBLEM WITH THE NEW IMPLEMENTATION!", call. = FALSE)
}

0 comments on commit c7d5a59

Please sign in to comment.