IDEAS home Printed from https://ideas.repec.org/p/irn/wpaper/16-10.html
   My bibliography  Save this paper

A simple command to calculate travel distance and travel time

Author

Listed:
  • Sylvain Weber
  • Martin Péclat

Abstract

Obtaining the routing distance between two addresses should not be a hassle in the current state of technology. This is unfortunately more complicated than it first seems. Recently, several Stata commands have been implemented for this purpose (traveltime, traveltime3, mqtime, osrmtime), but most of them went out of order only a few months after their introduction or appear as complicated to use. In this paper, we introduce the new command georoute to retrieve travel distance and travel time between two points, defined either by their addresses or by their geographical coordinates. Compared to other existing commands, we argue it is simple to use, efficient in terms of computational speed, and versatile regarding the information that can be provided as input.

Suggested Citation

  • Sylvain Weber & Martin Péclat, 2016. "A simple command to calculate travel distance and travel time," IRENE Working Papers 16-10, IRENE Institute of Economic Research.
  • Handle: RePEc:irn:wpaper:16-10
    as

    Download full text from publisher

    File URL: https://www5.unine.ch/RePEc/ftp/irn/pdfs/WP16-10.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Lars Zeigermann, 2016. "OPENCAGEGEO: Stata module for forward and reverse geocoding using the OpenCage Geocoder API," Statistical Software Components S458155, Boston College Department of Economics, revised 24 Feb 2018.
    2. Stephan Huber & Christoph Rust, 2016. "Calculate travel time and distance with OpenStreetMap data using the Open Source Routing Machine (OSRM)," Stata Journal, StataCorp LP, vol. 16(2), pages 416-423, June.
    3. Robert Picard, 2010. "GEODIST: Stata module to compute geographical distances," Statistical Software Components S457147, Boston College Department of Economics, revised 24 Jun 2019.
    4. Simon Hess, 2015. "GEOCODEHERE: Stata module to provide geocoding relying on Nokia’s Here Maps API," Statistical Software Components S458048, Boston College Department of Economics, revised 21 May 2020.
    5. Adam Ozimek & Daniel Miles, 2011. "Stata utilities for geocoding and generating travel time and travel distance information," Stata Journal, StataCorp LP, vol. 11(1), pages 106-119, March.
    6. John Voorheis, 2015. "mqtime: A Stata tool for calculating travel time and distance using MapQuest web services," Stata Journal, StataCorp LP, vol. 15(3), pages 845-853, September.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Martini, Gianmaria & Levaggi, Rosella & Spinelli, Daniele, 2022. "Is there a bias in patient choices for hospital care? Evidence from three Italian regional health systems," Health Policy, Elsevier, vol. 126(7), pages 668-679.
    2. Sönke Hendrik Matthewes & Guglielmo Ventura, 2022. "On Track to Success? Returns to vocational education against different alternatives," CVER Research Papers 038, Centre for Vocational Education Research.
    3. Carlo Lombardo & Julian Martinez-Correa & Leonardo Peñaloza-Pacheco & Leonardo Gasparini, 2020. "The distributional effect of a massive exodus in Latin America and the role of downgrading and regularization," CEDLAS, Working Papers 0290, CEDLAS, Universidad Nacional de La Plata.
    4. Delaney, Judith M. & Devereux, Paul J., 2020. "Choosing differently? College application behavior and the persistence of educational advantage," Economics of Education Review, Elsevier, vol. 77(C).
    5. Liz Ignowski & Bart Minten & Johan Swinnen & Bjorn Van Campenhout & Senne Vandevelde, 2021. "Trade, Value Chain Technology and Prices: Evidence from Dairy in East Africa," LICOS Discussion Papers 42221, LICOS - Centre for Institutions and Economic Performance, KU Leuven.
    6. Jeremy Dijk & Nathan Delacrétaz & Bruno Lanz, 2022. "Technology Adoption and Early Network Infrastructure Provision in the Market for Electric Vehicles," Environmental & Resource Economics, Springer;European Association of Environmental and Resource Economists, vol. 83(3), pages 631-679, November.
    7. Carlo Lombardo & Leonardo Peñaloza-Pacheco, 2021. "Exports “brother-boost”: the trade-creation and skill-upgrading effect of Venezuelan forced migration on Colombian manufacturing firms," CEDLAS, Working Papers 0283, CEDLAS, Universidad Nacional de La Plata.
    8. Joanna Venator & Jason Fletcher, 2021. "Undue Burden Beyond Texas: An Analysis of Abortion Clinic Closures, Births, and Abortions in Wisconsin," Journal of Policy Analysis and Management, John Wiley & Sons, Ltd., vol. 40(3), pages 774-813, June.
    9. Sylvain Weber & Martin Péclat & August Warren, 2022. "Travel distance and travel time using Stata: New features and major improvements in georoute," Stata Journal, StataCorp LP, vol. 22(1), pages 89-102, March.
    10. Qing Li & Yanrui Wu, 2023. "ICT, technological diffusion and economic growth in Chinese cities," Empirical Economics, Springer, vol. 64(4), pages 1737-1768, April.
    11. Julian Pedrazzi & Leonardo Peñaloza-Pacheco, 2021. "Heterogeneous Effects of Forced Migration on Female Labor Supply," CEDLAS, Working Papers 0274, CEDLAS, Universidad Nacional de La Plata.
    12. Ina Blind & Matz Dahlberg & Gustav Engström & John Östh, 2018. "Construction of Register-based Commuting Measures," CESifo Economic Studies, CESifo, vol. 64(2), pages 292-326.
    13. Cuiabano, Simone, 2017. "Competition Policy Evaluation through Damage Estimation in Fuel Retail Cartel," TSE Working Papers 17-847, Toulouse School of Economics (TSE).
    14. Christophe André & Jon Pareliussen & Hyunjeong Hwang, 2020. "Swedish School Results, Student Background, Competition and Efficiency," Voprosy obrazovaniya / Educational Studies Moscow, National Research University Higher School of Economics, issue 3, pages 8-36.
    15. Theisen, Theis, 2020. "The impact of an urban toll ring on housing prices," Research in Transportation Economics, Elsevier, vol. 82(C).
    16. Delogu, Marco & Lagravinese, Raffaele & Paolini, Dimitri & Resce, Giuliano, 2024. "Predicting dropout from higher education: Evidence from Italy," Economic Modelling, Elsevier, vol. 130(C).
    17. Boudreaux, Greg & Lupi, Frank & Sohngen, Brent & Xu, Alan, 2023. "Measuring beachgoer preferences for avoiding harmful algal blooms and bacterial warnings," Ecological Economics, Elsevier, vol. 204(PA).
    18. Sönke Hendrik Matthewes & Guglielmo Ventura, 2022. "On Track to Success? Returns to Vocational Education Against Different Alternatives," CEPA Discussion Papers 58, Center for Economic Policy Analysis.
    19. Benjamin Harbolt, 2019. "Tax Avoidance through E-Commerce and Cross-Border Shopping," CESifo Working Paper Series 7814, CESifo.
    20. Alina Grecu & Wolfgang Sofka & Marcus M. Larsen & Torben Pedersen, 2022. "Unintended signals: Why companies with a history of offshoring have to pay wage penalties for new hires," Journal of International Business Studies, Palgrave Macmillan;Academy of International Business, vol. 53(3), pages 534-549, April.
    21. Андре К. & Парелиуссен Й. & Хван Х., 2020. "Шведские Школы: Результаты Работы, Социальное Происхождение Учащихся, Конкуренция И Эффективность (Пер. С Англ.)," Вопросы образования // Educational Studies Moscow, National Research University Higher School of Economics, issue 3, pages 8-36.
    22. Dinarte Diaz,Lelys Ileana & Jaume,David Jose & Medina-Cortina,Eduardo & Winkler,Hernan, 2022. "Neither by Land nor by Sea : The Rise of Electronic Remittances during COVID-19," Policy Research Working Paper Series 10057, The World Bank.
    23. Jorge González-Chapela & Raquel Ortega-Lapiedra, 2021. "Reform of the Personal Income Tax in Spain: Effects on Internal Mobility of the Unemployed," Journal of Family and Economic Issues, Springer, vol. 42(1), pages 166-181, March.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Fredriksson, Anders, 2017. "Location-allocation of public services – Citizen access, transparency and measurement. A method and evidence from Brazil and Sweden," Socio-Economic Planning Sciences, Elsevier, vol. 59(C), pages 1-12.
    2. Francisco Manuel Pizzi, 2020. "¿Cuán lejos viajarías por nafta más barata? Efectos heterogéneos en ventas de combustibles ante un shock impositivo," Asociación Argentina de Economía Política: Working Papers 4389, Asociación Argentina de Economía Política.
    3. Alexandra Fedorets & Franziska Lottmann & Michael Stops, 2019. "Job matching in connected regional and occupational labour markets," Regional Studies, Taylor & Francis Journals, vol. 53(8), pages 1085-1098, August.
    4. Mark J Holmes & Jesús Otero & Theodore Panagiotidis, 2018. "Climbing the property ladder: An analysis of market integration in London property prices," Urban Studies, Urban Studies Journal Limited, vol. 55(12), pages 2660-2681, September.
    5. Montag, Felix & Mamrak, Robin & Sagimuldina, Alina & Schnitzer, Monika, 2023. "Imperfect price information, market power, and tax pass-through," Working Papers 337, The University of Chicago Booth School of Business, George J. Stigler Center for the Study of the Economy and the State.
    6. Betz, Frank & Ravasan, Farshad R., 2016. "Collateral regimes and missing job creation in the MENA region," EIB Working Papers 2016/03, European Investment Bank (EIB).
    7. Zouheir El-Sahli & Richard Upward, 2017. "Off the Waterfront: The Long-Run Impact of Technological Change on Dockworkers," British Journal of Industrial Relations, London School of Economics, vol. 55(2), pages 225-273, June.
    8. Bornmann, Lutz & Leydesdorff, Loet, 2012. "Which are the best performing regions in information science in terms of highly cited papers? Some improvements of our previous mapping approaches," Journal of Informetrics, Elsevier, vol. 6(2), pages 336-345.
    9. Daniel Avdic & Tugba Bueyuekdurmus & Giuseppe Moscelli & Adam Pilny & Ieva Sriubaite, 2018. "Subjective and objective quality reporting and choice of hospital: Evidence from maternal care services in Germany," CINCH Working Paper Series 1803, Universitaet Duisburg-Essen, Competent in Competition and Health.
    10. repec:zbw:rwirep:0527 is not listed on IDEAS
    11. Ander Iraizoz & José M Labeaga, 2022. "Incidence and Avoidance Effects of Spatial Fuel Tax Differentials: Evidence using Regional Tax Variation in Spain," Working Papers halshs-03789430, HAL.
    12. Gibbons, Stephen & Lyytikäinen, Teemu & Overman, Henry G. & Sanchis-Guarner, Rosa, 2019. "New road infrastructure: The effects on firms," Journal of Urban Economics, Elsevier, vol. 110(C), pages 35-50.
    13. Haller, Peter & Heuermann, Daniel F., 2016. "Job search and hiring in local labor markets: Spillovers in regional matching functions," Regional Science and Urban Economics, Elsevier, vol. 60(C), pages 125-138.
    14. Jean-Victor Alipour & Lindlacher Valentin, 2022. "No Surprises, Please: Voting Costs and Electoral Turnout," CESifo Working Paper Series 9759, CESifo.
    15. Martini, Gianmaria & Levaggi, Rosella & Spinelli, Daniele, 2022. "Is there a bias in patient choices for hospital care? Evidence from three Italian regional health systems," Health Policy, Elsevier, vol. 126(7), pages 668-679.
    16. Glenn W. Harrison & Morten I. Lau & Hong Il Yoo, 2020. "Risk Attitudes, Sample Selection, and Attrition in a Longitudinal Field Experiment," The Review of Economics and Statistics, MIT Press, vol. 102(3), pages 552-568, July.
    17. Loet Leydesdorff & Lutz Bornmann, 2012. "Mapping (USPTO) patent data using overlays to Google Maps," Journal of the Association for Information Science & Technology, Association for Information Science & Technology, vol. 63(7), pages 1442-1458, July.
    18. Taylor Jaworski & Carl T. Kitchens, 2019. "National Policy for Regional Development: Historical Evidence from Appalachian Highways," The Review of Economics and Statistics, MIT Press, vol. 101(5), pages 777-790, December.
    19. Heuermann, Daniel F. & Assmann, Franziska & vom Berge, Philipp & Freund, Florian, 2017. "The distributional effect of commuting subsidies - Evidence from geo-referenced data and a large-scale policy reform," Regional Science and Urban Economics, Elsevier, vol. 67(C), pages 11-24.
    20. Sorrenti, Giuseppe, 2017. "The Spanish or the German apartment? Study abroad and the acquisition of permanent skills," Economics of Education Review, Elsevier, vol. 60(C), pages 142-158.
    21. Jens Wrona, 2018. "Border Effects Without Borders: What Divides Japan's Internal Trade?," CESifo Working Paper Series 7056, CESifo.

    More about this item

    Keywords

    Stata; geocoding; travel distance; travel time;
    All these keywords.

    JEL classification:

    • C87 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Econometric Software
    • R41 - Urban, Rural, Regional, Real Estate, and Transportation Economics - - Transportation Economics - - - Transportation: Demand, Supply, and Congestion; Travel Time; Safety and Accidents; Transportation Noise

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:irn:wpaper:16-10. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Siwar Khelifa (email available below). General contact details of provider: https://edirc.repec.org/data/irenech.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.