GPS2space: An Open-source Python Library for Spatial Measure Extraction from GPS Data

Authors

  • Shuai Zhou The Pennsylvania State University Author
  • Yanling Li The Pennsylvania State University Author
  • Guangqing Chi The Pennsylvania State University Author
  • Junjun Yin The Pennsylvania State University Author
  • Zita Oravecz The Pennsylvania State University Author
  • Yosef Bodovski The Pennsylvania State University Author
  • Naomi P. Friedman University of Colorado Boulder Author
  • Scott I. Vrieze University of Minnesota Author
  • Sy-Miin Chow The Pennsylvania State University Author

DOI:

https://doi.org/10.35566/jbds/v1n2/p5

Keywords:

Spatial Measure, Twins, Behavior Genetics, Latent Growth Curve Model, Python

Abstract

Global Positioning System (GPS) data have become one of the routine data streams collected by wearable devices, cell phones, and social media platforms in this digital age. Such data provide research opportunities in that they may provide contextual information to elucidate where, when, and why individuals engage in and sustain particular behavioral patterns. However, raw GPS data consisting of densely sampled time series of latitude and longitude coordinate pairs do not readily convey meaningful information concerning intra-individual dynamics and inter-individual differences; substantial data processing is required. Raw GPS data need to be integrated into a Geographic Information System (GIS) and analyzed, from which the mobility and activity patterns of individuals can be derived, a process that is unfamiliar to many behavioral scientists. In this tutorial article, we introduced GPS2space, a free and open-source Python library that we developed to facilitate the processing of GPS data, integration with GIS to derive distances from landmarks of interest, as well as extraction of two spatial features: activity space of individuals and shared space between individuals, such as members of the same family. We demonstrated functions available in the library using data from the Colorado Online Twin Study to explore seasonal and age-related changes in individuals’ activity space and twin siblings’ shared space, as well as gender, zygosity and baseline age-related differences in their initial levels and/or changes over time. We concluded with discussions of other potential usages, caveats, and future developments of GPS2space.

Downloads

Published

2021-11-08

Issue

Section

Software

How to Cite

GPS2space: An Open-source Python Library for Spatial Measure Extraction from GPS Data. (2021). Journal of Behavioral Data Science, 1(2), 127-155. https://doi.org/10.35566/jbds/v1n2/p5

Similar Articles

1-10 of 21

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)

1 2 3 4 > >>