Skip to content

Commit f711a90

Browse files
committed
Deploying to gh-pages from @ 1ef702b 🚀
1 parent 4720830 commit f711a90

42 files changed

Lines changed: 1468 additions & 217 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

articles/osmextract.html

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/osmextract.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ returned by `tools::R_user_dir("osmextract", "data")` (see
620620
``` r
621621

622622
oe_download_directory()
623-
#> [1] "/tmp/Rtmp2s7p6f"
623+
#> [1] "/tmp/Rtmphn8hzC"
624624
```
625625

626626
Another 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

941941
oe_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

958958
oe_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

authors.html

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

authors.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
Nicholas reviewed the package (v. 0.1) for rOpenSci, see
1919
\<<https://github.com/ropensci/software-review/issues/395>\>
2020

21+
- **Juan P. Fonseca-Zamora**. Contributor.
22+
[](https://orcid.org/0009-0006-7042-3828)
23+
2124
## Citation
2225

2326
Source:

index.html

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

llms.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,18 @@ project, you agree to abide by its terms.
320320
- [`bbbike_zones`](https://docs.ropensci.org/osmextract/reference/bbbike_zones.md)
321321
: An sf object of geographical zones taken from bbbike.org
322322

323+
- [`clean_oneway()`](https://docs.ropensci.org/osmextract/reference/clean_oneway.md)
324+
: Clean the oneway values in a OSM network
325+
323326
- [`geofabrik_zones`](https://docs.ropensci.org/osmextract/reference/geofabrik_zones.md)
324327
: An sf object of geographical zones taken from geofabrik.de
325328

326329
- [`get_default_osmconf_ini()`](https://docs.ropensci.org/osmextract/reference/get_default_osmconf_ini.md)
327330
: Get default osmconf.ini
328331

332+
- [`net_2_sfnet_undirected()`](https://docs.ropensci.org/osmextract/reference/net_2_sfnet_undirected.md)
333+
: Convert a spatial network to an undirected sfnetwork
334+
329335
- [`oe_clean()`](https://docs.ropensci.org/osmextract/reference/oe_clean.md)
330336
: Clean download directory
331337

@@ -346,13 +352,19 @@ project, you agree to abide by its terms.
346352
- [`oe_get_boundary()`](https://docs.ropensci.org/osmextract/reference/oe_get_boundary.md)
347353
: Get the administrative boundary for a given place
348354

355+
- [`oe_get_dodgrnetwork()`](https://docs.ropensci.org/osmextract/reference/oe_get_dodgrnetwork.md)
356+
: Obtain a dodgr_streetnet object from OpenStreetMap data
357+
349358
- [`oe_get_keys()`](https://docs.ropensci.org/osmextract/reference/oe_get_keys.md)
350359
[`print(`*`<oe_key_values_list>`*`)`](https://docs.ropensci.org/osmextract/reference/oe_get_keys.md)
351360
: Return keys and (optionally) values stored in "other_tags" column
352361

353362
- [`oe_get_network()`](https://docs.ropensci.org/osmextract/reference/oe_get_network.md)
354363
: Import transport networks used by a specific mode of transport
355364

365+
- [`oe_get_sfnetwork()`](https://docs.ropensci.org/osmextract/reference/oe_get_sfnetwork.md)
366+
: Obtain a sfnetwork object from OpenStreetMap data
367+
356368
- [`oe_match()`](https://docs.ropensci.org/osmextract/reference/oe_match.md)
357369
: Match input place with a url
358370

news/index.html

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

news/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
- [`oe_download()`](https://docs.ropensci.org/osmextract/reference/oe_download.md)
1515
can correctly and automatically detect the openstreetmap.fr provider
1616
from an input URL.
17+
- Added new functions `oe_get_*network` to obtain primal graphs, i.e.,
18+
`sfnetwork` and `dodgr_streetnet` objects, from OSM data.
19+
20+
#### MINOR CHANGES
21+
22+
- Bumped minimum `testthat` version to 3.3.0
1723

1824
## osmextract 0.6.0
1925

pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ articles:
66
providers_comparisons: providers_comparisons.html
77
providers: providers.html
88
tips-and-tricks: tips-and-tricks.html
9-
last_built: 2026-07-08T14:46Z
9+
last_built: 2026-07-10T13:35Z
1010
urls:
1111
reference: https://docs.ropensci.org/osmextract/reference
1212
article: https://docs.ropensci.org/osmextract/articles

0 commit comments

Comments
 (0)