From 453ef06d6a9532fabcad6e2e92c49c7fe73204c8 Mon Sep 17 00:00:00 2001 From: rafapereirabr Date: Mon, 21 Oct 2024 20:58:23 -0300 Subject: [PATCH] Mentions the rosmium package in the answer to faq 4 --- r-package/vignettes/faq.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r-package/vignettes/faq.Rmd b/r-package/vignettes/faq.Rmd index 7e59af02..912d88a8 100644 --- a/r-package/vignettes/faq.Rmd +++ b/r-package/vignettes/faq.Rmd @@ -56,7 +56,7 @@ knitr::opts_chunk$set(
click to expand -> If you an error message says something like: *"Geographic extent of street layer (5315196 km2) exceeds limit of 975000 km2"*. This means the your study area is too large. Unfortunately, this is a limit hardcoded upstream in R5 so we cannot change it in r5r. The advised **solution** here would be to reduce the extent of the `OpenStreetMap.pbf` to a smaller area of interest. One can do this using the [Osmosis](https://wiki.openstreetmap.org/wiki/Osmosis) software. The code below illustrates how to do this by calling Osmosis from within R. You need to donwload the Osmosis program to your computer. The latest releases can be downloaded from [here](https://github.com/openstreetmap/osmosis/releases). Next, you can use this step-by-step illustrated in the example below: +> If you an error message says something like: *"Geographic extent of street layer (5315196 km2) exceeds limit of 975000 km2"*. This means the your study area is too large. Unfortunately, this is a limit hardcoded upstream in R5 so we cannot change it in r5r. The advised **solution** here would be to reduce the extent of the `OpenStreetMap.pbf` to a smaller area of interest. Here are two alternatives on how to do this. The first one is using the [{rosmium}](https://github.com/ipeaGIT/rosmium) package in R. The other alternative is using the [Osmosis](https://wiki.openstreetmap.org/wiki/Osmosis) software. The code below illustrates how to do this by calling Osmosis from within R. You need to donwload the Osmosis program to your computer. The latest releases can be downloaded from [here](https://github.com/openstreetmap/osmosis/releases). Next, you can use this step-by-step illustrated in the example below: ``` # get the bounding box of your study area