Skip to content

Commit 1c8e3e7

Browse files
committed
Add more sections + descriptions
Heads-up @agila5 I may put in a PR to improve osmextract docs based on this
1 parent 69a1094 commit 1c8e3e7

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

osm.qmd

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,23 +118,24 @@ Extracts from each provider are shown in the figures below, generated by code th
118118

119119
## Geofabrik
120120

121-
`geofabrik` is a society that provides map-based services and free downloads of OSM extracts that are updated daily.
122-
These extracts are based on a division of the world into different regions, covering a whole continent (plus Russian Federation):
121+
`geofabrik` is a company that provides map-based services and free downloads of OSM extracts that are updated daily.
122+
These extracts are based on a division of the world into different regions, at 4 different levels.
123+
Zones in level 1 cover a whole continent (plus Russian Federation):
123124

124125
```{r}
125126
#| code-fold: true
126127
par(mar = rep(0, 4))
127128
plot(geofabrik_zones[geofabrik_zones$level == 1, "name"], key.pos = NULL, main = NULL)
128129
```
129130

130-
or several countries all around the world:
131+
Level 2 contains polygons representing several countries all around the world:
131132

132133
```{r}
133134
#| code-fold: true
134135
plot(geofabrik_zones[geofabrik_zones$level == 2, "name"], key.pos = NULL, main = NULL)
135136
```
136137

137-
Geofabrik also defines several special zones, such as Alps, Britain and Ireland, Germany, Austria and Switzerland, US Midwest, US Northeast, US Pacific, US South and US West.
138+
Geofabrik also defines several special zones, such as Alps, Britain and Ireland, Germany, Austria and Switzerland, US Midwest, US Northeast, US Pacific, US South and US West (level 3).
138139
Moreover, it contains extracts relative to some administrative subregions, mainly in Europe, Russia, Canada and South America:
139140

140141
```{r}
@@ -147,15 +148,15 @@ Check `?geofabrik_zones` and the [provider's webpage](http://download.geofabrik.
147148
## Openstreetmap.fr
148149

149150
`openstreetmap_fr` extracts are taken from http://download.openstreetmap.fr/, a web-service that provides OSM data updated every few minutes.
150-
The extracts are based on several regions, such as the continents:
151+
The extracts are based on several regions, such as the continents (level 1):
151152

152153
```{r}
153154
#| code-fold: true
154155
# Russian federation is considered as a level 1 zone
155156
plot(openstreetmap_fr_zones[openstreetmap_fr_zones$level == 1, "name"], key.pos = NULL, main = NULL)
156157
```
157158

158-
or some countries around the world (less than `geofabrik`):
159+
or some countries around the world (less than `geofabrik`'s level 2 zones):
159160

160161
```{r}
161162
#| code-fold: true
@@ -217,6 +218,8 @@ The quickest way to get large OSM datasets in R (and possibly in any data analys
217218

218219
The package makes your life easy by automating many parts of the OSM extract identification, download, and processing pipeline, so you can focus on the analysis and high-impact reasearch!
219220

221+
## Finding an extract to download
222+
220223
Let's see how it works for the city of Poznan:
221224

222225

@@ -251,6 +254,8 @@ oe_match(poznan, provider = "bbbike")
251254
oe_match(poznan, provider = "openstreetmap_fr")
252255
```
253256

257+
As shown above, `bbbike` is the only provide that provides a match for Poznan (the others match with all of Poland).
258+
254259

255260
# Other command line tools for working with OSM data {#sec-command-line}
256261

0 commit comments

Comments
 (0)