From aceed524af6db4ca76787b05da04a910d033ee91 Mon Sep 17 00:00:00 2001
From: agila5
by
oe_download()
with:
oe_download_directory()
-#> [1] "/tmp/RtmpNPKfX1"
We strongly advise you setting a persistent directory since
downloading and converting (see the next sub-section) .pbf
files are expensive operations, that can be skipped if the functions
@@ -841,7 +841,7 @@
its-gpkg
file:
oe_read(its_gpkg)
-#> Reading layer `lines' from data source `/tmp/RtmpNPKfX1/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpaCsosF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 12 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -853,7 +853,7 @@
will ignore the conversion step.
oe_read(its_pbf, skip_vectortranslate = TRUE, quiet = FALSE)
-#> Reading layer `lines' from data source `/tmp/RtmpNPKfX1/test_its-example.osm.pbf' using driver `OSM'
+#> Reading layer `lines' from data source `/tmp/RtmpaCsosF/test_its-example.osm.pbf' using driver `OSM'
#> Simple feature collection with 189 features and 9 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -887,7 +887,7 @@
#> The input place was matched with: ITS Leeds
#> The chosen file was already detected in the download directory. Skip downloading.
#> The corresponding gpkg file was already detected. Skip vectortranslate operations.
-#> Reading layer `lines' from data source `/tmp/RtmpNPKfX1/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpaCsosF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 12 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -986,7 +986,7 @@
#> Warning in CPL_gdalvectortranslate(source, destination, options, oo, doo, : GDAL Message 1: Field
#> 'highway' already exists. Renaming it as 'highway2'
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `lines' from data source `/tmp/RtmpNPKfX1/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpaCsosF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 191 features and 12 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -1000,7 +1000,7 @@
#> Starting with the vectortranslate operations on the input file!
#> 0...10...20...30...40...50...60...70...80...90...100 - done.
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `lines' from data source `/tmp/RtmpNPKfX1/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpaCsosF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 10 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -1027,7 +1027,7 @@
#> Warning in CPL_gdalvectortranslate(source, destination, options, oo, doo, : GDAL Message 1: Field
#> 'highway' already exists. Renaming it as 'highway2'
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `lines' from data source `/tmp/RtmpNPKfX1/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpaCsosF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 191 features and 12 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -1057,7 +1057,7 @@
#> Starting with the vectortranslate operations on the input file!
#> 0...10...20...30...40...50...60...70...80...90...100 - done.
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `lines' from data source `/tmp/RtmpNPKfX1/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpaCsosF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 10 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -1099,7 +1099,7 @@
#> Starting with the vectortranslate operations on the input file!
#> 0...10...20...30...40...50...60...70...80...90...100 - done.
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `lines' from data source `/tmp/RtmpNPKfX1/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpaCsosF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 76 features and 2 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -1162,7 +1162,7 @@
#> Starting with the vectortranslate operations on the input file!
#> 0...10...20...30...40...50...60...70...80...90...100 - done.
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `lines' from data source `/tmp/RtmpNPKfX1/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpaCsosF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 5 features and 10 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -1316,7 +1316,7 @@
#> The chosen file was already detected in the download directory. Skip downloading.
#> The corresponding gpkg file was already detected. Skip vectortranslate operations.
#> Reading query `SELECT *, hstore_get_value(other_tags, 'bicycle') AS bicycle FROM lines'
-#> from data source `/tmp/RtmpNPKfX1/test_its-example.gpkg' using driver `GPKG'
+#> from data source `/tmp/RtmpaCsosF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 11 fields
#> Geometry type: LINESTRING
#> Dimension: XY
diff --git a/pkgdown.yml b/pkgdown.yml
index 3a898e1..e7f0674 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -5,4 +5,4 @@ articles:
osmextract: osmextract.html
providers_comparisons: providers_comparisons.html
providers: providers.html
-last_built: 2024-11-08T14:59Z
+last_built: 2024-11-22T10:07Z
diff --git a/reference/oe_download_directory.html b/reference/oe_download_directory.html
index 3362b0b..a864b72 100644
--- a/reference/oe_download_directory.html
+++ b/reference/oe_download_directory.html
@@ -87,7 +87,7 @@ Value
Examples
oe_download_directory()
-#> [1] "/tmp/RtmpuIxba2"
+#> [1] "/tmp/RtmpzObBSi"
diff --git a/reference/oe_find.html b/reference/oe_find.html
index b2a1a06..058b92d 100644
--- a/reference/oe_find.html
+++ b/reference/oe_find.html
@@ -178,14 +178,14 @@ Examples
res = oe_get("ITS Leeds", quiet = TRUE, download_directory = tempdir())
oe_find("ITS Leeds", provider = "test", download_directory = tempdir())
#> The input place was matched with: ITS Leeds
-#> [1] "/tmp/RtmpuIxba2/test_its-example.gpkg"
-#> [2] "/tmp/RtmpuIxba2/test_its-example.osm.pbf"
+#> [1] "/tmp/RtmpzObBSi/test_its-example.gpkg"
+#> [2] "/tmp/RtmpzObBSi/test_its-example.osm.pbf"
oe_find(
"ITS Leeds", provider = "test",
download_directory = tempdir(), return_gpkg = FALSE
)
#> The input place was matched with: ITS Leeds
-#> [1] "/tmp/RtmpuIxba2/test_its-example.osm.pbf"
+#> [1] "/tmp/RtmpzObBSi/test_its-example.osm.pbf"
if (FALSE) { # \dontrun{
oe_find("Isle of Wight", download_directory = tempdir())
diff --git a/reference/oe_get.html b/reference/oe_get.html
index 31a2066..972b3f1 100644
--- a/reference/oe_get.html
+++ b/reference/oe_get.html
@@ -294,7 +294,7 @@ Examples
#> Starting with the vectortranslate operations on the input file!
#> 0...10...20...30...40...50...60...70...80...90...100 - done.
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `lines' from data source `/tmp/RtmpuIxba2/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpzObBSi/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 10 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -314,7 +314,7 @@ Examples
#> Starting with the vectortranslate operations on the input file!
#> 0...10...20...30...40...50...60...70...80...90...100 - done.
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `points' from data source `/tmp/RtmpuIxba2/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `points' from data source `/tmp/RtmpzObBSi/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 186 features and 10 fields
#> Geometry type: POINT
#> Dimension: XY
@@ -329,12 +329,12 @@ Examples
"ITS Leeds", download_only = TRUE, quiet = TRUE,
download_directory = tempdir()
)
-#> [1] "/tmp/RtmpuIxba2/test_its-example.gpkg"
+#> [1] "/tmp/RtmpzObBSi/test_its-example.gpkg"
oe_get(
"ITS Leeds", download_only = TRUE, skip_vectortranslate = TRUE,
quiet = TRUE, download_directory = tempdir()
)
-#> [1] "/tmp/RtmpuIxba2/test_its-example.osm.pbf"
+#> [1] "/tmp/RtmpzObBSi/test_its-example.osm.pbf"
# See also ?oe_find()
# Add additional tags
@@ -347,7 +347,7 @@ Examples
#> Starting with the vectortranslate operations on the input file!
#> 0...10...20...30...40...50...60...70...80...90...100 - done.
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `lines' from data source `/tmp/RtmpuIxba2/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpzObBSi/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 11 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -369,7 +369,7 @@ Examples
#> The chosen file was already detected in the download directory. Skip downloading.
#> The corresponding gpkg file was already detected. Skip vectortranslate operations.
#> Reading query `SELECT * FROM 'lines' WHERE oneway == 'yes''
-#> from data source `/tmp/RtmpuIxba2/test_its-example.gpkg' using driver `GPKG'
+#> from data source `/tmp/RtmpzObBSi/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 13 features and 11 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -415,7 +415,7 @@ Examples
#> Starting with the vectortranslate operations on the input file!
#> 0...10...20...30...40...50...60...70...80...90...100 - done.
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `lines' from data source `/tmp/RtmpuIxba2/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpzObBSi/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 77 features and 10 fields
#> Geometry type: LINESTRING
#> Dimension: XY
diff --git a/reference/oe_get_keys.html b/reference/oe_get_keys.html
index e9b5678..16b1b03 100644
--- a/reference/oe_get_keys.html
+++ b/reference/oe_get_keys.html
@@ -276,7 +276,7 @@ Examples
#> Starting with the vectortranslate operations on the input file!
#> 0...10...20...30...40...50...60...70...80...90...100 - done.
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `lines' from data source `/tmp/RtmpuIxba2/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpzObBSi/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 10 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -322,7 +322,7 @@ Examples
#> The input place was matched with: ITS Leeds
#> The chosen file was already detected in the download directory. Skip downloading.
#> The corresponding gpkg file was already detected. Skip vectortranslate operations.
-#> Reading layer `lines' from data source `/tmp/RtmpuIxba2/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpzObBSi/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 10 fields
#> Geometry type: LINESTRING
#> Dimension: XY
diff --git a/reference/oe_read.html b/reference/oe_read.html
index e466f71..1649161 100644
--- a/reference/oe_read.html
+++ b/reference/oe_read.html
@@ -255,7 +255,7 @@ Examples
#> Starting with the vectortranslate operations on the input file!
#> 0...10...20...30...40...50...60...70...80...90...100 - done.
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `lines' from data source `/tmp/RtmpuIxba2/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpzObBSi/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 10 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -268,7 +268,7 @@ Examples
#> Starting with the vectortranslate operations on the input file!
#> 0...10...20...30...40...50...60...70...80...90...100 - done.
#> Finished the vectortranslate operations on the input file!
-#> Reading layer `points' from data source `/tmp/RtmpuIxba2/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `points' from data source `/tmp/RtmpzObBSi/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 186 features and 10 fields
#> Geometry type: POINT
#> Dimension: XY
@@ -284,7 +284,7 @@ Examples
# Read an existing .gpkg file. This file was created internally by oe_read().
its_gpkg = file.path(tempdir(), "test_its-example.gpkg")
oe_read(its_gpkg)
-#> Reading layer `lines' from data source `/tmp/RtmpuIxba2/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpzObBSi/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 12 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -294,7 +294,7 @@ Examples
# You cannot add any new layer to an existing .gpkg file but you can extract
# some of the tags in other_tags. Check oe_get_keys() for more details.
names(oe_read(its_gpkg, extra_tags = c("maxspeed"))) # doesn't work
-#> Reading layer `lines' from data source `/tmp/RtmpuIxba2/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpzObBSi/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 12 fields
#> Geometry type: LINESTRING
#> Dimension: XY
diff --git a/reference/oe_vectortranslate.html b/reference/oe_vectortranslate.html
index 03c0dad..2eb467a 100644
--- a/reference/oe_vectortranslate.html
+++ b/reference/oe_vectortranslate.html
@@ -356,7 +356,7 @@ Examples
#> Starting with the vectortranslate operations on the input file!
#> 0...10...20...30...40...50...60...70...80...90...100 - done.
#> Finished the vectortranslate operations on the input file!
-#> [1] "/tmp/RtmpuIxba2/test_its-example.gpkg"
+#> [1] "/tmp/RtmpzObBSi/test_its-example.gpkg"
sf::st_layers(its_gpkg, do_count = TRUE)
#> Driver: GPKG
#> Available layers: