-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LFILE = osmdata | ||
LFILE = query-split | ||
|
||
all: knith open | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: "4. Splitting large queries" | ||
author: | ||
- "Mark Padgham" | ||
date: "`r Sys.Date()`" | ||
bibliography: osmdata-refs.bib | ||
output: | ||
html_document: | ||
toc: true | ||
toc_float: true | ||
number_sections: false | ||
theme: flatly | ||
vignette: > | ||
%\VignetteIndexEntry{4. query-split} | ||
%\VignetteEngine{knitr::rmarkdown} | ||
%\VignetteEncoding{UTF-8} | ||
--- | ||
|
||
## 1. Introduction | ||
|
||
The `osmdata` package retrieves data from the [`overpass` | ||
server](https://overpass-api.de) which is primarily designed to deliver small | ||
subsets of the full Open Street Map (OSM) data set, determined both by specific | ||
bounding coordinates and specific OSM key-value pairs. The server has internal | ||
routines to limit delivery rates on queries for excessively large data sets, | ||
and may ultimately fail for large queries. This vignette describes one approach | ||
for breaking overly large queries into a set of smaller queries, and for | ||
re-combining the resultant data sets into a single `osmdata` object reflecting | ||
the desired, large query. |