Skip to content

Commit

Permalink
add query-split vignette for #254
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Jan 3, 2022
1 parent 6b3e1f9 commit 6bde8e5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LFILE = osmdata
LFILE = query-split

all: knith open

Expand Down
29 changes: 29 additions & 0 deletions vignettes/query-split.Rmd
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.

0 comments on commit 6bde8e5

Please sign in to comment.