From cb3f41788be7d86fe164adda957c486879d6d327 Mon Sep 17 00:00:00 2001
From: agila5
by
oe_download()
with:
oe_download_directory()
-#> [1] "/tmp/RtmppzwRE8"
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/RtmppzwRE8/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpZXDEJF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 11 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/RtmppzwRE8/test_its-example.osm.pbf' using driver `OSM'
+#> Reading layer `lines' from data source `/tmp/RtmpZXDEJF/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/RtmppzwRE8/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpZXDEJF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 11 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -984,7 +984,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/RtmppzwRE8/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpZXDEJF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 191 features and 4 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -998,7 +998,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/RtmppzwRE8/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpZXDEJF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 9 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -1023,7 +1023,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/RtmppzwRE8/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpZXDEJF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 191 features and 4 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -1053,7 +1053,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/RtmppzwRE8/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpZXDEJF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 9 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -1095,7 +1095,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/RtmppzwRE8/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpZXDEJF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 76 features and 2 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -1158,7 +1158,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/RtmppzwRE8/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpZXDEJF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 5 features and 9 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -1312,7 +1312,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/RtmppzwRE8/test_its-example.gpkg' using driver `GPKG'
+#> from data source `/tmp/RtmpZXDEJF/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 10 fields
#> Geometry type: LINESTRING
#> Dimension: XY
diff --git a/pkgdown.yml b/pkgdown.yml
index d2d6307d..ba533109 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -5,5 +5,5 @@ articles:
osmextract: osmextract.html
providers_comparisons: providers_comparisons.html
providers: providers.html
-last_built: 2024-04-30T09:53Z
+last_built: 2024-04-30T09:57Z
diff --git a/reference/oe_download_directory.html b/reference/oe_download_directory.html
index 2ae1b0c6..d23880cc 100644
--- a/reference/oe_download_directory.html
+++ b/reference/oe_download_directory.html
@@ -89,7 +89,7 @@ Value
Examples
oe_download_directory()
-#> [1] "/tmp/Rtmp1ToT6v"
+#> [1] "/tmp/RtmpYnFh9b"
diff --git a/reference/oe_find.html b/reference/oe_find.html
index b3d3d060..0671ecc3 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/Rtmp1ToT6v/test_its-example.gpkg"
-#> [2] "/tmp/Rtmp1ToT6v/test_its-example.osm.pbf"
+#> [1] "/tmp/RtmpYnFh9b/test_its-example.gpkg"
+#> [2] "/tmp/RtmpYnFh9b/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/Rtmp1ToT6v/test_its-example.osm.pbf"
+#> [1] "/tmp/RtmpYnFh9b/test_its-example.osm.pbf"
if (FALSE) {
oe_find("Isle of Wight", download_directory = tempdir())
diff --git a/reference/oe_get.html b/reference/oe_get.html
index 8421e5c9..81f9b761 100644
--- a/reference/oe_get.html
+++ b/reference/oe_get.html
@@ -297,7 +297,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/Rtmp1ToT6v/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpYnFh9b/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 9 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -317,7 +317,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/Rtmp1ToT6v/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `points' from data source `/tmp/RtmpYnFh9b/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 186 features and 10 fields
#> Geometry type: POINT
#> Dimension: XY
@@ -332,12 +332,12 @@ Examples
"ITS Leeds", download_only = TRUE, quiet = TRUE,
download_directory = tempdir()
)
-#> [1] "/tmp/Rtmp1ToT6v/test_its-example.gpkg"
+#> [1] "/tmp/RtmpYnFh9b/test_its-example.gpkg"
oe_get(
"ITS Leeds", download_only = TRUE, skip_vectortranslate = TRUE,
quiet = TRUE, download_directory = tempdir()
)
-#> [1] "/tmp/Rtmp1ToT6v/test_its-example.osm.pbf"
+#> [1] "/tmp/RtmpYnFh9b/test_its-example.osm.pbf"
# See also ?oe_find()
# Add additional tags
@@ -350,7 +350,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/Rtmp1ToT6v/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpYnFh9b/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 10 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -372,7 +372,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/Rtmp1ToT6v/test_its-example.gpkg' using driver `GPKG'
+#> from data source `/tmp/RtmpYnFh9b/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 13 features and 10 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -418,7 +418,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/Rtmp1ToT6v/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpYnFh9b/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 77 features and 9 fields
#> Geometry type: LINESTRING
#> Dimension: XY
diff --git a/reference/oe_get_keys.html b/reference/oe_get_keys.html
index 1e0d0024..650ec41e 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/Rtmp1ToT6v/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpYnFh9b/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 9 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/Rtmp1ToT6v/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpYnFh9b/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 9 fields
#> Geometry type: LINESTRING
#> Dimension: XY
diff --git a/reference/oe_read.html b/reference/oe_read.html
index c030135c..92d601be 100644
--- a/reference/oe_read.html
+++ b/reference/oe_read.html
@@ -260,7 +260,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/Rtmp1ToT6v/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpYnFh9b/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 9 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -273,7 +273,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/Rtmp1ToT6v/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `points' from data source `/tmp/RtmpYnFh9b/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 186 features and 10 fields
#> Geometry type: POINT
#> Dimension: XY
@@ -289,7 +289,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/Rtmp1ToT6v/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpYnFh9b/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 11 fields
#> Geometry type: LINESTRING
#> Dimension: XY
@@ -299,7 +299,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/Rtmp1ToT6v/test_its-example.gpkg' using driver `GPKG'
+#> Reading layer `lines' from data source `/tmp/RtmpYnFh9b/test_its-example.gpkg' using driver `GPKG'
#> Simple feature collection with 189 features and 11 fields
#> Geometry type: LINESTRING
#> Dimension: XY
diff --git a/reference/oe_vectortranslate.html b/reference/oe_vectortranslate.html
index 5b9dad4f..88562f70 100644
--- a/reference/oe_vectortranslate.html
+++ b/reference/oe_vectortranslate.html
@@ -355,7 +355,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/Rtmp1ToT6v/test_its-example.gpkg"
+#> [1] "/tmp/RtmpYnFh9b/test_its-example.gpkg"
sf::st_layers(its_gpkg, do_count = TRUE)
#> Driver: GPKG
#> Available layers: