@@ -620,7 +620,7 @@ returned by `tools::R_user_dir("osmextract", "data")` (see
620620``` r
621621
622622oe_download_directory()
623- # > [1] "/tmp/Rtmp2s7p6f "
623+ # > [1] "/tmp/Rtmphn8hzC "
624624```
625625
626626Another relevant alternative for temporary downloads might be
@@ -939,7 +939,7 @@ So, for example, the following code can be used for reading-in the
939939``` r
940940
941941oe_read(its_gpkg )
942- # > Reading layer `lines' from data source `/tmp/Rtmp2s7p6f /test_its-example.gpkg' using driver `GPKG'
942+ # > Reading layer `lines' from data source `/tmp/Rtmphn8hzC /test_its-example.gpkg' using driver `GPKG'
943943# > Simple feature collection with 189 features and 12 fields
944944# > Geometry type: LINESTRING
945945# > Dimension: XY
@@ -956,7 +956,7 @@ will ignore the conversion step.
956956``` r
957957
958958oe_read(its_pbf , skip_vectortranslate = TRUE , quiet = FALSE )
959- # > Reading layer `lines' from data source `/tmp/Rtmp2s7p6f /test_its-example.osm.pbf' using driver `OSM'
959+ # > Reading layer `lines' from data source `/tmp/Rtmphn8hzC /test_its-example.osm.pbf' using driver `OSM'
960960# > Simple feature collection with 189 features and 10 fields
961961# > Geometry type: LINESTRING
962962# > Dimension: XY
@@ -994,7 +994,7 @@ its_lines = oe_get("ITS Leeds")
994994# > The input place was matched with: ITS Leeds
995995# > The chosen file was already detected in the download directory. Skip downloading.
996996# > The corresponding gpkg file was already detected. Skip vectortranslate operations.
997- # > Reading layer `lines' from data source `/tmp/Rtmp2s7p6f /test_its-example.gpkg' using driver `GPKG'
997+ # > Reading layer `lines' from data source `/tmp/Rtmphn8hzC /test_its-example.gpkg' using driver `GPKG'
998998# > Simple feature collection with 189 features and 12 fields
999999# > Geometry type: LINESTRING
10001000# > Dimension: XY
@@ -1124,7 +1124,7 @@ oe_get("ITS Leeds", provider = "test", osmconf_ini = temp_ini, quiet = FALSE)
11241124# > Warning in CPL_gdalvectortranslate(source, destination, options, oo, doo, : GDAL Message 1: Field
11251125# > 'highway' already exists. Renaming it as 'highway2'
11261126# > Finished the vectortranslate operations on the input file!
1127- # > Reading layer `lines' from data source `/tmp/Rtmp2s7p6f /test_its-example.gpkg' using driver `GPKG'
1127+ # > Reading layer `lines' from data source `/tmp/Rtmphn8hzC /test_its-example.gpkg' using driver `GPKG'
11281128# > Simple feature collection with 191 features and 12 fields
11291129# > Geometry type: LINESTRING
11301130# > Dimension: XY
@@ -1142,7 +1142,7 @@ oe_get("ITS Leeds", provider = "test", quiet = FALSE, force_vectortranslate = TR
11421142# > Starting with the vectortranslate operations on the input file!
11431143# > 0...10...20...30...40...50...60...70...80...90...100 - done.
11441144# > Finished the vectortranslate operations on the input file!
1145- # > Reading layer `lines' from data source `/tmp/Rtmp2s7p6f /test_its-example.gpkg' using driver `GPKG'
1145+ # > Reading layer `lines' from data source `/tmp/Rtmphn8hzC /test_its-example.gpkg' using driver `GPKG'
11461146# > Simple feature collection with 189 features and 10 fields
11471147# > Geometry type: LINESTRING
11481148# > Dimension: XY
@@ -1172,7 +1172,7 @@ oe_get("ITS Leeds", provider = "test", osmconf_ini = temp_ini, quiet = FALSE, ex
11721172# > Warning in CPL_gdalvectortranslate(source, destination, options, oo, doo, : GDAL Message 1: Field
11731173# > 'highway' already exists. Renaming it as 'highway2'
11741174# > Finished the vectortranslate operations on the input file!
1175- # > Reading layer `lines' from data source `/tmp/Rtmp2s7p6f /test_its-example.gpkg' using driver `GPKG'
1175+ # > Reading layer `lines' from data source `/tmp/Rtmphn8hzC /test_its-example.gpkg' using driver `GPKG'
11761176# > Simple feature collection with 191 features and 12 fields
11771177# > Geometry type: LINESTRING
11781178# > Dimension: XY
@@ -1204,7 +1204,7 @@ oe_get("ITS Leeds", vectortranslate_options = c("-t_srs", "EPSG:27700"), quiet =
12041204# > Starting with the vectortranslate operations on the input file!
12051205# > 0...10...20...30...40...50...60...70...80...90...100 - done.
12061206# > Finished the vectortranslate operations on the input file!
1207- # > Reading layer `lines' from data source `/tmp/Rtmp2s7p6f /test_its-example.gpkg' using driver `GPKG'
1207+ # > Reading layer `lines' from data source `/tmp/Rtmphn8hzC /test_its-example.gpkg' using driver `GPKG'
12081208# > Simple feature collection with 189 features and 10 fields
12091209# > Geometry type: LINESTRING
12101210# > Dimension: XY
@@ -1255,7 +1255,7 @@ its_leeds = oe_get("ITS Leeds", vectortranslate_options = my_vectortranslate, qu
12551255# > Starting with the vectortranslate operations on the input file!
12561256# > 0...10...20...30...40...50...60...70...80...90...100 - done.
12571257# > Finished the vectortranslate operations on the input file!
1258- # > Reading layer `lines' from data source `/tmp/Rtmp2s7p6f /test_its-example.gpkg' using driver `GPKG'
1258+ # > Reading layer `lines' from data source `/tmp/Rtmphn8hzC /test_its-example.gpkg' using driver `GPKG'
12591259# > Simple feature collection with 76 features and 2 fields
12601260# > Geometry type: LINESTRING
12611261# > Dimension: XY
@@ -1331,7 +1331,7 @@ its_small = oe_get("ITS Leeds", boundary = its_bbox)
13311331# > Starting with the vectortranslate operations on the input file!
13321332# > 0...10...20...30...40...50...60...70...80...90...100 - done.
13331333# > Finished the vectortranslate operations on the input file!
1334- # > Reading layer `lines' from data source `/tmp/Rtmp2s7p6f /test_its-example.gpkg' using driver `GPKG'
1334+ # > Reading layer `lines' from data source `/tmp/Rtmphn8hzC /test_its-example.gpkg' using driver `GPKG'
13351335# > Simple feature collection with 5 features and 10 fields
13361336# > Geometry type: LINESTRING
13371337# > Dimension: XY
@@ -1354,7 +1354,7 @@ its_small = oe_get(its_bbox, provider = "test")
13541354# > Starting with the vectortranslate operations on the input file!
13551355# > 0...10...20...30...40...50...60...70...80...90...100 - done.
13561356# > Finished the vectortranslate operations on the input file!
1357- # > Reading layer `lines' from data source `/tmp/Rtmp2s7p6f /test_its-example.gpkg' using driver `GPKG'
1357+ # > Reading layer `lines' from data source `/tmp/Rtmphn8hzC /test_its-example.gpkg' using driver `GPKG'
13581358# > Simple feature collection with 5 features and 10 fields
13591359# > Geometry type: LINESTRING
13601360# > Dimension: XY
@@ -1530,7 +1530,7 @@ colnames(oe_get(
15301530# > The chosen file was already detected in the download directory. Skip downloading.
15311531# > The corresponding gpkg file was already detected. Skip vectortranslate operations.
15321532# > Reading query `SELECT *, hstore_get_value(other_tags, 'bicycle') AS bicycle FROM lines'
1533- # > from data source `/tmp/Rtmp2s7p6f /test_its-example.gpkg' using driver `GPKG'
1533+ # > from data source `/tmp/Rtmphn8hzC /test_its-example.gpkg' using driver `GPKG'
15341534# > Simple feature collection with 189 features and 11 fields
15351535# > Geometry type: LINESTRING
15361536# > Dimension: XY
0 commit comments