{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,15]],"date-time":"2026-04-15T21:43:38Z","timestamp":1776289418367,"version":"3.50.1"},"reference-count":50,"publisher":"MDPI AG","issue":"9","license":[{"start":{"date-parts":[[2021,4,23]],"date-time":"2021-04-23T00:00:00Z","timestamp":1619136000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100003069","name":"Instituto Polit\u00e9cnico Nacional","doi-asserted-by":"publisher","award":["20201863"],"award-info":[{"award-number":["20201863"]}],"id":[{"id":"10.13039\/501100003069","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Smart cities are characterized by the use of massive information and digital communication technologies as well as sensor networks where the Internet and smart data are the core. This paper proposes a methodology to geocode traffic-related events that are collected from Twitter and how to use geocoded information to gather a training dataset, apply a Support Vector Machine method, and build a prediction model. This model produces spatiotemporal information regarding traffic congestions with a spatiotemporal analysis. Furthermore, a spatial distribution represented by heat maps is proposed to describe the traffic behavior of specific and sensed areas of Mexico City in a Web-GIS application. This work demonstrates that social media are a good alternative that can be leveraged to gather collaboratively Volunteered Geographic Information for sensing the dynamic of a city in which citizens act as sensors.<\/jats:p>","DOI":"10.3390\/s21092964","type":"journal-article","created":{"date-parts":[[2021,4,25]],"date-time":"2021-04-25T02:12:57Z","timestamp":1619316777000},"page":"2964","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":27,"title":["Traffic Congestion Analysis Based on a Web-GIS and Data Mining of Traffic Events from Twitter"],"prefix":"10.3390","volume":"21","author":[{"given":"Juan","family":"Salazar-Carrillo","sequence":"first","affiliation":[{"name":"Comisi\u00f3n Nacional para el Conocimiento y Uso de la Biodiversidad, Mexico City 14010, Mexico"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8289-6979","authenticated-orcid":false,"given":"Miguel","family":"Torres-Ruiz","sequence":"additional","affiliation":[{"name":"Instituto Polit\u00e9cnico Nacional, CIC, UPALM-Zacatenco, Mexico City 07320, Mexico"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7327-848X","authenticated-orcid":false,"suffix":"Jr.","given":"Clodoveu A.","family":"Davis","sequence":"additional","affiliation":[{"name":"Computer Science Department, Universidade Federal de Minas Gerais, Pampulha, Belo Horizonte MG 31270-901, Brazil"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4454-8791","authenticated-orcid":false,"given":"Rolando","family":"Quintero","sequence":"additional","affiliation":[{"name":"Instituto Polit\u00e9cnico Nacional, CIC, UPALM-Zacatenco, Mexico City 07320, Mexico"}]},{"given":"Marco","family":"Moreno-Ibarra","sequence":"additional","affiliation":[{"name":"Instituto Polit\u00e9cnico Nacional, CIC, UPALM-Zacatenco, Mexico City 07320, Mexico"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8420-3520","authenticated-orcid":false,"given":"Giovanni","family":"Guzm\u00e1n","sequence":"additional","affiliation":[{"name":"Instituto Polit\u00e9cnico Nacional, CIC, UPALM-Zacatenco, Mexico City 07320, Mexico"}]}],"member":"1968","published-online":{"date-parts":[[2021,4,23]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"113","DOI":"10.4018\/IJKSR.2016010108","article-title":"Urban computing and smart cities applications for the knowledge society","volume":"7","author":"Lytras","year":"2016","journal-title":"Int. J. Knowl. Soc. Res. (IJKSR)"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"3","DOI":"10.1080\/19475680903250715","article-title":"Geographic information systems and science: Today and tomorrow","volume":"15","author":"Goodchild","year":"2009","journal-title":"Ann. GIS"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"212","DOI":"10.1016\/j.landurbplan.2015.08.009","article-title":"Commentary: Geographies of digital lives: Trajectories in the production of knowledge with user-generated content","volume":"142","author":"Cope","year":"2015","journal-title":"Landsc. Urban Plan."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"211","DOI":"10.1007\/s10708-007-9111-y","article-title":"Citizens as sensors: The world of volunteered geography","volume":"69","author":"Goodchild","year":"2007","journal-title":"GeoJournal"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"231","DOI":"10.1016\/j.compenvurbsys.2016.01.006","article-title":"Beyond data collection: Objectives and methods of research using vgi and geo-social media for disaster management","volume":"59","author":"Granell","year":"2016","journal-title":"Comput. Environ. Urban Syst."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Goetz, M., and Zipf, A. (2013). The evolution of geo-crowdsourcing: Bringing volunteered geographic information to the third dimension. Crowdsourcing Geographic Knowledge, Springer.","DOI":"10.1007\/978-94-007-4587-2_9"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"524","DOI":"10.1177\/0894439309332299","article-title":"Mapping for the masses accessing web 2.0 through crowdsourcing","volume":"27","author":"Batty","year":"2009","journal-title":"Soc. Sci. Comput. Rev."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"9800","DOI":"10.3390\/s120709800","article-title":"Ubiquitous geo-sensing for context-aware analysis: Exploring relationships between environmental and human dynamics","volume":"12","author":"Sagl","year":"2012","journal-title":"Sensor"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"224015","DOI":"10.1088\/1751-8113\/41\/22\/224015","article-title":"Uncovering individual and collective human dynamics from mobile phone records","volume":"41","author":"Candia","year":"2008","journal-title":"J. Phys. A Math. Theor."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"177376","DOI":"10.1109\/ACCESS.2019.2942586","article-title":"Geospatial Modeling of Road Traffic Using a Semi-Supervised Regression Algorithm","volume":"7","year":"2019","journal-title":"IEEE Access."},{"key":"ref_11","unstructured":"Zhao, Q., Kong, Q., Xia, Y., and Liu, Y. (2011, January 22\u201324). An Improved Method for Estimating Urban Traffic State via Probe Vehicle Tracking. Proceedings of the 30th Chinese Control Conference, Yantai, China."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"878","DOI":"10.1109\/JPROC.2011.2182093","article-title":"Large-scale situation awareness with camera networks and multimodal sensing","volume":"100","author":"Ramachandran","year":"2012","journal-title":"Proc. IEEE"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Bacon, J., Bejan, A.I., Beresford, A.R., Evans, D., Gibbens, R.J., and Moody, K. (2011). Using Real-time Road Traffic Data to Evaluate Congestion. Dependable and Historic Computing, Springer.","DOI":"10.1007\/978-3-642-24541-1_9"},{"key":"ref_14","first-page":"130","article-title":"Urban road traffic condition pattern recognition based on support vector machine","volume":"13","author":"Rong","year":"2013","journal-title":"J. Transp. Syst. Eng. Inf. Technol."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"189","DOI":"10.1016\/j.compenvurbsys.2016.02.009","article-title":"Emergency management perspectives on volunteered geographic information: Opportunities, challenges and change","volume":"57","author":"Haworth","year":"2016","journal-title":"Comput. Environ. Urban Syst."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Backstrom, L., Sun, E., and Marlow, C. (2010, January 26\u201330). Find Me If You Can: Improving Geographical Prediction with Social and Spatial Proximity. Proceedings of the 19th International Conference on World Wide Web, Raleigh, NC, USA.","DOI":"10.1145\/1772690.1772698"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Essien, A., Petrounias, I., Sampaio, P., and Sampaio, S. (2020). A deep-learning model for urban traffic flow prediction with traffic events mined from twitter. World Wide Web., 1\u201324.","DOI":"10.1007\/s11280-020-00800-3"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Alomari, E., Katib, I., and Mehmood, R. (2020). Iktishaf: A big data road-traffic event detection tool using Twitter and spark machine learning. Mob. Netw. Appl., 1\u201316.","DOI":"10.1109\/SmartWorld-UIC-ATC-SCALCOM-IOP-SCI.2019.00332"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"04020059","DOI":"10.1061\/(ASCE)CP.1943-5487.0000943","article-title":"Social Media Mining for Understanding Traffic Safety Culture in Washington State Using Twitter Data","volume":"35","author":"Sujon","year":"2021","journal-title":"J. Comput. Civ. Eng."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"102938","DOI":"10.1016\/j.trc.2020.102938","article-title":"From Twitter to traffic predictor: Next-day morning traffic prediction using social media data","volume":"124","author":"Yao","year":"2021","journal-title":"Transp. Res. Part C Emerg. Technol."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Noori, M.A.R., and Mehra, R. (2021). Traffic Congestion Detection from Twitter Using word2vec. ICT Analysis and Applications, Springer.","DOI":"10.1007\/978-981-15-8354-4_52"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Zambrano-Martinez, J.L., Calafate, C.T., Soler, D., Cano, J.C., and Manzoni, P. (2018). Modeling and characterization of traffic flows in urban environments. Sensors, 18.","DOI":"10.3390\/s18072020"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"385","DOI":"10.1109\/TITS.2011.2175728","article-title":"Localized extended kalman filter for scalable real-time traffic state estimation","volume":"13","author":"Schreiter","year":"2012","journal-title":"Ieee Trans. Intell. Transp. Syst."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Sheppard, S.A. (2012, January 6). Wq: A Modular Framework for Collecting, Storing, and Utilizing Experiential VGI. Proceedings of the 1st ACM SIGSPATIAL International Workshop on Crowdsourced and Volunteered Geographic Information, Redondo Beach, CA, USA.","DOI":"10.1145\/2442952.2442964"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"217","DOI":"10.1016\/j.ecoinf.2011.03.002","article-title":"The art and science of multi-scale citizen science support","volume":"6","author":"Newman","year":"2011","journal-title":"Ecol. Inform."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"1928","DOI":"10.1016\/j.jss.2011.06.073","article-title":"A survey on privacy in mobile participatory sensing applications","volume":"84","author":"Christin","year":"2011","journal-title":"J. Syst. Softw."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"248","DOI":"10.1504\/IJEM.2009.031564","article-title":"Twitter adoption and use in mass convergence and emergency events","volume":"6","author":"Hughes","year":"2009","journal-title":"Int. J. Emerg. Manag."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"105","DOI":"10.1016\/j.knosys.2012.07.017","article-title":"A software architecture for twitter collection, search and geolocation services","volume":"37","author":"Oussalah","year":"2013","journal-title":"Knowl. Based Syst."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Sakaki, T., Okazaki, M., and Matsuo, Y. (2010, January 26\u201330). Earthquake Shakes Twitter Users: Real-time Event Detection by Social Sensors. Proceedings of the 19th International Conference on World Wide Web, Raleigh, NC, USA.","DOI":"10.1145\/1772690.1772777"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"25","DOI":"10.1023\/A:1005259324588","article-title":"Micro-simulation of daily activity-travel patterns for travel demand forecasting","volume":"27","author":"Kitamura","year":"2000","journal-title":"Transportation"},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"321","DOI":"10.1016\/j.trc.2016.02.011","article-title":"From Twitter to detector: Real-time traffic incident detection using social media data","volume":"67","author":"Gu","year":"2016","journal-title":"Transp. Res. Part C Emerg. Technol."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"57","DOI":"10.1016\/j.compind.2015.10.005","article-title":"A methodology for traffic-related Twitter messages interpretation","volume":"78","author":"Albuquerque","year":"2016","journal-title":"Comput. Ind."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"735","DOI":"10.1111\/j.1467-9671.2011.01297.x","article-title":"Inferring the location of twitter messages based on user relationships","volume":"15","author":"Davis","year":"2011","journal-title":"Trans. Gis"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"144","DOI":"10.1016\/j.trpro.2015.03.012","article-title":"Macroscopic traffic flow model calibration using different optimization algorithms","volume":"6","author":"Spiliopoulou","year":"2015","journal-title":"Transp. Res. Procedia"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"29","DOI":"10.1016\/j.trc.2011.08.003","article-title":"An evaluation frame- work for traffic information systems based on data streams","volume":"23","author":"Geisler","year":"2012","journal-title":"Transp. Res. Part C Emerg. Technol."},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Pan, B., Zheng, Y., Wilkie, D., and Shahabi, C. (2013, January 5\u20138). Crowd Sensing of Traffic Anomalies Based on Human Mobility and Social Media. Proceedings of the 21st ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, Orlando, FL, USA.","DOI":"10.1145\/2525314.2525343"},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Ribeiro, S.S., Davis, C.A., Oliveira, D.R.R., Meira, W., Gon\u00e7alves, T.S., and Pappa, G.L. (2012, January 6). Traffic Observatory: A System to Detect and Locate Traffic Events and Conditions Using Twitter. Proceedings of the 5th ACM SIGSPATIAL International Workshop on Location-Based Social Networks, Redondo Beach California, CA, USA.","DOI":"10.1145\/2442796.2442800"},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Kokkinogenis, Z., Filguieras, J., Carvalho, S., Sarmento, L., and Rossetti, R.J. (2015). Mobility Network Evaluation in the User Perspective: Real-time Sensing of Traffic Information in Twitter Messages. Advances in Artificial Transportation Systems and Simulation, Academic Press.","DOI":"10.1016\/B978-0-12-397041-1.00012-1"},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"276","DOI":"10.1016\/j.trpro.2015.09.077","article-title":"Analyzing traffic patterns on street segments based on GPS data using R","volume":"10","author":"Necula","year":"2015","journal-title":"Transp. Res. Procedia"},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"169","DOI":"10.1016\/j.is.2015.07.002","article-title":"Real-time traffic incident detection using a probabilistic topic model","volume":"54","author":"Kinoshita","year":"2015","journal-title":"Inf. Syst."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"322","DOI":"10.1016\/j.neucom.2014.10.061","article-title":"Network traffic classification via non-convex multi-task feature learning","volume":"152","author":"Li","year":"2015","journal-title":"Neurocomputing"},{"key":"ref_42","doi-asserted-by":"crossref","first-page":"206","DOI":"10.1016\/j.aasri.2013.10.032","article-title":"Soft computing approaches in traffic control systems: A review","volume":"4","author":"Tahilyani","year":"2013","journal-title":"Aasri Procedia"},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"258","DOI":"10.1016\/j.is.2016.01.007","article-title":"Dynamic route planning with real-time traffic predictions","volume":"64","author":"Liebig","year":"2017","journal-title":"Inf. Syst."},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"6164","DOI":"10.1016\/j.eswa.2008.07.069","article-title":"Online-svr for short-term traffic flow prediction under typical and atypical traffic conditions","volume":"36","author":"Jeong","year":"2009","journal-title":"Expert Syst. Appl."},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Bird, S. (2006, January 17\u201318). NLTK: The Natural Language Toolkit. 21st International Conference on Computational Linguistics and 44th Annual Meeting of the Association for Computational Linguistics. Proceedings of the COLING\/ACL 2006 Interactive Presentation Sessions, Sydney, Australia.","DOI":"10.3115\/1225403.1225421"},{"key":"ref_46","unstructured":"Salazar, J.C., Torres-Ruiz, M., Davis, C.A., and Moreno-Ibarra, M. (December, January 29). Geocoding of Traffic-related Events from Twitter. Proceedings of the XVI Brazilian Symposium of Geoinformatics GEOINFO, Campos do Jord\u0101o, SP, Brazil."},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/1961189.1961199","article-title":"LIBSVM: A library for support vector machines","volume":"2","author":"Chang","year":"2011","journal-title":"Acm Trans. Intell. Syst. Technol. (Tist)"},{"key":"ref_48","doi-asserted-by":"crossref","first-page":"110","DOI":"10.1016\/j.spasta.2012.03.002","article-title":"Assuring the quality of volunteered geographic information","volume":"1","author":"Goodchild","year":"2012","journal-title":"Spat. Stat."},{"key":"ref_49","doi-asserted-by":"crossref","first-page":"234","DOI":"10.2307\/143141","article-title":"A computer movie simulating urban growth in the Detroit region","volume":"46","author":"Tobler","year":"1970","journal-title":"Econ. Geogr."},{"key":"ref_50","doi-asserted-by":"crossref","unstructured":"Mendoza, M., Poblete, B., and Castillo, C. (2010, January 25). Twitter Under Crisis: Can We Trust What We RT?. Proceedings of the First Workshop on Social Media Analytics, Washington, DC, USA.","DOI":"10.1145\/1964858.1964869"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/9\/2964\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T05:51:56Z","timestamp":1760161916000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/9\/2964"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,4,23]]},"references-count":50,"journal-issue":{"issue":"9","published-online":{"date-parts":[[2021,5]]}},"alternative-id":["s21092964"],"URL":"https:\/\/doi.org\/10.3390\/s21092964","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,4,23]]}}}