OSM Crowd Sourcing Client
Total Page:16
File Type:pdf, Size:1020Kb
2009:180 CIV EXAMENSARBETE OpenStreetMap - Crowd sourcing client Mattias Grape Luleå tekniska universitet Civilingenjörsprogrammet Medieteknik Institutionen för Systemteknik Avdelningen för Medieteknik 2009:180 CIV - ISSN: 1402-1617 - ISRN: LTU-EX--09/180--SE Abstract Location-based mobile services/applications [1] are becoming more and more popular both on the web and in the mobile phones, according to research firm Gartner. The demand for accurate maps is rapidly growing and the possibility for the user to contribute to add details to the maps. In many parts of the world maps cost a lot of money to get and each time you want to update the maps there is a fee to update them. OpenStreetMap (OSM) is an open source project that provides free wiki-based maps. The OpenStreetMap has an engaged and active community of mappers that constantly improve the map data. One way is to record GPS tracks and upload them to the OSM web site. On the site there is a drawing tool that can be used to draw and tag objects like road, fields, houses, rivers etc. Also Points-Of-Interests (POI) can be added to the map like bus stops, train stations, stores, restaurants, tourist objects etc. This thesis work shows the process on how to contribute to OSM and presents different techniques used for collecting useful data that is used to build the maps. Also the process on how the Java ME client application was made for crowd sourcing contribution to the OSM. The client “Mobile OSM Creator” let’s you easily record GPS track points, take waypoints and record audio clips. Each of these features is saved to a file that’s in GPS eXchange Format (GPX) format, which can then later be uploaded to your OSM-account or imported to JOSM or any other map editor. Points-Of-Interests can be uploaded directly to OSM from the mobile phone by logging in with your OSM-account. The client can be customized by the user in a lot of different ways. All in all the “Mobile OSM Creator” is a feature rich application where you among many things can set GPS tracking frequency, offline/online maps and render styles for the map. This client can be downloaded from Ericsson Labs (https://labs.ericsson.com/applications ). Preface This thesis is a part of the Master of Science in media technology education at Luleå University of Technology (LTU). The purpose of the project was to make an application to the Ericsson Labs (https://labs.ericsson.com/ ) collections of applications and make it open source to let the community carry on the project after my thesis work is done. The project was developed at Ericsson Research in Luleå. I would like to thank my supervisor at LTU Kåre Synnes. I would also like to thank the employees at Ericsson Research, especially my supervisor Staffan Larsson E, Sebastien Pierrel for valuable feedback from an experienced OSM contributor, and Tor Björn Minde for giving me this opportunity to do this work. Finally I would like to thank everyone that have tested the program, especially Rikard Nilsson or read parts of the thesis report and provided comments, making the work better then it would have otherwise been. Contents Introduction ......................................................................................1 1.1 Objectives ...........................................................................1 1.2 Limitations ...........................................................................1 1.3 Thesis structure...................................................................2 Background ......................................................................................3 2.1 What is OpenStreetMap? ....................................................3 2.1.1 How can a project like this create accurate maps? ...........4 2.1.2 Why is the data sometimes inconsistent? .........................4 2.1.3 Why use OSM? ................................................................4 2.2 How to contribute to OSM community..................................5 2.2.1 Public domain map...........................................................5 2.2.2 OpenStreetBugs...............................................................5 2.2.3 Simple edits......................................................................5 2.2.4 Creating maps from scratch..............................................5 2.2.5 Collaborating with others ..................................................5 2.3 How is OSM build up? .........................................................6 2.4 OSM community..................................................................7 2.5 Why is Sony Ericsson interested in OSM?...........................8 2.6 Ericsson Labs API ...............................................................8 Why to use open source as development method.......................10 3.1 License..............................................................................10 3.2 Input data ..........................................................................10 Method ............................................................................................11 4.1 Literature Studies ..............................................................11 4.2 Studies of Existing Applications.........................................11 4.3 Analysis of mapping techniques ........................................11 4.4 Identify and priority features for a Java ME client tool........11 4.5 Discussion.........................................................................11 4.6 Iterative implementation according to these priorities ........11 4.7 Evaluate each implementation phase ................................12 4.8 Beta testing .......................................................................12 Map Making.....................................................................................13 5.1 Mapping techniques ..........................................................13 5.1.1 GPS track logs ...............................................................13 5.1.2 Satellite/Arial Imagery.....................................................13 5.1.3 GPS Waypoints ..............................................................14 5.1.4 Photo mapping ...............................................................14 5.1.5 Hand drawn maps of city streets.....................................15 5.1.6 Audio mapping ...............................................................15 5.1.7 Video mapping ...............................................................16 5.1.8 Dictacam ........................................................................16 5.1.9 Focus on one type of street ............................................16 5.1.10 Always turn right...........................................................17 5.1.11 Set borders...................................................................17 5.2 Mapping style ....................................................................17 5.2.1 One-way mapping ..........................................................17 5.2.2 Two-way mapping ..........................................................17 5.3 Transportation method ......................................................18 5.3.1 Walk ...............................................................................18 5.3.2 Bicycle/ Inline skates ......................................................18 5.3.3 Car .................................................................................18 5.3.4 Rail.................................................................................18 5.4 Upload data.......................................................................18 5.4.1 Save to GPX...................................................................18 5.4.2 Uploading to OSM ..........................................................19 5.5 Editing ...............................................................................19 5.5.1 General tips for adding roads or other ways ...................20 5.5.2 Tagging ..........................................................................21 5.5.3 Changeset......................................................................22 5.5.4 Potlatch online editor in OSM webpage ..........................22 5.5.5 JOSM offline editor.........................................................26 5.6 Render maps.....................................................................28 Features discussed at the start of the project..............................29 6.1 Core Features ...................................................................29 6.1.1 Support different connections of GPS.............................29 6.1.2 Map ................................................................................29 6.1.3 Create GPX files.............................................................29 6.2 Upload GPX track from phone to OSM account.................29 6.3 Download latest OSM map................................................30 6.4 Edit map on fly when tracking............................................30 6.5 Audio features ...................................................................30 6.6 Photo features...................................................................30 6.7 Accelerometer ...................................................................30 6.8 Overlay map......................................................................30 6.9 Recognition intelligence.....................................................30 6.10 Automatic building of roads .............................................31 Features included in