• Home
  • About

GIScience News Blog

News of Heidelberg University’s GIScience Research Group.

Feed on
Posts
Comments
« HeiGIT and German Red Cross representation at DLR Humanitarian Technology Days 2019
VGI-HATcH: Workshop at AGILE 2019 in Limassol, Cyprus (June 17, 2019) »

How to become ohsome part 3: Identifying different mapping schemes

Feb 15th, 2019 by Fabian Kowatsch

This is your first blog of the ohsome series? Before you might be confronted with any potential spoilers, you should better check out the first and the second part of this blog series (or the intro to the idea and general architecture) to be on the safe side and up to date with the current content.

So here we are again, back with a new blog of the how to become ohsome series. As promised last time, we will take a look at different mapping/tagging schemes. Therefore, we will query OpenStreetMap (OSM) history data from two different cities and compare the usage of the building tag. The chosen cities are both of similar size (roughly 150k inhabitants), but situated in two different European countries: Salzburg in Austria and Oxford in Great Britain. We will use the elements/count/groupBy/tag resource of the ohsome API to get our results grouped on different tags. Speaking of tags, we use the four most frequent building tags from taginfo: yes, house, residential and garage. The requests are built with the following parameters:

bpolys=[respective GeoJSON FeatureCollection]
time=2010-01-01/2018-07-01/P6M
format=csv
types=way
keys=building
groupByKey=building
groupByValues=yes,residential,house,garage

Our two requests contain the spatial component bpolys, having the two GeoJSON boundaries from our two regions, one for each request. You can derive these boundaries, or any other boundary from this website.

The temporal parameter time describes a time frame from 2010-01-01 to 2018-07-01 in a half-year interval (P6M stands for 6 months). This means we will get 18 results, two for every year at the first of January and the first of July respectively.

The format=csv parameter tells the API that we are interested in getting a csv file as a response, which we want to load directly into a spreadsheet program, e.g. Excel.

The types and keys parameters are our first two attributive filters, explaining that we want to query OSM way features that have any building tag assigned to them. Via the last two attributive parameters groupByKey and groupByValues, we define on which tags the grouping should be based.

Please also notice the naming of the parameters in respect to singular vs. plural: Parameters like format, or groupByKey can only contain zero or one value, whereas others like keys, or groupByValues can contain zero or more.

To make your life tweaking the API easier, we’ve created another snippet that includes the cURL requests, the parameters, as just described, as well as a view on one of the returned responses.

After the responses are returned, we can load the content into our spreadsheet program and create the following two diagrams:

The first one shows the number of buildings having the requested tags for Oxford. Additionally to the 4 tags, we see a category called remainder, which represents the number for all other building tags. Looking at the results, the most used building tag since 2012 is building=house, where it surpassed the second most frequent building=yes tag.

The second diagram gives us the numbers for Salzburg. What probably jumps into one’s eyes at first sight are the long orange bars referring to the tag building=yes. This generic tag takes by far the biggest margin of the visualized tag distribution, having between 1300 and 26000 occurrences at the requested timestamps. In comparison to that, building=house only has between 0 and 132 occurrences.

In this 3rd part of how to become ohsome, we’ve demonstrated how you can take a look at different tagging schemes through using the ohsome API to query OSM’s history. You want to learn more about how to use our ohsome framework? Take a look at other blog posts (1, 2, 3, 4, 5).

You want to give us feedback? Just write an email to info@heigit.org. You want to know something about the next blog post? Subscribe to our ohsome blog posts using this link to the rss feed. The next episode might tell you how to analyze historical OSM data on a global scale. So stay tuned ;-)

Tags: become-ohsome, Big Spatial Data, heigit, intrinsic quality analysis, ohsome, oshdb, OSM, OSM History Analytics

Posted in OSM, Software

Comments are closed.

  • About

    GIScience News Blog
    News of Heidelberg University’s GIScience Research Group.
    There are 1,480 Posts and 0 Comments so far.

  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Recent Posts

    • Press release: Understanding the Spatial and Temporal Dimensions of Landscape Dynamics
    • Wanna give feedback about HeiGIT services? Survey Deadline extended to 05.03.
    • An ohsome Railway Network Visualization and Analysis
    • Humanitarian OSM Stats: How to monitor humanitarian mapping in the HOT Tasking Manager? - Part 3
    • ISCRAM GIS Track: Deadline extended for WiP and Practitioner papers: February 21, 2021
  • Tags

    3D 3DGEO Big Spatial Data CAP4Access Citizen Science Colloquium crisis mapping Crowdsourcing data quality disaster DisasterMapping GeoNet.MRN GIScience heigit HOT humanitarian Humanitarian OpenStreetMap team intrinsic quality analysis landuse laser scanning Lidar Mapathon MapSwipe Missing Maps MissingMaps ohsome ohsome example Open data openrouteservice OpenStreetMap OSM OSM History Analytics OSMlanduse Quality quality analysis remote sensing routing social media spatial analysis Teaching terrestrial laser scanning Twitter VGI Wheelchair Navigation Workshop
  • Archives

    • March 2021
    • February 2021
    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    • April 2020
    • March 2020
    • February 2020
    • January 2020
    • December 2019
    • November 2019
    • October 2019
    • September 2019
    • August 2019
    • July 2019
    • June 2019
    • May 2019
    • April 2019
    • March 2019
    • February 2019
    • January 2019
    • December 2018
    • November 2018
    • October 2018
    • September 2018
    • August 2018
    • July 2018
    • June 2018
    • May 2018
    • April 2018
    • March 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    • October 2017
    • September 2017
    • August 2017
    • July 2017
    • June 2017
    • May 2017
    • April 2017
    • March 2017
    • February 2017
    • January 2017
    • December 2016
    • November 2016
    • October 2016
    • September 2016
    • August 2016
    • July 2016
    • June 2016
    • May 2016
    • April 2016
    • March 2016
    • February 2016
    • January 2016
    • December 2015
    • November 2015
    • October 2015
    • September 2015
    • August 2015
    • July 2015
    • June 2015
    • May 2015
    • April 2015
    • March 2015
    • February 2015
    • January 2015
    • December 2014
    • November 2014
    • October 2014
    • September 2014
    • August 2014
    • July 2014
    • June 2014
    • May 2014
    • April 2014
    • March 2014
    • February 2014
    • January 2014
    • December 2013
    • November 2013
    • October 2013
    • September 2013
    • August 2013
    • July 2013
    • June 2013
    • May 2013
    • April 2013
  •  

    February 2019
    M T W T F S S
    « Jan   Mar »
     123
    45678910
    11121314151617
    18192021222324
    25262728  
  • Recent Comments

    GIScience News Blog CC by-nc-sa Some Rights Reserved.

    Free WordPress Themes | Fresh WordPress Themes