{"id":333092,"date":"2016-12-07T13:37:31","date_gmt":"2016-12-07T21:37:31","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/?post_type=msr-research-item&#038;p=333092"},"modified":"2018-10-16T19:58:42","modified_gmt":"2018-10-17T02:58:42","slug":"hidden-markov-map-matching-noise-sparseness","status":"publish","type":"msr-research-item","link":"https:\/\/www.microsoft.com\/en-us\/research\/publication\/hidden-markov-map-matching-noise-sparseness\/","title":{"rendered":"Hidden Markov Map Matching Through Noise and Sparseness"},"content":{"rendered":"<p>The problem of matching measured latitude\/longitude points to roads is becoming increasingly important. This paper describes a novel, principled map matching algorithm that uses a Hidden Markov Model (HMM) to find the most likely road route represented by a time-stamped sequence of latitude\/longitude pairs. The HMM elegantly accounts for measurement noise and the layout of the road network. We test our algorithm on ground truth data collected from a GPS receiver in a vehicle. Our test shows how the algorithm breaks down as the sampling rate of the GPS is reduced. We also test the effect of increasing amounts of additional measurement noise in order to assess how well our algorithm could deal with the inaccuracies of other location measurement systems, such as those based on WiFi and cell tower multilateration. We provide our GPS data and road network representation as a standard test set for other researchers to use in their map matching work.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-396605\" src=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2016\/12\/map.png\" alt=\"map matching data\" width=\"500\" height=\"297\" srcset=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2016\/12\/map.png 500w, https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2016\/12\/map-300x178.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>This map shows our test GPS data taken on a drive in Seattle, WA, USA and its eastern suburbs. The trip starts in the upper right corner near Marymoor Park. The data was sampled at 1 Hz using a <a href=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2017\/05\/2014080813151459.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">RoyalTek RBT-2300<\/a> GPS logger. The drive took place on Saturday, January 17, 2009 starting at 20:27:37 UTC (12:27:37 local time) and ending at 22:34:28 UTC (14:34:28 local time), for an elapsed time of 02:06:51. A much higher resolution map is available <a href=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2017\/05\/map10000.png\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<h3>Test trip GPS data<\/h3>\n<p><a href=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2017\/07\/gps_data.txt\" target=\"_blank\" rel=\"noopener\">text file<\/a> | <a href=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2017\/07\/gps_data.xlsx\">Excel 2007 file<\/a><\/p>\n<p>Example format:<\/p>\n<table style=\"border-spacing: inherit; border-collapse: collapse;\" width=\"65%\">\n<tbody>\n<tr>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>Date (UTC)<\/strong><\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>Time (UTC, hh:mm:ss)<\/strong><\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>Latitude (degrees)<\/strong><\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>Longitude (degrees)<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">17-Jan-2009<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">20:27:37<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">47.66748333<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">-122.1070833<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">17-Jan-2009<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">20:27:38<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">47.66750000<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">-122.1070667<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h3>Road network data (40 km radius around greater Seattle, WA, USA area)<\/h3>\n<p><a href=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2017\/07\/road_network.zip\">text file<\/a> | <a href=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2017\/07\/road_network.xlsx\">Excel 2007 file<\/a><\/p>\n<p>Example format:<\/p>\n<table style=\"border-spacing: inherit; border-collapse: collapse;\" width=\"100%\">\n<tbody>\n<tr>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>Edge ID<\/strong><\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>From Node ID<\/strong><\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>To Node ID<\/strong><\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>Two Way<\/strong><\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>Speed (m\/s)<\/strong><\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>Vertex Count<\/strong><\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>LINESTRING(latitude1 longitude1, latitude2 longitude2, &#8230;)<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">883991900000<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">883991900000<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">883991900001<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">1<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">22.22222222<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">10<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">LINESTRING(-122.732318937778 47.8899192810059, -122.732139229774 47.8903403878212, -122.731820046902 47.8910404443741, -122.731310427189 47.8921294212341, -122.730749845505 47.8933900594711, -122.730208039284 47.894441485405, -122.729588449001 47.8957316279411, -122.729159295559 47.8968098759651, -122.727560698986 47.9000902175903, -122.72741317749 47.900390625)<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">883991900001<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">883991900002<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">883991900003<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">1<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">11.1111111111111<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">4<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">LINESTRING(-122.71107852459 47.8776508569717, -122.712398171425 47.8788793087006, -122.71447956562 47.8810706734657, -122.715329825878 47.8818699717522)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div><\/div>\n<p><em>Note that it is always permissible to travel from the &#8220;From Node&#8221; to the &#8220;To Node&#8221; on an edge. If &#8220;Two Way&#8221; is 1, then it is also permissible to travel the opposite direction.<\/em><\/p>\n<h3>Ground truth path (Edge ID in order encountered on test trip)<\/h3>\n<p><a href=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2017\/07\/ground_truth_route.txt\" target=\"_blank\" rel=\"noopener\">text file<\/a> | <a href=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2017\/07\/ground_truth_route.xlsx\">Excel 2007 file<\/a><\/p>\n<p>Example format:<\/p>\n<table style=\"border-spacing: inherit; border-collapse: collapse;\" width=\"40%\">\n<tbody>\n<tr>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>Edge ID<\/strong><\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\"><strong>Traversed From to To<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">884147800801<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">1<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">884147800802<\/td>\n<td style=\"padding: 10px; border: 1px solid #cccccc;\">1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The problem of matching measured latitude\/longitude points to roads is becoming increasingly important. This paper describes a novel, principled map matching algorithm that uses a Hidden Markov Model (HMM) to find the most likely road route represented by a time-stamped sequence of latitude\/longitude pairs. The HMM elegantly accounts for measurement noise and the layout of [&hellip;]<\/p>\n","protected":false},"featured_media":0,"template":"","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"_classifai_error":"","msr-author-ordering":null,"msr_publishername":"","msr_publisher_other":"","msr_booktitle":"","msr_chapter":"","msr_edition":"17th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems (ACM SIGSPATIAL GIS 2009), November 4-6, Seattle, WA","msr_editors":"","msr_how_published":"","msr_isbn":"","msr_issue":"","msr_journal":"","msr_number":"","msr_organization":"","msr_pages_string":"336-343","msr_page_range_start":"336","msr_page_range_end":"343","msr_series":"","msr_volume":"","msr_copyright":"Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage, and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and\/or a fee. ACM GIS '09 , November 4-6, 2009. Seattle, WA, USA \u00a9 2009 ACM ISBN 978-1-60558-649- 6\/09\/11...$10.00.","msr_conference_name":"17th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems (ACM SIGSPATIAL GIS 2009), November 4-6, Seattle, WA","msr_doi":"","msr_arxiv_id":"","msr_s2_paper_id":"","msr_mag_id":"","msr_pubmed_id":"","msr_other_authors":"","msr_other_contributors":"","msr_speaker":"","msr_award":"","msr_affiliation":"","msr_institution":"","msr_host":"","msr_version":"","msr_duration":"","msr_original_fields_of_study":"","msr_release_tracker_id":"","msr_s2_match_type":"","msr_citation_count_updated":"","msr_published_date":"2009-11-04","msr_highlight_text":"","msr_notes":"","msr_longbiography":"","msr_publicationurl":"","msr_external_url":"","msr_secondary_video_url":"","msr_conference_url":"","msr_journal_url":"","msr_s2_pdf_url":"","msr_year":0,"msr_citation_count":0,"msr_influential_citations":0,"msr_reference_count":0,"msr_s2_match_confidence":0,"msr_microsoftintellectualproperty":true,"msr_s2_open_access":false,"msr_s2_author_ids":[],"msr_pub_ids":[],"msr_hide_image_in_river":0,"footnotes":""},"msr-research-highlight":[],"research-area":[13561],"msr-publication-type":[193716],"msr-publisher":[],"msr-focus-area":[],"msr-locale":[268875],"msr-post-option":[],"msr-field-of-study":[],"msr-conference":[],"msr-journal":[],"msr-impact-theme":[],"msr-pillar":[],"class_list":["post-333092","msr-research-item","type-msr-research-item","status-publish","hentry","msr-research-area-algorithms","msr-locale-en_us"],"msr_publishername":"","msr_edition":"17th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems (ACM SIGSPATIAL GIS 2009), November 4-6, Seattle, WA","msr_affiliation":"","msr_published_date":"2009-11-04","msr_host":"","msr_duration":"","msr_version":"","msr_speaker":"","msr_other_contributors":"","msr_booktitle":"","msr_pages_string":"336-343","msr_chapter":"","msr_isbn":"","msr_journal":"","msr_volume":"","msr_number":"","msr_editors":"","msr_series":"","msr_issue":"","msr_organization":"","msr_how_published":"","msr_notes":"","msr_highlight_text":"","msr_release_tracker_id":"","msr_original_fields_of_study":"","msr_download_urls":"","msr_external_url":"","msr_secondary_video_url":"","msr_longbiography":"","msr_microsoftintellectualproperty":1,"msr_main_download":"333101","msr_publicationurl":"","msr_doi":"","msr_publication_uploader":[{"type":"file","title":"Hidden Markov Map Matching Through Noise and Sparseness","viewUrl":"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2016\/12\/Hidden-Markov-Map-Matching-Through-Noise-and-Sparseness-ACM-SIGSPATIAL-2009-final.pptx","id":333101,"label_id":0},{"type":"file","title":"Hidden Markov Map Matching Through Noise and Sparseness","viewUrl":"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2016\/12\/map-matching-ACM-GIS-camera-ready.pdf","id":333098,"label_id":0}],"msr_related_uploader":"","msr_citation_count":0,"msr_citation_count_updated":"","msr_s2_paper_id":"","msr_influential_citations":0,"msr_reference_count":0,"msr_arxiv_id":"","msr_s2_author_ids":[],"msr_s2_open_access":false,"msr_s2_pdf_url":null,"msr_attachments":[{"id":333101,"url":"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2016\/12\/Hidden-Markov-Map-Matching-Through-Noise-and-Sparseness-ACM-SIGSPATIAL-2009-final.pptx"},{"id":333098,"url":"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2016\/12\/map-matching-ACM-GIS-camera-ready.pdf"}],"msr-author-ordering":[{"type":"text","value":"Paul Newson","user_id":0,"rest_url":false},{"type":"user_nicename","value":"jckrumm","user_id":32203,"rest_url":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/microsoft-research\/v1\/researchers?person=jckrumm"}],"msr_impact_theme":[],"msr_research_lab":[],"msr_event":[],"msr_group":[144633],"msr_project":[],"publication":[],"video":[],"msr-tool":[],"msr_publication_type":"inproceedings","related_content":[],"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-research-item\/333092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-research-item"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/types\/msr-research-item"}],"version-history":[{"count":7,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-research-item\/333092\/revisions"}],"predecessor-version":[{"id":516254,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-research-item\/333092\/revisions\/516254"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media?parent=333092"}],"wp:term":[{"taxonomy":"msr-research-highlight","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-research-highlight?post=333092"},{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=333092"},{"taxonomy":"msr-publication-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-publication-type?post=333092"},{"taxonomy":"msr-publisher","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-publisher?post=333092"},{"taxonomy":"msr-focus-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-focus-area?post=333092"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=333092"},{"taxonomy":"msr-post-option","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-post-option?post=333092"},{"taxonomy":"msr-field-of-study","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-field-of-study?post=333092"},{"taxonomy":"msr-conference","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-conference?post=333092"},{"taxonomy":"msr-journal","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-journal?post=333092"},{"taxonomy":"msr-impact-theme","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-impact-theme?post=333092"},{"taxonomy":"msr-pillar","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-pillar?post=333092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}