The OpenStreetMap Ecosystem
This is a modal window.
The media could not be loaded, either because the server or network failed or because the format is not supported.
Formal Metadata
Title |
| |
Title of Series | ||
Number of Parts | 7 | |
Author | ||
Contributors | ||
License | CC Attribution 3.0 Germany: You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor. | |
Identifiers | 10.5446/38509 (DOI) | |
Publisher | ||
Release Date | ||
Language | ||
Producer | ||
Production Year | 2018 | |
Production Place | Salzburg |
Content Metadata
Subject Area | ||
Genre | ||
Abstract |
| |
Keywords |
Maptime Salzburg2 / 7
2
00:00
Classical physicsLevel (video gaming)JSONXML
00:20
DatabaseDatabaseLevel (video gaming)Diagram
00:33
Finitary relationPhysical systemType theoryTheory of relativityData typeDifferent (Kate Ryan album)Network topologyEndliche ModelltheorieBitStreaming mediaProgram flowchart
01:00
Menu (computing)Lemma (mathematics)Wechselseitige InformationFinitary relationConnectivity (graph theory)GeometryBitCoordinate systemWordData typeData storage deviceBus (computing)Computer fontBuildingPoint (geometry)Theory of relativityLine (geometry)RoutingPolygonSign (mathematics)Object (grammar)CASE <Informatik>Student's t-testNumber
03:11
Self-organizationParameter (computer programming)String (computer science)Centralizer and normalizerInstance (computer science)DialectBounded variationData modelIntegerObject (grammar)WikiData structureDifferent (Kate Ryan album)GeometryMathematicsSet (mathematics)Computer animation
05:18
Degree (graph theory)Computer wormMathematicsData conversionSet (mathematics)Multiplication signLevel (video gaming)Open setCone penetration testComputer animation
06:34
Level (video gaming)Ordinary differential equationPersonal identification numberData type
07:15
TwitterDatabaseOpen setOpen setDatabaseInternet service providerTheoryLevel (video gaming)XML
08:09
Plug-in (computing)Open sourceComputer programmingBitPhysical systemPower (physics)Web browserNeuroinformatikTracing (software)Text editor
09:03
Installation artText editorUser interfaceWebsiteWeb browserNeuroinformatikMathematicsMobile WebAndroid (robot)Computer animation
09:24
Text editorBitComputer animation
09:42
TrailRandom matrixMoment (mathematics)Row (database)TrailTracing (software)Program flowchart
10:09
Gamma functionTrailComputer programmingDrag (physics)Computer animation
10:28
Uniform resource locatorPersonal identification numberComplete metric spaceTask (computing)Game theoryUser interfaceSuite (music)Computer animation
10:58
Broadcast programmingSineSimulationMappingSimilarity (geometry)Computer animation
11:17
Duality (mathematics)Broadcast programmingMenu (computing)Functional (mathematics)BitComputer animation
11:47
Simulated annealingLeast squaresBitComputer animation
12:12
Equaliser (mathematics)Computer animation
12:48
Error messageProjective planeComputer programmingArrow of time
13:09
View (database)WebsiteError messageGeometryNeuroinformatikProcess (computing)Computer filePlanningRepository (publishing)RoutingData typeLevel (video gaming)Open setStreaming mediaRobotComputer animation
13:56
PlanningSoftwarePlanningQuery languageStudent's t-testBitSoftwareHookingObject-relational mappingOpen sourceDatabaseService (economics)1 (number)RoutingPetri netProjective planeGraph (mathematics)Extension (kinesiology)Java appletWeb 2.0Computer animation
15:15
PlanningService (economics)WaveService (economics)Power (physics)Variety (linguistics)RoutingKey (cryptography)Open setProfil (magazine)SurfaceDifferent (Kate Ryan album)Universe (mathematics)Query languageWeb 2.0
16:02
Open setTurbo-CodeStructural loadPolygonVertex (graph theory)Finitary relationChi-squared distributionQuery languageFormal languageData modelExpert systemComputer animation
16:49
JSONXML
Transcript: English(auto-generated)
00:03
Start with a general overview about OpenStreetMap and OpenStreetMap ecosystem. So we already see like a classic map of OpenStreetMap, but I will try to explain you that OpenStreetMap is actually much more than a map. Because OpenStreetMap is primarily a database
00:25
which you can also display as a map, but you don't have to. I'll start a little bit technically. So in OpenStreetMap you have different data types and you most of you probably know the simple feature
00:41
models, but OpenStreetMap doesn't use them. OpenStreetMap has an own system and this makes sure that all features have correct topology. So there's like the three types. It's like a node, way and a relation. So let's start with the simplest one.
01:02
It's a node. It's basically just a point with a coordinate and a number of tags. So for example here, it's like a little sign which is close to here. And in OpenStreetMap we have a lot of nodes and it's kind of the basic component of where all data consists of.
01:29
So the next one is a way. A way is basically a collection of nodes which also stores some tags. So in this case, like this is the building where we just are located in and here you can see the nodes.
01:47
And one important thing to know is actually that a way doesn't store the geometry itself or like it doesn't store any coordinates, but only references nodes which store the coordinates. And then just like some more examples.
02:02
So for a way, it's usually like a line, but can also be like a closed line. In this case, it's like a simple polygon without any holes or like a street or a river. This is all usually a way. And now the last data type is a relation.
02:22
It's a little bit more complicated because a relation is a collection of nodes, ways and also a relation itself. So one example is, for example, you have a bus line, so it's bus 24 in Salzburg. And it actually consists of bus stops which are points, then the route which is ways.
02:45
This is just like an object, a more complex object. And another example is, for example, if you have polygons with holes inside, then you have a relation with like the outline as a way and like the holes as ways.
03:06
So far some words about the data types and the next thing is like the tags in OpenStreetMap. So there is no central instance or person or committee who is defining these tags.
03:21
It's just everything is bottom up. So you can just register OpenStreetMap for free, obviously, and you can directly edit something and invent your own tag if you want to. Of course, there's already some predefined tags which you can find like on the OpenStreetMap Wiki.
03:44
And yeah, it's basically you always have like a string which also has a key and the value is always also a string. So, for example, when you have a mountain of elevation, you could expect that the value is actually an integer, but actually you could also write just the letters inside.
04:02
And it's totally allowed, but obviously it doesn't make much sense, but it's possible. And another important thing to know is actually that since there's no central organization who is defining these tags,
04:22
sometimes there's for one the same thing, there's like different ways how you can actually map it. So you have in some countries you map like a river like this, or like river is not a good example, but there's some other like objects which are where there's a kind of argument how to take it. So in one country or one region, you map it like this and the other one you map it like this.
04:44
And even like in the same regions, you can have it different. For example, if you have like a pavement, like a way for walking for pedestrians, sometimes you have like an external geometry and sometimes you have it like attached to the main street only as a tag.
05:03
So there's a lot of variation and it's of course a little bit messy, but this ensures that the OpenStreetMap data model, data structures, they're really dynamic and people can just edit it. Then the next important thing is like a change set.
05:21
If you edit something, it's just like the collections of all your changes and I will try to show you one. So, for example, so here for example is TrafficCon company and here you can see the change sets
05:49
and when this TrafficCon was edited last time, there were also some other things mapped. And then, for example, you see the person who mapped it and then if I have a question, I can just comment
06:05
and then the mapper who edited this can also respond and then there's like some conversation going on and you can do this for all data which is inside OpenStreetMap, you will see who changed it
06:27
and which change set it was and which other features have been edited. And then another concept, this is like it's a note like not confused with the data type note, it's like more like notification.
06:46
So it's just if you see a problem on the map, you can simply make a pin on it and say here's a problem and tell it, just write it down and then someone else can change it and the cool thing is you don't even have to be registered.
07:00
So if you just discover something and quickly want to just notify that there's let's say the shop that doesn't exist anymore, then you just make this pinpoint, say the shop is closed and then someone else who's motivated can do this. Then about the license, so of course OpenStreetMap data is open but there are some restrictions.
07:23
So of course you can download it and modify and so on but you have to always attribute it. It's like the open database license and of course I'm not a lawyer so you should actually read the official documentation. But one important thing is you're not allowed to mix it with closed data.
07:43
So for example like a BigMap provider is not allowed to take OpenStreetMap and just include it in their own data and that's not allowed. So if a BigMap provider says okay we want to have OpenStreetMap then they have to open all of the data as well otherwise it's not allowed.
08:02
Okay then some theory and now I will show you how to edit OpenStreetMap data. So I start with the most important program, it's called chosen. It's like a desktop program written in Java so it runs on all operating systems.
08:20
And it's like the most powerful OpenStreetMap editing tool. It has like a lot of plugins and it's actively maintained. At the beginning it's a little bit challenging to get inside but it's basically like every other desktop GIS like QGIS or so. And you can add some additional layers in the background and also trace from them if you're
08:48
allowed to do so because there are some data sources where you're allowed to trace OpenStreetMap from. And so this is basically the ultimate tool to go if you really want to get serious with OpenStreetMap.
09:03
And another thing for computers is like the ID editor and the cool thing is it runs in the browser so you don't have to install anything. And I find the user interface really simple and easy so if you just want to do some quick changes then just use the ID editor. You can directly find it on the OpenStreetMap website.
09:23
And of course you can also edit OpenStreetMap data on mobile devices so especially Android. So here this is the Vespucci editor. It's a little bit like JOSM. It's a lot of features and at the beginning it's a little bit overwhelming but it's really powerful and you can do anything you want.
09:42
But this is another one which is really cool. You don't actually edit the data at the moment. You just make notes so you start a track and then it records your GPS trace. And then you can take audio recording or take a picture or just do a written note or you can choose from some brief, predefined text.
10:04
And the interesting thing is you can export this and then you can import it in JOSM here. For example I was hiking last weekend and the pink track is mine so I was taking pictures and did some notes. And then you can just click on the picture and you see it in the program and you can edit or you can listen to your audio recordings or your notes.
10:27
And it works actually quite simple. And actually if you want to have it even more simple then you can use StreetComplete. It's more like a game. So very simple user interface. You just open it and then it zooms to your current location and then you see the pins here.
10:44
And these are little tasks. For example here this asks is this a one-way road and you can say yes, no or I don't know. And then just edit it and upload and then it's done. So very simple and easy to do.
11:00
And then last there's two very interesting apps. So it's called Maps.Me and Osmant. Both are kind of similar. Both can download OpenStreetMap data offline. So you don't need any mobile data and can navigate. And both also have limited functionality to edit the OpenStreetMap data.
11:25
Then so far I'm about to edit and then some tool how to actually view data, what has changed recently. So this is a really cool tool. You just can go to a specific region and ask like what has changed within the last month or week.
11:47
So here for example, we go a little bit closer. We are here right now and okay we can see like in the last week this here has changed.
12:06
Or this and you can just details for the hospital. And you can click on it and then see what the mapper did. And if you have a question just comment and yeah.
12:21
So this is a really good tool just to monitor what happens. And a lot of people use this tool to just monitor if there's everything what has been mapped does make sense. So of course there's some happens to people that do some bad edits or even vandalism.
12:41
And with this tool you can easily find it. But there's also some automatic quality assurance tools. For example Osmose it's a French project. And you just see the map and see a lot of pinpoints with some automatically issues.
13:01
So they just take the whole planet of OpenStreetMap and run it through a program. And then display all the errors and people can change it. There's also another one from Geofabrik a really important company which deals with OpenStreetMap data. And they also show a lot of errors on the OpenStreetMap website.
13:20
Then how to download there's Geofabrik is the in my opinion the most powerful one. You can download this as a OpenStreetMap file or also shapefile. And BBB bike is yeah can also download in what some more exotic data types.
13:43
And planet OpenStreetMap is the official repository where you can download like the really 70 gigabyte of the whole world. So you can have it everything on your computer. So then how to process OpenStreetMap data. One very needed feature is like how to do route planning.
14:03
And there's a lot of open source software. So GraphHopper is a Java based routing engine. OSRM, C++, Valhalla also C++ and PT routing is an extension for the PostGIS database. And actually I know GraphHopper very well and it's really easy to set up.
14:25
So if like just a few commands on a command line you can actually build your routing graph for like a whole country and even do routing. And it's incredibly fast. OSRM is also really really fast and Valhalla as well and really powerful and they're all evolving.
14:41
So and they're quite simple to set up. So if you're a student and looking for a student project this is just very easy to get into. And PT routing is a little bit special, it's slower than the three other ones. But you can do much more specialized routing queries.
15:00
So it also has its purpose but it's much slower. So if you want to have like a routing service for the whole world which is really fast then you should probably use GraphHopper, OSRM or Valhalla. Then there's also some routing services on the web. So for OpenStreetMap the most popular one is OpenRouteService.
15:24
It's operated by the University of Heidelberg and it has a lot of features. So especially you can choose from a variety of profiles. So you have different car profiles, bus, bike, e-bike, pedestrian, hiker, wheelchair.
15:43
And you even can see like the surfaces on which you're on and also the elevation. And everything comes directly from the OpenStreetMap data and you can import or export everything as GPX. So if you're planning a bike trip you can use this, it's really cool. Then the last thing I want to show you is Overpass API.
16:05
So it's query language especially targeted to the OpenStreetMap data model. And it's not related to any other language I know. So you would think SQL is interesting but apparently for OpenStreetMap data SQL is not really good.
16:24
And for example here you can just amend drinking water. I just did it for Salzburg so you have all drinking water places. But you can do really complex queries inside and this is one thing Nico is an expert in. So then I want to finish my talk and then Nico will continue then. Thanks.