Abstract
Using OpenStreetMap data usually means, firstly, filtering for thematic extracts. This can be done with the OpenStreetMap mirror database Overpass API (application programming interface). To do this efficiently, the database takes advantage of the assumption that data is often selected from a relatively small spatial region instead of randomly across the planet. The paper aims to investigate what design choices are required to be able to answer almost any geographic query whilst serving common use cases fast enough such that the services based on this database are fast on affordable and standard sized hardware. The usage patterns from the main instance of Overpass API on overpass-api.de are evaluated. These comprise more than 40 million requests from the years 2012 to 2013 coming from about 60 % of the global IPv4 (IP protocol version 4) space. Therefore it can be said for sure that the assumption that queries are spatially dense holds on a large share of all queries.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Mapnik. github.com/mapnik/mapnik. Retrieved 2014-05-05 04:00:00 UTC
Maria DB (2014) code.launchpad.net/maria. Retrieved 2014-05-05 04:00:00 UTC
Main database usage policy. wiki.osm.org/wiki/API_usage_policy#Heavy_Users. Retrieved 2014-05-05 04:00:00 UTC
Minute diffs. planet.osm.org/replication/minute. Retrieved 2014-05-05 04:00:00 UTC
Mooney P, Corcoran P (2012) Characteristics of heavily edited objects in openstreetmap. Future Internet 4(1):285–305
MySQL. mysql.com. Retrieved 2014-05-05 04:00:00 UTC
Neis P, Zipf A (2012) Analyzing the contributor activity of a volunteered geographic information project—the case of OpenStreetMap. ISPRS Int J Geo-Information 1(2):146–165
Neis P, Zielstra D, Zipf A (2011) The street network evolution of crowdsourced maps: OpenStreetMap in germany 2007–2011. Future Internet 4(1):1–21
Olbricht R (2014) Overpass API. github.com/drolbr/Overpass-API. Retrieved 2014-05-05 04:00:00 UTC
OpenStreetMap portal. openstreetmap.org. Retrieved 2014-05-05 04:00:00 UTC
Overpass API public instance. overpass-api.de. Retrieved 2014-05-05 04:00:00 UTC
Overpass Turbo. overpass-turbo.eu. Retrieved 2014-09-25 12:00:00 UTC
Overpass API Munin stats. overpass-api.de/munin/de/overpass-api.de/index.html#disk. Retrieved 2014-05-05 04:00:00 UTC
Planet.osm. planet.osm.org/planet. Retrieved 2014-05-05 04:00:00 UTC
PostGIS. postgis.net/source. Retrieved 2014-05-05 04:00:00 UTC
PostgreSQL. postgresql.org. Retrieved 2014-05-05 04:00:00 UTC
Quinion B, Hoffmann S et al (2014) Nominatim. github.com/twain47/Nominatim. Retrieved 2014-05-05 04:00:00 UTC
Ramm F (2013) Wer ist der Boss bei OpenStreetMap? Presented at the FOSSGIS 2013. Rapperswil, Switzerland
Ramm F, Topf J, Chilton S (2010) OpenStreetMap: using and enhancing the free map of the world. Uit, Cambridge
Ruemmler C, Wilkes J (1994) An introduction to disk drive modeling. IEEE Comput 27(3):17–29
Redmond E, Wilson JR, Carter J (2012) Seven databases in seven weeks: a guide to modern databases and the NoSQL movement. Oreilly and Associate Series. Pragmatic Bookshelf, Massachusetts
Schmidt M (2013) Frauen in OpenStreetMap. Presented at the FOSSGIS 2013. Rapperswil, Switzerland
Standard on cross origin resource sharing. www.w3.org/TR/cors/. Retrieved 2014-05-05 04:00:00 UTC
Topf J (2013) Das OpenStreetMap-Datenmodell. Presented at the FOSSGIS 2013. Rapperswil, Switzerland
Wilcox M (2014) The second extended filesystem. http://lxr.linux.no/#linux+v2.6.29/Documentation/filesystems/ext2.txt. Retrieved 2014-05-05 04:00:00 UTC
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Olbricht, R.M. (2015). Data Retrieval for Small Spatial Regions in OpenStreetMap. In: Jokar Arsanjani, J., Zipf, A., Mooney, P., Helbich, M. (eds) OpenStreetMap in GIScience. Lecture Notes in Geoinformation and Cartography. Springer, Cham. https://doi.org/10.1007/978-3-319-14280-7_6
Download citation
DOI: https://doi.org/10.1007/978-3-319-14280-7_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-14279-1
Online ISBN: 978-3-319-14280-7
eBook Packages: Earth and Environmental ScienceEarth and Environmental Science (R0)