Skip to content

Commit

Permalink
Mentions the rosmium package in the answer to faq 4
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapereirabr committed Oct 21, 2024
1 parent 170266d commit 453ef06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r-package/vignettes/faq.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ knitr::opts_chunk$set(

<details><summary>click to expand</summary>

> 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
Expand Down

0 comments on commit 453ef06

Please sign in to comment.