Skip to main content
Browse Subject Areas

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Mapping urban greenspace use from mobile phone GPS data

  • Meghann Mears,

    Roles Formal analysis, Investigation, Methodology, Resources, Software, Validation, Visualization, Writing – original draft, Writing – review & editing

    Affiliation Department of Landscape Architecture, University of Sheffield, Sheffield, South Yorkshire, United Kingdom

  • Paul Brindley ,

    Roles Conceptualization, Formal analysis, Investigation, Methodology, Project administration, Supervision, Writing – original draft, Writing – review & editing

    Affiliation Department of Landscape Architecture, University of Sheffield, Sheffield, South Yorkshire, United Kingdom

  • Paul Barrows,

    Roles Data curation, Writing – review & editing

    Affiliation Human Sciences Research Centre, University of Derby, Derby, Derbyshire, United Kingdom

  • Miles Richardson,

    Roles Conceptualization, Funding acquisition, Writing – review & editing

    Affiliation Human Sciences Research Centre, University of Derby, Derby, Derbyshire, United Kingdom

  • Ravi Maheswaran

    Roles Conceptualization, Funding acquisition, Methodology, Supervision, Writing – review & editing

    Affiliation Public Health GIS Unit, School of Health and Related Research, University of Sheffield, Sheffield, South Yorkshire, United Kingdom


Urban greenspace is a valuable component of the urban form that has the potential to improve the health and well-being of residents. Most quantitative studies of relationships between health and greenspace to date have investigated associations only with what greenspace exists in the local environment (i.e. provision of greenspace), rather than to what extent it is used. This is due to the difficulty of obtaining usage data in large amounts. In recent years, GPS functionality integrated into mobile phones has provided a potential solution to this problem by making it possible to track which parts of the environment people experience in their day-to-day lives. In this paper, we demonstrate a method to derive cleaned, trip-level information from raw GPS data collected by a mobile phone app, then use this data to investigate the characteristics of trips to urban greenspace by residents of the city of Sheffield, UK. We find that local users of the app spend an average of an hour per week visiting greenspaces, including around seven trips per week and covering a total distance of just over 2.5 km. This may be enough to provide health benefits, but is insufficient to provide maximal benefits. Trip characteristics vary with user demographics: ethnic minority users and users from more socioeconomically deprived areas tend to make shorter trips than White users and those from less deprived areas, while users aged 34 years and over make longer trips than younger users. Women, on average, make more frequent trips than men, as do those who spent more time outside as a child. Our results suggest that most day-to-day greenspace visits are incidental, i.e. travelling through rather than to greenspace, and highlight the importance of including social and cultural factors when investigating who uses and who benefits from urban greenspace.


There is substantial evidence that urban greenspace can improve the health and well-being of residents for a range of outcomes, including lowering all-cause mortality, improving general and cardiovascular health, increasing birth weight, reducing overweight/obesity and cardiovascular disease, and reducing rates of mental health disorders [16]. Moreover, greenspace has the potential to reduce the health inequalities associated with socioeconomic deprivation [69].

The health benefits of urban greenspace likely arise through the interaction of multiple pathways. Greenspaces are able to mitigate harms to health that are caused by the urban environment, by providing respite from air and noise pollution associated with traffic and industry, and locally mitigating the urban heat island effect through shade provision and evapotranspirative cooling [2,3]. Spending time in more natural environments can improve well-being through affect regulation and also restore psychological capacities, through reducing stress and thereby increasing positive emotions; by facilitating recovery from attentional fatigue; and/or through an evolved psychological reward system for strong connections with nature [3,1014]. Experimental studies simulating exposure to greenspace in a controlled environment demonstrate these psychological benefits through both subjective measures, i.e. self-report, and objective measures such as electroencephalogram and blood pressure [3,1519]. The benefits of greenspace are not necessarily constrained to being in the greenspace but may also affect surrounding areas–such is the case for greenspace in reducing the urban heat effect for wider geographic areas but also in the visual connection beyond the greenspace itself. It is also possible that urban greenspaces provide suitable environments for the promotion of both social contacts and physical activity; although the evidence for these pathways is less conclusive [2,3,20].

Urban greenspace therefore has potential as means of improving population health, with a few preliminary analyses generally indicating a good level of cost-effectiveness [1,21]. However, a major limitation of the vast majority of epidemiological studies of relationships between health and greenspace is that only a broad measure of the presence (provision) of greenspace near to houses is used [3]. These measures are usually derived from either a vegetation index (e.g. Normalised Difference Vegetation Index) indicating the presence of photosynthetically active plants, or from GIS land cover/land use data showing areas of natural land covers [3,5]. Such measures give no indication of greenspace use, which likely provides the majority of health benefits [3,5,20].

Data on how people use and experience greenspaces are not generally available. This is of considerable importance, given that the existence of greenspace in the local environment will not provide equal benefit to all residents: the uses and meanings of greenspace depend on a range of demographic and cultural factors [2224]. For example, older people and people with poor health are usually found to be less likely to use greenspace, as are those affected by time or financial constraints, which disproportionately affect women [2426]. A feeling of social exclusion, and perceived lack of safety are also important factors [2325]. Ethnicity and cultural heritage are important factors determining greenspace preferences and uses [24,27], with close relationships with nature interacting with visits to green spaces to increase wellbeing outcomes [14]. Ethnicity may lead to distinct perceptions and patterns of use in urban green space, and affects motivational reasons for use [28] with research in the US suggesting that some minority ethnic groups are more likely to prefer recreation to conservation [27] and more constrained by time as a reason for not visiting parks [24]. Research in England suggests that ethnic minority groups may have visited natural environments less frequently [29] and were less likely to use parks for exercise [30]. Reasons for differences are complex and Weber and Sultana [31] hypothesised that socioeconomic marginality, differing cultural norms, and the lingering legacy of discrimination were all important.

These issues relate more generally to the Unknown Geographic Context Problem (UGCoP), whereby the ability to understand how geographic context affects behaviours and outcomes is hampered by uncertainty about how individuals experience their environment on a day-to-day basis [32]. GPS-enabled mobile devices show promise as a means of overcoming the UGCoP, by facilitating the collection of data on how people behave in both spatial and temporal dimensions, and thereby enabling an improved understanding of people’s exposure to relevant environments [3235].

Data from GPS-enabled mobile devices has revolutionised travel surveys [3638], and its promise in health studies, particularly studies of physical activity and exposure to hazards, has also been recognised [34,3941]. The use of GPS data is adding to diary-based studies and providing more accurate specifications of both activities and environmental exposures [34,35,37]. GPS has also been used to study the behaviour of visitors to particular greenspaces [42,43]. GPS data can be used to analyse where people come from, and where they go once within a greenspace.

A drawback of GPS data, however, is that the datasets are frequently large and challenging to clean and interpret [36,38]. Two main approaches to cleaning and interpreting GPS data, i.e. identifying relevant periods of activity and minimising the influence of errors, exist in the literature: machine learning approaches and procedural approaches [44]. Machine learning approaches use a variety of automated computational algorithms (sometimes in combination with pre-defined rules) to attempt to discriminate, for example, the ends of trips and different modes of transport [38,41,4448]. Procedural approaches, on the other hand, use only rulesets based on assumptions about behaviour [39,44].

A key challenge in either approach is to account for errors inherent in GPS data. GPS devices take time to obtain an initial position fix after being turned on or emerging from an area without satellite reception [39,49]. This can result in missing data at the start of trips. GPS accuracy is also an issue in urban environments in particular, because buildings and tree canopy cover can cause either complete signal loss, or signal scatter resulting in incorrect positioning [39,40,49,50]. Studies of mobile device GPS accuracy in urban environments have found average horizontal accuracies ranging between around 5 to 20 m, depending on the device used as well as environmental conditions [50]. While dedicated GPS devices can be more reliable than GPS integrated into mobile phones, using dedicated devices adds considerable costs to studies [5052]. Although not due to error, data may also be missing from the end of trips due to battery depletion resulting in GPS or the mobile device being switched off [40].

Our focus on greenspace raises specific issues related to positional accuracy, for example consideration of entrance points used to enter and exit greenspaces, and whether a user might be walking along a path on the outside of a greenspace boundary. Other studies [37,53] tend to remove potential data errors via procedures that consider only the GPS data but not on-the-ground geographic features, such as removing data with excessive speeds. The data cleaning adopted here undertakes a more comprehensive approach, encapsulating uncertainty within the underlying data through the use of additional GIS data.

In this paper, we use a procedural approach to infer trip-level information from GPS data collected by the Shmapped mobile device app. Shmapped was used to deliver a quasi-experimental well-being intervention that prompted users to notice nature when visiting urban greenspaces [54,55]. Full details of the intervention and its outcomes can be found in McEwan et al. [54]. Consent was also obtained from users for GPS tracking during time spent within greenspaces [55].

We use this data to analyse the characteristics of trips to greenspaces: (1) how long users spend in greenspaces; (2) how far they travel within them; (3) how far from home they travel to visit them; (4) average speeds of users; and (5) types of greenspaces visited. We then investigate whether trip-level characteristics are associated with selected demographic characteristics (age, gender, ethnicity and socioeconomic deprivation). We also compare trip-level characteristics to those from two datasets curated using more traditional survey methods: a survey by the local council into residents’ greenspace use, and perceptions and problems associated with greenspaces; and Monitor of Engagement with the Natural Environment (MENE), a multi-year, England-wide survey of greenspace visitation habits and attitudes.

To our knowledge, this is the first paper using GPS data to specifically investigate adults’ greenspace-visiting behaviour (although Olsen et al. [35] and Wheeler et al. [53] investigate children’s activity in urban areas, including to greenspaces). After describing a method for cleaning and post-processing the GPS data, we show the importance of attending to the details of post-processing by illustrating differences between minimally and fully processed and cleaned data.


GPS data

Respondents were drawn from users of the Shmapped app. Promotion of the app was through a variety of mechanisms including social media; distributing posters and leaflets; through conservation organisations (namely the Wildlife Trusts), Council staff, large local employers, and General Practitioners (GPs). Comprehensive details of the recruitment strategy can be found in associated publications [54,55]. The Shmapped app collected GPS location data whenever users entered or travelled close to urban greenspaces. The app was developed as part of the Improving Well-being through Urban Nature project (see project website at for full details), which investigated how urban greenspace and other urban nature in the city of Sheffield, UK, can improve residents’ health and well-being. Consequently, although users from anywhere could download Shmapped, GPS data were only collected for visits to greenspaces in Sheffield. The study was approved by the Human Sciences Research Ethics Committee at the University of Derby (Ethics Ref No: 08-1617-KMp). Demographic characteristics of Shmapped users recording at least one visit to greenspace are shown in Table 1. Users self-identified the demographic data provided through Shmapped (age, gender, ethnicity). Deprivation was assigned using the UK Index of Multiple Deprivation (IMD 2015) using the home postcode location provided by the user when installing Shmapped. IMD is available as deciles—calculated by ranking all areas in England from most deprived to least deprived and dividing them into 10 equal groups. The categorises used for Ethnicity are those found within the UK 2011 Census–which allows exploration of the representativeness of the sample. The distribution of user socioeconomic details is shown in comparison with that of Sheffield’s wider population in S1 Fig.

Table 1. Demographics of Shmapped users recording at least one valid trip.

Geofences circumscribing the areas within 10 m of a greenspace were used to trigger the app to collect GPS data. Due to mobile device operating system limitations, geofences were circular, but in order to preserve user privacy data points recorded more than 10 m from boundaries were not sent to the server for storage. Greenspace boundaries were provided by Sheffield City Council and compromise the 945 green and open spaces identified in the council’s 2007 assessment of outdoor recreation and leisure provision [56]. A more detailed description of the distribution of greenspace within Sheffield can be found in associated publications [57,58]. For a full description of the app and its effectiveness as an intervention, see McEwan et al. [54,55]. Collecting data when users were within 10 m of greenspace boundaries was implemented to allow for the typical horizontal positional error found in the types of GPS receivers found in civilian mobile devices [50].

In total, 656,000 GPS data points were collected from 888 mobile devices, in the period from 1st July 2017 until 6th October 2018. GPS data collection process was automatic, with no user input or prompting after consent had been provided within the app. Data points were not split into individual “trips” in the raw data, and did not otherwise have any semantic data attached.

Data processing

The process of extracting trip-level data from the raw GPS data points comprised several stages–as outlined in Fig 1. First, GPS points were divided into trips, then cleaned. Next, interpolation was used to obtain polylines with vertices corresponding to regular time intervals. Interpolation was performed because vertices representing equal time intervals were found to be helpful for further post-processing. The final stages of post-processing involved cropping the starts and ends of journeys to greenspaces, and checking the validity of trips as representations of single, non-vehicular visits to greenspace. Full details are given in the following sections.

All data processing was performed in R [59]. The Tidyverse packages [60], and the package ‘sf’ [61] for spatial processing, are central to analysis. The packages ‘data.table’ [62], ‘lubridate’ [63] and ‘smoothr’ [64] are also used. A generalised version of the R script is available at

Data requirements.

We used the following attributes from GPS data: geographic coordinates, including altitude; unique device identifier; and a timestamp. The app requested GPS location every 10 seconds. Three additional GIS datasets were used during processing: boundaries of greenspace (polygon data); greenspace entrance points (point data); and locations of buildings within greenspaces (polygon data). To calculate the distance between users’ home locations and the start of trips, home location data at unit postcode level (point data) was used.

Greenspace access points were derived from a combination of data sources including Sheffield City Council Parks and Countryside data; Ordnance Survey (OS) Open Greenspace; OpenStreetMap; OS Integrated Transport Network; OS MasterMap topography layer; aerial imagery; Google StreetView and site visits. For full details of this dataset, see Mears et al. [57]. Buildings within greenspaces were identified from OS MasterMap topography layer.

Stage 1: Identify ‘trips’.

As the dataset was not divided into individual trips when a user entered and later left a geofenced area, the first step of processing was to identify such breaks. This was achieved by identifying time gaps of an appropriate length (for example where there was a gap of greater than x minutes between one GPS recording and the next). Although we were unable to find previous studies that have used time gaps to identify trips, studies that have identified stops within trips have typically used periods of two to five minutes [36,38,45]. However, Schuessler and Axhausen [49] noted that longer periods may be appropriate in the case of poor signal reception, and indeed we found a period of ten minutes to be more appropriate here.

Stage 2: Data cleaning.

Following Schuessler and Axhausen [49], as the first step in data cleaning we removed data points that were outside of the altitudinal range of Sheffield (19–592 m above sea level) as these frequently will refer to data errors from incorrectly received satellite signals. We allowed for a 30 m error buffer on the upper limit [38], but due to a high number of points erroneously reporting an altitude of +1 to -1 metres, we set the lower error buffer to 1 m.

We also removed trips that were so short as to suggest that either a substantial amount of data was missing, or it was more likely that a user was passing by a greenspace (within the 10 m geofence) than actually entering it. Trips lasting less than 70 seconds [37] or containing only one or two GPS points were removed.

The final step of data cleaning involved consideration of speed. We used the approach described by Schuessler and Axhausen [49], who identified jumps in position where the user appears to move faster than is reasonably likely, e.g. due to urban canyon-related GPS errors [49]. In applying the method to our study, we used a threshold speed that additionally aimed to remove trips where users are travelling by vehicle, most likely on the outside edge of a greenspace (but within the 10 m buffer). The movement speed (calculated as 3D Euclidean distance) between each consecutive pair of points was calculated, and the trip was split into segments where the speed was below the limit. These segments are termed ‘quality segments’. Each pair of consecutive quality segments were then compared, and then shorter was removed. This process was repeated until the entire trip had a speed under the determined limit. Studies using GPS-reported movement speed to identify transport mode find that pedestrians, runners and cyclists rarely move faster than 7 metres per second (m/s which equals 25 km/h) [41,44,4648,65]. While cyclists may sometimes move faster than this, faster speeds overlap with the average speed range of buses and cars in urban areas, so we set the speed limit at 7 m/s, plus 20 m to allow for GPS error [49]. Finally, trips that no longer had GPS points for a duration of at least 70 seconds were removed.

Stage 3: Data interpolation.

The temporal density of the GPS data points varies considerably, due to loss of signal as well as removal of erroneous data points during cleaning. Prior to further processing, it was therefore useful to create spatial points with approximately equal time intervals. This also facilitated calculation of derived trip attributes (e.g. time spent in/outside of park boundaries) and made visual interpretation of speed possible via vertex density. We used linear interpolation to create interpolated GPS paths, with a vertex located approximately every 10 seconds of travel. 10 seconds is a common recording interval used for GPS data and aligns with the app requesting GPS location every 10 seconds.

We explored the possibility of smoothing the data at this point, to reduce data artefacts caused by random error [49]. However, we found that smoothing even with a small bandwidth caused GPS traces that appeared in reality to follow paths near to greenspaces to intersect with greenspace boundaries. Furthermore, we would expect people in greenspaces sometimes to take meandering routes. We therefore did not perform data smoothing.

Stage 4: Detection of periods spent outside greenspace boundaries.

Using the interpolated trip path, it was possible to detect trips that included extended periods of time spent outside of greenspace boundaries or spent travelling at higher speeds than expected for non-vehicular travel. Checking for this was necessary because, due to the collection of GPS data when users were within 10 m of boundaries, many apparent trips actually show users travelling along the outside of greenspace boundaries for part or all of the trip. Due to positional error in GPS data [49,50] that may cause data points recorded just inside boundaries to report a position just outside, or to report a high speed over a short period, we calculated a moving average of the proportion of vertices inside boundaries over approximately five minutes of travel. If at any point the moving average dropped below 50% inside boundaries, the interpolated path points <50% were discarded.

We were also able to undertake a more fine-grained analysis of speed, with a lower allowance for error than was undertaken during data cleaning (stage 2), to identify periods within trips when average speeds were greater than is likely for non-vehicular travel. Again using a moving average over five minutes, points with a moving average speed greater than 7 m/s were discarded.

If points were discarded from the middle of a trip, the trip was split into two (or more).

If the total trip length was less than five minutes, then rather than using a moving average, the proportion of vertices inside boundaries and average speed were calculated for the entire trip. If the proportion was less than 50% or speed was greater than 7 m/s, the entire trip was discarded; otherwise, no changes are made.

Following this process, in order to remove shorter periods at the start and end of trips that occurred outside boundaries, points were discarded so that there was only one vertex outside of boundaries at the start and end of trips.

Stage 5: Trip analysis.

We calculated basic trip attributes including trip length, duration, average speed, and distance from home postcode to start of trip. Finally, we calculated additional measures that can be used to determine how likely trips are to be valid representations of a pedestrian trip to a greenspace as well as to analyse trips. These include:

  • The length of the interpolated path that is within greenspace boundaries; and the number of unique greenspaces visited.
  • The distance of the interpolated trip start and end points to greenspace entrance points by using a nearest neighbour search. If the trip did not start and finish close to a greenspace entrance, it is not clear that the greenspace was entered. Note that this depends on having complete greenspace entrance data, which is challenging where informal entrances may be made (e.g. broken fences).
  • The percentage of the trip (in terms of both distance and time) that occurs inside buildings. If a large proportion of the trip is spent inside buildings, it is likely that the user was visiting the building rather than the greenspace.

Following calculation of these measures, we applied several criteria to determine the level of certainty that the trip data represents a genuine and complete non-vehicular visit to a greenspace. These criteria are described in Table 2. Hereafter, these criteria are referred to as ‘flags’, and highlight the following potential issues with trip data: short distance; incomplete data; high speed; time spent inside buildings; and time spent outside greenspaces. In essence, these levels of certainty are similar to sensitivity analysis in that they allow interpretation of the extent to which trips data are dependent upon the criteria.

Table 2. Criteria for determining level of certainty in whether trip data is an accurate representation of a non-vehicular trip to a greenspace.

Summarising trip characteristics

After completing data processing, we summarised the following characteristics of trips using the mean, standard deviation and median, as well as visualising the distribution using histograms: trip duration, distance covered, distance spent in greenspaces, average speed, and distance from user’s home to start of trip. Each of these were calculated for the raw data (i.e. following initial splitting by time gaps, with no cleaning or post-processing); for cleaned data; and for fully post-processed data, both including all trips (regardless of number of flags) and only trips with zero flags. These varying sets of data represent increasing confidence in the output through removal of probable data errors.

Summarising user-averaged trip characteristics

In addition to summarising trip characteristics across all trips, we also created summaries using data averaged first to user-level, such that each user contributed equally to the summary values, rather than each trip contributing equally. These are hereafter referred to as user-averaged trip characteristics. This was performed in order to facilitate comparisons with survey data, which also have a single data point per user, and to ensure that individuals with high numbers of greenspace visits did not skew interpretations.

Additionally for users, we calculated the frequency of greenspace visits across the period that the user was recording trips. This was used to calculate the average amount of time that the user spends in greenspace over longer periods of time. These statistics were calculated for all users and only for those reporting at least five trips; and for all trips and only those with zero flags.

Comparison with Monitor of Engagement with the Natural Environment survey data.

The MENE survey is carried out by Natural England, the governmental agency responsible for protecting England’s natural environment, as a means of tracking use of and attitudes towards the natural environment [66]. The survey has been carried out on an on-going basis since 2009. During the MENE interview, respondents are asked about a randomly selected trip to greenspace from the past 7 days. Amongst the data collected about this trip is the trip duration, and distance travelled to the greenspace. MENE data for the period 2009–2019 were downloaded from the Natural England website (, date accessed 19/12/2019) and used to obtain the distributions of these variables. We excluded visits that were not to greenspaces in a town or city, in order to exclude visits to types of greenspace e.g. countryside or coastal spaces that were not included amongst Shmapped’s geofences. These data were compared with the user-averaged distributions from the Shmapped data.

Comparison with Sheffield City Council Parks and Countryside survey.

Through partnership with Sheffield City Council, we obtained the results of the Parks and Countryside department’s customer satisfaction survey for 2019. In this survey, residents are asked about the park or greenspace that they visit most frequently. One of the questions asks how far this greenspace is from their home address. These data were compared with user-averaged distributions from Shmapped data.

Summarising trip destinations

We summarise trip destinations first by type of greenspace, as classified in Sheffield City Council’s 2007 audit of green and open spaces (the data source used to geofence greenspaces). This was undertaken using overall (not user-averaged) data: each trip was counted individually, and if a trip included greenspaces of multiple types, both were counted. This facilitated comparison of trip destinations with the distribution of types of greenspace in Sheffield. We also undertook limited comparison of the distribution with data from MENE regarding the type of greenspace visited in the randomly selected visit, although due to incompatible typologies it was not possible to compare all categories.

Second, we used the number of users visiting specific named greenspaces as validation of our data processing approach, using the Sheffield City Council survey. This survey asked respondents which greenspace they visited most. For this analysis, we used user-averaged data, i.e. each user was only counted as visiting any individual greenspace once, regardless of number of visits. We tested correspondence between the Council survey and Shmapped data for raw, cleaned, and post-processed (all trips and only those with zero flags) data using Spearman’s rank correlations. We expected to see an increase in correlation as processing progressed and invalid trips were removed from the data.

Statistical association of trip characteristics with user demographics

We tested whether user-averaged summary characteristics are associated with seven user demographic and personal variables that were collected by the Shmapped app. These are: gender; ethnicity (White or Black, Asian and Minority ethnicities); low vs. high age; low vs. high deprivation (IMD) score for the Lower Super Output Area that the user lives in (as a measure of socioeconomic deprivation); low vs. high time spent outside as a child; low vs. high time spent outside in the past year; and whether the user has access to a private domestic garden. Whilst the two bin categorisation (around the median) is a simplistic approach to attempt to achieve broadly equal samples, it was felt that further subdivision into additional categories would result in sample sizes that were too small and would lack robustness. Limitations of the approach are debated within the discussion section.

Linear models were used to test for associations between these variables and user-averaged summary characteristics: frequency of trips recorded by the user (trips per day), mean duration, mean distance, and mean speed. We also tested for associations with average weekly duration (frequency * duration) and distance (frequency * distance). Only trips with zero flags were used, and only users recording at least 5 trips (with zero flags) were included. The total sample size of users providing full socioeconomic details and recording at least five trips with zero flags was 233. Number of trips, mean duration and mean distance required log-transformation in order to meet model assumptions. F-tests were used to identify significant variables. Statistical analysis was carried out using R [59].

Our study uses a single city as a case study. Sheffield is broadly typical of ex-industrial northern English cities in that it has a higher than average level of socioeconomic deprivation and a high proportion of households comprising semi-detached and terraced housing (Department for Communities and Local Government, 2015). Part of its English industrial heritage is that urban parks were established in the mid-nineteenth century as part of an effort to improve the health of the urban working class (Crompton, 2013), meaning that, in contrast to the UK as a whole, more deprived areas have greater access to urban parks [8,57]. Sheffield is unusual in that it has a large expanse of moorwest immediately to the west of the city, and the city has been branded “the outdoor city” ( accessed on 23/12/2019), both of which may influence residents’ relationship with and attitudes toward urban greenspace and affect their greenspace visiting behaviour.

The reason for the use of a single city is that the app was developed for a project investigating how greenspaces in Sheffield specifically can improve residents’ health and well-being [55]. Moreover, the app (Shmapped–on which this work is based) requires geofences around greenspaces and identification of entrance points. Creation of geofences for Sheffield was facilitated by partnership with the City Council, who shared with us their audit of green and open spaces for leisure and recreation. Ordnance Survey Greenspace data could not be utilised as it was not available when the app was coded (2016). However, the greenspace audit data does not include the extensive areas of countryside that are within easy visiting distance of many of the city’s residents. It should be noted that the creation of a comprehensive access point dataset is a time-consuming task [57]. The single study area also means that we cannot capture more distant, out-of-city visits for Sheffield residents; while only out-of-town trips (i.e. trips to Sheffield) were captured for residents of other places.


Trip summary characteristics

Details of the variables used can be found in Table 3. In total 240 participants from Shmapped generated 29,669 trips that were identified following minimal processing (i.e. splitting only by time gaps, with no cleaning or post-processing). The trips had a median duration of 2 minutes 41 seconds and median distance of 262 m. Of this, a median of 20 m were spent within greenspaces. The median trip-average speed was 1.5 m/s (5.4 km/h). The median distance of trip start from home, for users who gave their home postcode, was 1,310 m. The distribution of these characteristics is shown in Fig 2. All of these characteristics are heavily right-skewed; means and standard deviations are shown in Table 4, although given the skew these should be interpreted with caution. Note that the trip length and speed appear to have large numbers of long and fast trips in Fig 2. This is due to inclusion of trips with unreasonably long length/high speed, likely due to the inclusion of vehicular travel outside of greenspaces but within 10 m of boundaries. These data represent uncleaned data for subsequent comparison.

Fig 2.

Distribution of trip data characteristics at various stages of processing showing (a) trip length; (b) proportion of the trip in greenspace; (c) trip duration; (d) trip speed; (e) distance from home location. NB distance from home uses imperial units to match intervals from MENE and Sheffield City Council data.

Table 3. Coding of demographic and personal variables tested for associations with trip-level characteristics of visits to greenspace.

Table 4. Average characteristics of trips relating to visits to greenspace—pre-processing; following cleaning; and following post-processing (with any number of flags highlighting potentially problematic trip features; 0 or 1 flags; and 0 flags).

Characteristics shown as averages across all trips, and as averages of by-user means.

During cleaning, 50% of trips were removed, leaving a total of 14,719. The median duration (6 mins 45 secs), trip length (621 m) and distance within greenspaces (71 m) were all increased by cleaning. The median speed was not altered (1.5 m/s or 5.4 km/h), and median distance to home increased only slightly (1,434 m). The skewness of these characteristics was reduced, reflecting the removal of many very short trips, although all remain heavily right-skewed.

Following post-processing, 5,186 valid trips were present. The geographic location of the trips are shown in Fig 3. The median duration was intermediate to that of the raw and cleaned data, at 4 mins 36 secs, and the median trip distance was less (190 m), but the distance inside greenspace boundaries increased dramatically to 169 m, reflecting the cropping of trip starts and ends outside greenspaces, and splitting of trips that spent considerable time outside of greenspaces, that was performed during post-processing. The median speed has also reduced to 0.8 m/s (2.9 km/h), due to post-processing efforts to remove trips and parts of trips that were likely undertaken by motorised vehicle. The median distance from users’ homes slightly decreased (1,286 m). The distribution of duration and distance to home are not very different to that of the raw data, while that of trip length and speed are more right-skewed (2). The distribution of percent distance in greenspace is now left-skewed.

Fig 3. Mapping post-processed trips relating to visits to greenspace.

Of these 5,186 trips, 399 were flagged due to short distance (<25 m); 41 due to incomplete data at start of end of trip; 84 due to average speed >5 m/s (18 km/h); 113 due to >50% of time or distance spent inside buildings; and 85 due to <50% time and distance spend inside greenspaces. A total of 667 trips have one of these flags, and 45 have two; none have three or more. The number of trips with zero flags is 4,509. Summary characteristics of subsets of trips excluding those with particular flags are shown in S1 Table.

User-averaged summary characteristics

In general, when summary characteristics are taken across user averages, rather than over all trips, all characteristics show higher values (Table 4; distributions shown in Fig 4). This indicates that within individual users there is also right-skew, i.e. many short trips are taken and far fewer short trips. The differences are most profound for the raw data, and are far less following cleaning. This is likely due to cleaning eliminating trips that happen at too great a speed to be non-vehicular travel: although GPS data are only collected within greenspaces, if a user passes multiple greenspaces by car/bus in a short period of time these may still show as single trips in the raw data. Following processing, the differences are smaller again.

Fig 4.

Distribution of trip data characteristics at various stages of processing, averaged by user showing (a) trip length; (b) proportion of the trip in greenspace; (c) trip duration; (d) trip speed; (e) distance from home location. Where available, Monitor of Engagement with the Natural Environment (MENE) (c and e only) and Sheffield City Council survey data (e only) are also shown for comparison. NB distance from home uses imperial units to match intervals from MENE and Sheffield City Council data.

Following post-processing, there were 577 users with at least one valid trip. The median user-averaged trip duration and distance (including distance inside greenspaces) are higher than the overall medians, at 5 mins 53 secs and 256 m (231 m in greenspace). The median speed is also slightly higher, at 0.93 m/s (3.3 km/h), and distance from home is further at 1,558 m. There is less right-skew in the distributions of trip length and duration than there is for all trips (compare Fig 4 with Fig 2), indicating that there is right-skewedness within trip distributions for individual users, as well as overall.

There are 15 trips with one flag, and one trip with two, leaving 561 with zero flags. There is less of a difference between user-average medians of trips with zero flags compared to all trips, than there is for non-user-average medians. Summary characteristics for user-averages excluding individual flags are shown in S1 Table.

Summaries of users’ average visit frequency and total duration of trips are shown in Table 5. These show that the mean frequency of visits for all users and including all trips is 1.09 trips per day, with slightly lower values if only users reporting five or more trips and/or only trips with no flags are included. The mean duration is between 7 mins 15 secs for all users/all trips, and 8 mins 18 secs for users with > = 5 trips/trips with zero flags. The total weekly duration of trips is in the range 55 mins 15 secs to 59 mins 0 secs, depending on the combination of users/trips, and the total weekly distance is in the range 2.59 km to 2.75 km. S2 Table contains summaries of the aggregated trip characteristics split by the various demographic and personal variables (including age, gender and ethnicity).

Table 5. Average frequency, distance and duration of trips, and total distance and duration extrapolated to daily and weekly totals.

Comparisons with MENE and Sheffield City Council survey data.

The distribution of user-averaged trip duration obtained from the MENE survey data is shown alongside that for the Shmapped data in Fig 4C. Whereas the Shmapped data find a right-skewed distribution of duration, the MENE survey finds the opposite, with very few short trips and over half lasting over an hour.

The distribution of user-average distance from home from Shmapped has been compared with data from both the MENE and Sheffield City Council surveys in Fig 4E. The Shmapped data distribution is remarkably similar to that from MENE, although the Council survey finds that more people primarily visit a greenspace within 1 mile of home than is indicated by our data.

Trip destinations

Types of greenspace.

The distribution of types of greenspaces visited is shown in Fig 5. The most common type of greenspace included in the study is active amenity sites (22% of sites are classified as active amenity). While this is the most common type of greenspace visited in the raw and cleaned data, after processing they are substantially under-represented. The same is true of a similar type of greenspace, visual amenity (11%).

Fig 5. Destinations of trips by greenspace type, at various stages of processing.

NB proportions sum more than 1 due to trips visiting multiple greenspaces.

The types of greenspace that are most over-represented in the trip data compared to number of sites, especially following processing, are local parks (13%) and large parks (2%). Civic spaces (1%) are also over-represented.

The MENE survey has several categories of greenspace type that can be matched to those used here. The MENE category “park in a town or city” comprises 53% of visits to greenspaces within towns and cities, which is very similar to the 50% of trips in our data that included local and large parks. 7% of MENE trips were to “playing fields or other recreation areas”, compared to 11% of Shmapped trips to outdoor sports facilities. 3% were to “woodland or forest”, compared to 13% in Shmapped; and 1% were to allotments; compared to 1% in Shmapped.

Validation against Sheffield City Council survey data.

Regarding correspondence between number of users who have visited individual greenspaces, and respondents to the Sheffield City Council survey reporting their most frequently visited greenspace, the correlation between these numbers is increased by data processing (Table 6). When only users who recorded at least 5 trips are considered, the Spearman’s correlation between fully processed trips with zero flags and the Council survey data is 0.40, compared to 0.28 for raw, unprocessed data. When all users are considered, increase in correlation is less, though still present (rho = 0.49 compared to 0.46).

Table 6. Spearman’s rank correlation coefficients of number of respondents to Sheffield City Council Parks and Countryside survey who most frequently visit individual greenspaces, with number of Shmapped users who have visited those greenspaces.

Association of trip characteristics with demographic factors

Average trip duration.

Mean trip duration is strongly associated with demographics factors, specifically with ethnicity and age (see Table 7A). Ethnic minority users make trips that are 33% shorter (averaged across the user’s trips) than trips by people of White ethnicity. Trips by people aged 34 and over are 16% longer than those by people under 34. Garden access is approaching significance, with trips by those having access to a garden being 13% shorter. Gender, IMD, and time spend outside either as a child or in the past year do not show significant associations.

Table 7.

Results of ANOVAs testing relationships between demographic factors and trip characteristics for (a) mean duration; (b) mean distance; (c) mean speed; (d) trip frequency; (e) total duration in greenspace; and (f) total distance in greenspace.

Average trip distance.

Mean distance is also highly significantly associated with demographic factors (see Table 7B). Ethnicity and age are again important, with Ethnic minority users covering 33% less distance per trip, and those by people aged 34 or over covering 23% more. IMD is also important, with trips by people living in the less deprived half of LSOAs covering 20% less distance. Gender, access to garden, and time spend outside either as a child or in the past year did not show significant associations.

Average trip speed.

There are also significant associations between demographic factors and mean speed (see Table 7C). IMD is again significant, with those living in the less deprived half of LSOAs having a 13% higher speed than people living in less deprived LSOAs. Time spent outside in the past year is also significant, with people who have spent more time outside having a 25% faster speed. Gender, age, ethnicity, access to garden, and time spend outside as a child did not show significant associations.

Trip frequency.

Trip frequency is significantly associated with demographic factors (see Table 7D). Women make 31% more trips than men, and people who spent more time outside as a child make 26% more trips then those who spent less time. Age, ethnicity, IMD, access to garden, and time spend outside in the past year did not show significant associations.

Total duration.

Total trip duration (i.e. mean trip duration * trip frequency) is also strongly associated with demographic factors (see Table 7E). Women have a total trip duration that is 30% longer than that of men, while that of people aged 34 and over is 31% longer than that of people younger than 34. Ethnic minority users spend 34% less time making trips to greenspace than White users. IMD, access to garden, and time spend outside either as a child or in the past year did not show significant associations.

Total distance.

There are also associations between demographic factors and total trip distance (mean trip distance * trip frequency) (see Table 7F). Nearly all demographic factors reach significance. Women have a total distance that is 29% longer than that of men; people aged over 34 travel 39% further than those under 34; and Ethnic minority greenspace users travel 34% more distance than White users. People from the less deprived half of LSOAs travel 41% further than those from more deprived LSOAs. Finally, people who spent more time outside as a child travel 40% further than those who spent less. Only time spent outside in the past year and access to a garden are not significant.

S3 Table demonstrates how the results of the relationship with demographic factors change when removing data with least confidence through the data cleaning process.


Evaluation of processing approach

We used a procedural approach to process the GPS data. The procedural rules were derived from a combination of literature review and trial-and-error investigation of appropriate values for our context. However, it remains possible that our selected rules are not optimal. For example, the period of time used to signify the end of a trip varies from as little as 45 seconds to as many as 900 [39]. One study reported a mean bicycle speed of greater than 5 m/s (18 km/h) [47], which would fall within the range flagged as an uncertainty criterion in this study. Our use of flags partially mitigates these concerns, by making it possible to make a range of inferences with varying levels of certainty in the data.

The alternative to the procedural approach is machine learning, which is increasingly commonly used especially in detection of trip modes [39,44]. Machine learning can achieve high accuracy rates, but it is unclear to what extent the tools developed for one dataset can be applied to other datasets [40]. Implementation of machine learning was beyond the scope of this study, for several reasons: our sample size was relatively small for machine learning methods [44,47]; we do not have accelerometer data, which is typically necessary to distinguish modes with similar speeds [41,44,47]; and we are interested exclusively in non-vehicular travel, which we felt could be distinguished procedurally.

We decided not to incorporate a smoothing step into our procedure. This is in contrast to most studies using GPS data [3739,45,49], and means that calculated distances may be incorrect due to failure to smooth out signal loss- or scatter-related errors caused by building canyons and tree canopy cover. However, in our case, even small smoothing bandwidths resulted in inaccuracies caused by GPS traces tracking along the outside of greenspaces being bent into greenspaces at corners.

Another issue with our approach is that we have attempted to infer from the data when a trip begins and ends. Users may in fact subjectively experience trip starts and ends differently. For example, users may consider a trip to greenspace to include the approach, once the greenspace is within sight. We have had to choose an arbitrary period of time spent outside of greenspaces to split trips, when in reality a user may experience visits to two greenspaces as part of the same trip even when separated by a longer period, especially if the intervening distance is travelled away from busy roads and/or surrounded by vegetation. Inference was necessary because by design the app did not ask users to identify the starts and ends of the trips; and studies that have used a protocol of asking users to report this information often find a low response rate, due to forgetting or not seeing a personal benefit to providing this data [37,67,68].

Nevertheless, our processing approach is validated by comparison with the results of Sheffield City Council’s survey. Correspondence between the number of users visiting individual greenspaces, and survey respondents reporting sites as their most visited greenspace, is increased incrementally by cleaning, post-processing, and application of flags indicating our level of certainty in the validity of trip data (Table 6).

Characteristics of trips to greenspace

A major challenge to understanding how to harness public urban greenspace as a tool for improving residents’ health and well-being is the dearth of data available on how people use greenspace [3,5,20]. We have used GPS tracking data collected by a mobile device app to illustrate how residents of an English city use their urban greenspace: (1) how long users spend in greenspaces; (2) how far they travel within them; and (3) how far from home they travel to visit them; (4) average speeds of users; and (5) types of greenspaces visited.

Even after cleaning and post-processing, most of the trips captured by Shmapped are short: 75% are under 10 minutes long and cover less than 500 m (Fig 2A and 2C). This is in stark contrast to the average trip duration of the MENE survey, in which more than 50% of trips last over an hour (Fig 4C). MENE specifically asks respondents about trips to greenspace; the contrast suggests that most day-to-day greenspace exposure is incidental, i.e. is not a trip to greenspace, but rather through it.

Around 40% of greenspace trips take place more than 1.6 km (1 mile) from user’s homes (Fig 2E). It should be noted that our data do not capture trips by Sheffield residents to more distant greenspaces, as only Sheffield greenspaces are geofenced, meaning that the true distribution of distance may be less right-skewed or may be multi-modal. (The few trips more than 16 km (10 miles) from home are mostly by people visiting from outside of Sheffield.) While we do not have data on either whether trips began at home (instead of e.g. from workplaces), the distribution of user-averaged distance from home is remarkably similar to the MENE survey distribution of distance from trip origin (which may or may not be the respondent’s home) to greenspace (Fig 4E).

The typical movement speed is low, with over half of trips having a total average speed of less than 1 m/s (3.6 km/h) (Fig 2). Typical walking speeds for healthy men and women aged under 70 are around 1.3–1.4 m/s (4.7–5.0 km/h) [69]. A study of walking speeds from Drents-Friese Wold National Park in the Netherlands found that walking speed varied with trip motive [70]. Walkers whose purpose was “social and activities”, “social and relaxation” or “nature and rest” walked more slowly than the average speed found in this study, ranging between 0.7–0.9 m/s (2.5–3.2 km/h), while those engaging in “walking as exercise” were faster, at 1.1 m/s (4.0 km/h) [70]. This suggests that most of the Shmapped users were walking for social, nature-observation and relaxation purposes, rather than exercise, and may have been slowing or stopping to observe their surroundings, to rest and/or to socialise. Given the small number of users travelling as speeds above 2 m/s (7.2 km/h), there appear to have been few cyclists or runners recording trips using Shmapped. Runners typically move at between 2–4 m/s (7.2–14.4 km/h), while most cyclists move between 2–5 m/s (7.2–18.0 km/h) [41,44,4648].

Parks, both local and large, are shown to be particularly popular destinations for greenspace visits (Fig 5). While these comprise only 15% of the geofenced greenspaces, they are visited on half of all trips. Parks are also popular destinations for respondents to the MENE survey. This is unsurprising given that the urban parks in particular are recognised to fulfil a range of important social, aesthetic, well-being and recreational roles [22,71,72]. Civic spaces are also visited more frequently than would be expected, which is likely because of their city centre location and utility as resting and meeting places. Whilst our data do not explicitly question the purpose of the greenspace visit, the numerous occurrences of singular direct routes within the spaces hints at greenspace usage within wider travel (passing through–for example on the way to work) rather than as explicit destinations themselves.

In contrast, visual and active amenity sites are under-represented in proportion of visits. These are typically small areas of greenspace provided as local greens in residential areas. They are not underrepresented in the raw data, as this may be because the proximity of amenity greenspaces to roads means that many apparent trips in the unprocessed data are undertaken by motorised vehicles. Additionally, some are so small that it takes less than 70 seconds (the minimum time for a trip to be considered valid) to walk through them.

Assuming that the GPS data recorded by Shmapped reflect typical patterns of greenspace usage for the users, the average weekly time spent visiting greenspaces is slightly less than an hour, and the total distance travelled is a little over 2.5 km (Table 5). An hour is 40% of the 150 weekly minutes of moderate exercise recommended by the UK National Health Service (, date accessed 24/12/2019), although given the low average walking speed it is likely that some users were not walking fast enough for their time spent in greenspaces to count as moderate exercise. An hour is also around 40% of the average weekly time spent walking as found by the Health Survey for England 2012 [73]. Although the relationship between greenspace exposure and health benefits does not plateau until considerably beyond an hour, some studies indicate that an hour is adequate to obtain mental health benefits [74,75]. Another study, however, found that 120 minutes is necessary to provide consistent improvements to health and well-being of a magnitude similar to, for example, living in a low- compared to a high-deprivation area or achieving recommended levels of physical activity [76]. However, given the interaction between nature contact and an individual’s nature connectedness, shorter durations could well provide greater wellbeing benefits for more nature-connected individuals [14].

Determinants of greenspace-visiting behaviour

Data on how different people use greenspaces are important because greenspace use is known to be influenced by factors including age, gender, ethnicity and deprivation [2427]. We have investigated the influence of several of these factors on greenspace visitation.

Black, Asian and minority ethnicity is associated with less time spent and less distance travelled in greenspaces, both per trip and overall. This may have health impacts: for example, for pregnant White women in Bradford, UK, birth weight was associated with residential greenness while for Pakistani women it was not, which is likely to be due to differences in greenspace usage [77]. A meta-analysis of studies from North American found that people of White ethnicity were less constrained from visiting parks by cost, transportation, health and knowledge about parks [24]. In the UK, ethnic minorities may obtain different health benefits from the greenspace environment than White people. General health amongst ethnic minorities (excluding people of Indian ethnicity) was more strongly predicted by greenspace use and perceptions than amongst White British or Indian people [28]. This may be related to confounding of ethnicity and deprivation; greenspace has been found to have greater benefits to health amongst deprived groups [69]. Furthermore, visiting greenspace with another person was only a predictor of general health for ethnic minorities, reflecting other results that suggest that ethnic minorities have different, more socially-oriented requirements of greenspace visits than White people [27,28].

Age is also associated with time spent and distance travelled in greenspaces, with the older half of people in our study (aged 34–71) spending longer and travelling further than the younger half (aged 18–33). Age is associated with different constraints on greenspace visitation. Younger people tend to be constrained more by time and cost, as well as knowledge of local greenspaces [24]. In contrast, older people are often more constrained by health, availability of someone to go with, safety concerns and availability of transportation [24]. In our study, the younger members of the ‘older’ group are still relatively young (minimum age 34) and therefore less likely to be limited by health concerns. Furthermore, the ‘younger’ group in our study includes many university students, a group who are particularly likely to have time constraints [78]. Age was found not to be significantly associated with speed. This may be due to the modest sample sizes or the categorisation/data binning of the variables (as discussed in more detail within the limitations section).

Our data has showed that deprivation is associated with distance but not duration or frequency; correspondingly, it is also associated with average speed. People from more deprived areas move more slowly and cover less distance than those from less deprived areas. The reduced speed associated with lower physical activity levels of people from deprived areas (through lower levels of running or cycling) may in turn decrease average distances. Lower walking speeds may arise because people from deprived areas tend to have poorer health and lower levels of physical activity [79,80]. Interestingly, in contrast to our finding of no relationship between deprivation and duration or frequency, a study from Birmingham, UK found that people from more deprived areas spent less time walking outside, while one from the US found higher duration of walking for transport amongst people from more deprived areas [81,82]. It is possible that our finding arises from the fact that deprived areas in Sheffield have particularly good accessibility to greenspaces, which offsets deprivation-related constraints [24,57].

Time spent outside in the past year is also associated with average speed. This relationship may be due to a relationship between walking speed and general mobility, e.g. ability to cross streets and navigate the local environment, which in turn limits ability to visit even nearby destinations [69,83,84].

Gender is not associated with per-trip characteristics, but women make more frequent trips, and therefore have a greater total distance and duration. This is surprising given that studies generally find women to be more affected by all types of constraints on greenspace visitation, from perceptions of safety and availability of someone to go with, to time and cost, especially relating to family responsibilities [2426]. The explanation for the observed association may be related to the likelihood of using different modes of transport: Department of Transport data suggest that men may be more likely to travel by car, while women may be more likely to walk [85].

More time spent outside as a child is associated with greater trip frequency and total distance, although not with total duration. This is unsurprising given the important influence childhood habits and attitudes towards greenspace in adulthood [78,8688]. For example, a survey of English and Scottish adults found that the frequency of visits to greenspace as a child strongly influenced the frequency of visits as an adult [87].

Access to a garden is not associated with any trip characteristics. This supports the finding that people who lack a private garden do not compensate with more frequent visits to public greenspaces [89]. Private gardens have different functions and meaning to public greenspace: they are spaces that simultaneously provide privacy and freedom, and the possibility to create an outdoor space that meets one’s individual requirements e.g. through gardening and installation of facilities [90]. The lack of significant associations in our study is likely due to the non-substitutability of public and private greenspace.


A limitation is that, although marketing of the app (Shmapped) was targeted to capture a representative sample of Sheffield’s population, users were self-selecting [54,55]. Consequently, there are socioeconomic differences between the sample with at least one valid trip and the wider Sheffield population (S1 Fig). 65% of app users are male, whereas only 49% of Sheffield’s population of over-18s are. App users are mostly between the ages of 29 and 40, while Sheffield’s population has a far larger proportion of older people. The area deprivation of areas where app users live was considerably less, on average, than that of Sheffield’s wider population. However, the proportion of users belonging to different ethnic groups was relatively similar to that of Sheffield’s population, with the exception that not many people of Black and Black British origin used the app. This has consequences for the generalisability of results, due to the different greenspace usage behaviour observed both in this study and elsewhere [2227].

The authors acknowledge that using data extracted from Shmapped, we were unable to incorporate additional socio-demographic variables of interest such as profession. Therefore, it should be acknowledged that associations found could be the result of third variable linkages. Future research is needed to expand on the current exploratory outputs. Due to the relatively modest sample sizes, analysis was undertaken by splitting each variable into two bins with broadly equal sample sizes. Future research should seek larger samples in order to exploit the continuous nature of the majority of socio-demographic variables using more sophisticated analysis such as Generalised Linear Modelling. Additionally, the app was advertised as a mental well-being self-help tool, but it is possible that people who spend more time in outdoor spaces were more likely to download the app and to engage with it throughout the intervention period. The medium of a mobile device app is also more likely to attract particular demographics, namely those who are younger and more technology-friendly [91], as well as those able to afford modern smartphones, which likely explains the age distribution of app users in this study. We also cannot be certain if the trips measured by a smartphone app are representative of all trips to greenspace. There might be certain types of visit where participants were less likely to carry their mobile phones (for example a short trip to walk the dog) which may systematically bias output.

Regarding our analysis of associations between demographic factors and greenspace visiting behaviour, while we have included a variety of demographic factors, there may be other factors influencing greenspace visitation. These include personal factors such as health, education, and responsibilities e.g. to family that limit available time [2426]; and also wider factors such as inability to get to parks, perceptions of safety and social inclusiveness of the local area [23,25,26]. We have also not in this study been able to analyse park-level influencing factors, such as park quality, which is known to affect both use and health benefits [1,92].

Finally, although we have been able to analyse where people choose to visit, we have not been able to investigate why, or what they did during their visit (e.g. the extent to which they engaged with nature). This limits our ability to understand how individuals’ past and present experiences influence greenspace visiting behaviour, and to understand the subjective value of visiting greenspaces [35,93].


In recent years, use of GPS to inform both travel surveys and health research has increased enormously [3437,39,41,42]. GPS data has the potential to resolve the Unknown Geographic Context Problem by facilitating a detailed understanding of how people experience their local environment on a day-to-day basis [3235]. It therefore shows great promise as a provider of data on greenspace visitation, rather than simply what greenspace exists, and thereby contributing to the epidemiological understanding of how urban greenspace contributes to the health and well-being of residents [3,5,20].

We have demonstrated a method for processing raw GPS data into useful information about individual trips to greenspaces. Key findings are that the median trip length is 190 m and the median duration is 4 minutes 36 seconds, and that the average user of our app makes just over one trip per day to a greenspace, with a weekly total duration of nearly an hour and total distance of around 2.5 km. However, these statistics are influenced by demographic factors including age (older participants spent more time and covered more distance in greenspaces) and gender (women make more frequent trips to greenspace). Importantly, ethnicity and deprivation also play a role, with ethnic minorities and people from more deprived areas making shorter visits to greenspaces. However, time spent outside as a child seems to positively influence the frequency of trips made as an adult, suggesting that behaviours learnt as a child continue into adult life. While relating specifically to the case study city of Sheffield, these insights suggest a way forward to understanding how greenspace use benefits the various demographics of a city’s population.

Supporting information

S1 Fig. Socioeconomic characteristics of app users compared with Sheffield’s wider population.


S1 Table. Average characteristics of subsets of trips excluding flags highlighting trips with potentially problematic features.

Characteristics shown both averaged across all trips, and as average of by-user means.


S2 Table.

Average characteristics of trip duration, length and speed split by (a) gender; (b) age; (c) ethnicity; (d) deprivation; (e) time spent outside as a child; (f) time spent outside last year; and (g) access to a garden.


S3 Table. Results of ANOVAs testing relationships between demographic factors and trip characteristics–exploring effects when trips with more flags are included.



We would like to acknowledge the support and input from the app developers, Furthermore Ltd; and Dr Kirsten McEwan, a lead researcher during the Shmapped implementation. We also thank Sheffield City Council for the provision of data including the Parks and Countryside customer satisfaction survey for 2019.

Census data and LSOA boundaries were sourced from the Office for National Statistics and are © Crown Copyright 2021.


  1. 1. Sugiyama T, Carver A, Koohsari MJ, Veitch J. Advantages of public green spaces in enhancing population health. Landsc Urban Plan. 2018;178: 12–17.
  2. 2. World Health Organization. Urban green spaces and health—a review of the evidence. Copenhagen; 2016. Available:
  3. 3. Markevych I, Schoierer J, Hartig T, Chudnovsky A, Hystad P, Dzhambov AM, et al. Exploring pathways linking greenspace to health: Theoretical and methodological guidance. Environ Res. 2017;158: 301–317. pmid:28672128
  4. 4. Lee ACK, Maheswaran R. The health benefits of urban green spaces: A review of the evidence. J Public Health (Bangkok). 2011;33: 212–222. pmid:20833671
  5. 5. James P, Banay RF, Hart JE, Laden F. A Review of the Health Benefits of Greenness. Curr Epidemiol Reports. 2015;2: 131–142. pmid:26185745
  6. 6. Twohig-Bennett C, Jones A. The health benefits of the great outdoors: A systematic review and meta-analysis of greenspace exposure and health outcomes. Environ Res. 2018;166: 628–637. pmid:29982151
  7. 7. Maas J, Verheij RA, de Vries S, Spreeuwenberg P, Schellevis FG, Groenewegen PP. Morbidity is related to a green living environment. J Epidemiol Community Heal. 2009;63: 967–973. pmid:19833605
  8. 8. Mitchell R, Popham F. Effect of exposure to natural environment on health inequalities: an observational population study. Lancet. 2008;372: 1655–1660. pmid:18994663
  9. 9. Mitchell RJ, Richardson EA, Shortt NK, Pearce JR. Neighborhood Environments and Socioeconomic Inequalities in Mental Well-Being. Am J Prev Med. 2015;49: 80–84. pmid:25911270
  10. 10. Staats H, Kieviet A, Hartig T. Where to recover from attentional fatigue: An expectancy-value analysis of environmental preference. J Environ Psychol. 2003;23: 147–157.
  11. 11. Ulrich RS, Simons , Robert F. Losito BD, Fiorito E, Miles MA, Zelson M. Stress Recovery During Exposure To Natural and Urban Environments. J Environ Psychol. 1991;11: 201–230.
  12. 12. Beery T, Jönsson KI, Elmberg J. From Environmental Connectedness to Sustainable Futures: Topophilia and Human Affiliation with Nature. Sustainability. 2015;7: 8837–8854.
  13. 13. Korpela KM, Pasanen T, Repo V, Hartig T, Staats H, Mason M, et al. Environmental strategies of affect regulation and their associations with subjective well-being. Front Psychol. 2018;9: 562. pmid:29720955
  14. 14. Martin L, White MP, Hunt A, Richardson M, Pahl S, Burt J. Nature contact, nature connectedness and associations with health, wellbeing and pro-environmental behaviours. J Environ Psychol. 2020;68: 101389.
  15. 15. Yu CP, Lee HY, Luo XY. The effect of virtual reality forest and urban environments on physiological and psychological responses. Urban For Urban Green. 2018;35: 106–114.
  16. 16. Jiang M, Hassan A, Chen Q, Liu Y. Effects of different landscape visual stimuli on psychophysiological responses in Chinese students. Indoor Built Environ. 2019;0: 1–11.
  17. 17. Grassini S, Revonsuo A, Castellotti S, Petrizzo I, Benedetti V, Koivisto M. Processing of natural scenery is associated with lower attentional and cognitive load compared with urban ones. J Environ Psychol. 2019;62: 1–11.
  18. 18. Crossan C, Salmoni A. A Simulated Walk in Nature: Testing Predictions From the Attention Restoration Theory. Environ Behav. 2019. pmid:30662076
  19. 19. Van den Berg AE, Koole SL, van der Wulp NY. Environmental preference and restoration: (How) are they related? J Environ Psychol. 2003;23: 135–146.
  20. 20. Lee ACK, Jordan HC, Horsley J. Value of urban green spaces in promoting healthy living and wellbeing: Prospects for planning. Risk Manag Healthc Policy. 2015;2015: 131–137. pmid:26347082
  21. 21. Hunter RF, Cleland C, Cleary A, Droomers M, Wheeler BW, Sinnett D, et al. Environmental, health, wellbeing, social and equity effects of urban green space interventions: A meta-narrative evidence synthesis. Environ Int. 2019;130: 104923. pmid:31228780
  22. 22. Bedimo-Rung AL, Mowen AJ, Cohen DA. The Significance of Parks to Physical Activity and Public Health: A Conceptual Model. Am J Prev Med. 2005;28: 159–168. pmid:15694524
  23. 23. Seaman PJ, Jones R, Ellaway A. It’s not just about the park, it’s about integration too: Why people choose to use or not use urban greenspaces. Int J Behav Nutr Phys Act. 2010;7: 78. pmid:21029448
  24. 24. Zanon D, Doucouliagos C, Hall J, Lockstone-Binney L. Constraints to Park Visitation: A Meta-Analysis of North American Studies. Leis Sci. 2013;35: 475–493.
  25. 25. Scott D, Munson W. Perceived constraints to park usage among individuals with low incomes. J Park Recreat Admi. 1994;12: 52–69.
  26. 26. Mowen AJ, Payne LL, Scott D. Change and stability in park visitation constraints revisited. Leis Sci. 2005;27: 191–204.
  27. 27. Payne LL, Mowen AJ, Orsega-Smith E. An examination of park preferences and behaviors among urban residents: The role of residential location, race and age. Leis Sci. 2002;24: 181–198.
  28. 28. Roe J, Aspinall PA, Thompson CW. Understanding relationships between health, ethnicity, place and the role of urban green space in deprived urban communities. Int J Environ Res Public Health. 2016;13: 1–21. pmid:27399736
  29. 29. Comber A; Brunsdon CGE. Using a GIS-based network analysis to determine urban greenspace accessibility for different ethnic and religious groups. Landsc Urban Plan. 2008;86: 103–114.
  30. 30. Rishbeth C. Ethno-cultural representation in the urban landscape. J Urban Des. 2004;9: 311–333.
  31. 31. Weber J, Sultana S. Why Do So Few Minority People Visit National Parks? Visitation and the Accessibility of “America’s Best Idea.” Ann Assoc Am Geogr. 2013;103: 437–464.
  32. 32. Kwan MP. The Uncertain Geographic Context Problem. Ann Assoc Am Geogr. 2012;102: 958–968.
  33. 33. Kwan MP. How GIS can help address the uncertain geographic context problem in social science research. Ann GIS. 2012;18: 245–255.
  34. 34. Mennis J, Yoo EHE. Geographic information science and the analysis of place and health. Trans GIS. 2018;22: 842–854. pmid:30479558
  35. 35. Olsen JR, Mitchell R, McCrorie P, Ellaway A. Children’s mobility and environmental exposures in urban landscapes: A cross-sectional study of 10–11 year old Scottish children. Soc Sci Med. 2019;224: 11–22. pmid:30735924
  36. 36. Ellison AB, Ellison RB, Ahmed A, Rance D, Greaves SP. Spatiotemporal Identification of Trip Stops from Smartphone Data. Appl Spat Anal Policy. 2019;12: 27–43.
  37. 37. Marra AD, Becker H, Axhausen KW, Corman F. Developing a passive GPS tracking system to study long-term travel behavior. Transp Res Part C Emerg Technol. 2019;104: 348–368.
  38. 38. Rasmussen TK, Ingvardson JB, Halldórsdóttir K, Nielsen OA. Improved methods to deduct trip legs and mode from travel surveys using wearable GPS devices: A case study from the Greater Copenhagen area. Comput Environ Urban Syst. 2015;54: 301–313.
  39. 39. Kerr J, Duncan S, Schipperjin J. Using global positioning systems in health research: A practical approach to data collection and processing. Am J Prev Med. 2011;41: 532–540. pmid:22011426
  40. 40. Schipperijn J, Kerr J, Duncan S, Madsen T, Klinker CD, Troelsen J. Dynamic accuracy of GPS receivers for use in health research: A novel method to assess GPS accuracy in real-world settings. Front Public Heal. 2014;2: 21. pmid:24653984
  41. 41. Reddy S, Mun M, Burke J, Estrin D, Hansen M, Srivastava M. Using mobile phones to determine transportation modes. ACM Trans Sens Networks. 2010;6: 13.
  42. 42. Riungu GK, Peterson BA, Beeco JA, Brown G. Understanding visitors’ spatial behavior: a review of spatial applications in parks. Tour Geogr. 2018;20: 833–857.
  43. 43. Barros C, Moya-Gómez B, Gutiérrez J. Using geotagged photographs and GPS tracks from social networks to analyse visitor behaviour in national parks. Curr Issues Tour. 2019;in press.
  44. 44. Bolbol A, Cheng T, Tsapakis I, Haworth J. Inferring hybrid transportation modes from sparse GPS data using a moving window SVM classification. Comput Environ Urban Syst. 2012;36: 526–537.
  45. 45. Thierry B, Chaix B, Kestens Y. Detecting activity locations from raw GPS data: A novel kernel-based algorithm. Int J Health Geogr. 2013;12: 14. pmid:23497213
  46. 46. Ballı S, Sağbaş EA. Diagnosis of transportation modes on mobile phone using logistic regression classification. IET Softw. 2018;12: 142–151.
  47. 47. Xia H, Qiao Y, Jian J, Chang Y. Using smart phone sensors to detect transportation modes. Sensors (Switzerland). 2014;14: 20843–20865. pmid:25375756
  48. 48. Zheng Y, Liu L, Wang L, Xie X. Learning Transportation Mode from Raw GPS Data for Geographic Applications on the Web. Proceedings of the 17th World Wide Web Conference. 2008. pp. 247–256.
  49. 49. Schuessler N, Axhausen K. Processing raw data from global positioning systems without additional information. Transp Res Rec. 2009; 28–36.
  50. 50. Merry K, Bettinger P. Smartphone GPS accuracy study in an urban environment. PLoS One. 2019;14: 1–19. pmid:31318933
  51. 51. McCrorie P, Walker D, Ellaway A. The unanticipated challenges associated with implementing an observational study protocol in a large-scale physical activity and global positioning system data collection. J Med Internet Res. 2018;20: 1–12. pmid:29712624
  52. 52. Tomaštík JJ, Tomaštík JS, Saloň Š, Piroh R. Horizontal accuracy and applicability of smartphone GNSS positioning in forests. Forestry. 2017;90: 187–198.
  53. 53. Wheeler BW, Cooper AR, Page AS, Jago R. Greenspace and children’s physical activity: A GPS/GIS analysis of the PEACH project. Prev Med (Baltim). 2010;51: 148–152. pmid:20542493
  54. 54. McEwan K, Richardson M, Sheffield D, Ferguson FJ, Brindley P. A Smartphone App for Improving Mental Health through Connecting with Urban Nature. Int J Environ Res Public Health. 2019;16: 3373. pmid:31547286
  55. 55. McEwan K, Richardson M, Brindley P, Sheffield D, Tait C, Johnson S, et al. Shmapped: development of an app to record and promote the well-being benefits of noticing urban nature. Transl Behav Med. 2019; ibz027. pmid:30834438
  56. 56. Strategic Leisure Limited. Sheffield City Council: Assessment of Open Space, Outdoor Sports and Recreational Provision for Sheffield. 2008.
  57. 57. Mears M, Brindley P, Maheswaran R, Jorgensen A. Understanding the socioeconomic equity of publicly accessible greenspace distribution: The example of Sheffield, UK. Geoforum. 2019;103: 126–137.
  58. 58. Mears M, Brindley P, Jorgensen A, Maheswaran R. Population-level linkages between urban greenspace and health inequality: The case for using multiple indicators of neighbourhood greenspace. Heal Place. 2020;62: 102284. pmid:32479362
  59. 59. R Core Team. R: A Language and Environment for Statistical Computing. Version 3.5.1. Available at: Vienna, Austria: R Foundation for Statistical Computing; 2019. Available:
  60. 60. Wickham H, Averick M, Bryan J, Chang W, D’Agostino McGowan L, François R, et al. Welcome to the tidyverse. J Open Source Softw. 2019;4: 1686.
  61. 61. Pebesma E. Simple Features for R: Standardized Support for Spatial Vector Data. R J. 2018;10: 439–446.
  62. 62. Dowle M, Srinivasan A. data.table: Extension of ‘data.frame’. R package version 1.12.6. Available at: 2019.
  63. 63. Grolemund G, Wickham H. Dates and Times Made Easy with “lubridate.” J Stat Softw. 2011;40: 1–25.
  64. 64. Matthew Strimas-Mackey. smoothr: Smooth and Tidy Spatial Features. R package version 0.0.1. Available at: 2018. Available:
  65. 65. Zhu X, Li J, Liu Z, Wang S, Yang F. Learning transportation annotated mobility profiles from GPS data for context-aware mobile services. Proceedings—2016 IEEE International Conference on Services Computing, SCC 2016. 2016. pp. 475–482.
  66. 66. O’Neill R. Monitor of Engagement with the Natural Environment. Technical Report to the 2009–2019 surveys. Natural England Joint Report NECR277. Natural England; 2019. Available:
  67. 67. Prelipcean AC, Susilo YO, Gidófalvi G. A series of three case studies on the semi-automation of activity travel diary generation using smartphones. Transportation Research Board 96th Annual Meeting. 2017.
  68. 68. Cottrill CD, Pereira FC, Zhao F, Dias IF, Lim HB, Ben-Akiva ME, et al. Future mobility survey. Transp Res Rec. 2013; 59–67.
  69. 69. Bohannon RW, Williams Andrews A. Normal walking speed: A descriptive meta-analysis. Physiotherapy. 2011;97: 182–189. pmid:21820535
  70. 70. Meijles EW, de Bakker M, Groote PD, Barske R. Analysing hiker movement patterns using GPS data: Implications for park management. Comput Environ Urban Syst. 2014;47: 44–57.
  71. 71. Wolch JR, Byrne J, Newell JP. Urban green space, public health, and environmental justice: The challenge of making cities “just green enough.” Landsc Urban Plan. 2014;125: 234–244.
  72. 72. Sister C, Wolch J, Wilson J. Got green? Addressing environmental justice in park provision. GeoJournal. 2010;75: 229–248.
  73. 73. Craig R, Mindell J, editors. Health Survey for England 2012, volume 1: Health, social care and lifestyles. Retrieved from: London: Health and Social Care Information Centre; 2013.
  74. 74. Cox DTC, Shanahan DF, Hudson HL, Fuller RA, Anderson K, Hancock S, et al. Doses of nearby nature simultaneously associated with multiple health benefits. Int J Environ Res Public Health. 2017;14: 172. pmid:28208789
  75. 75. Barton J, Pretty J. What is the best dose of nature and green exercise for improving mental health- A multi-study analysis. Environ Sci Technol. 2010;44: 3947–3955. pmid:20337470
  76. 76. White MP, Alcock I, Grellier J, Wheeler BW, Hartig T, Warber SL, et al. Spending at least 120 minutes a week in nature is associated with good health and wellbeing. Sci Rep. 2019;9: 7730. pmid:31197192
  77. 77. Dadvand P, Wright J, Martinez D, Basagaña X, McEachan RRC, Cirach M, et al. Inequality, green spaces, and pregnant women: Roles of ethnicity and individual and neighbourhood socioeconomic status. Environ Int. 2014;71: 101–108. pmid:24997306
  78. 78. Holt EW, Lombard QK, Best N, Smiley-Smith S, Quinn JE. Active and passive use of green space, health, and well-being amongst university students. Int J Environ Res Public Health. 2019;16: 424. pmid:30717193
  79. 79. Rocha V, Ribeiro AI, Severo M, Barros H, Fraga S. Neighbourhood socioeconomic deprivation and health-related quality of life: A multilevel analysis. PLoS One. 2017;12: e0188736. pmid:29236719
  80. 80. Pabayo R, Janosz M, Bisset S, Kawachi I. School social fragmentation, economic deprivation and social cohesion and adolescent physical inactivity: A longitudinal study. PLoS One. 2014;9: e99154. pmid:24932679
  81. 81. Xiao Q, Keadle SK, Berrigan D, Matthews CE. A prospective investigation of neighborhood socioeconomic deprivation and physical activity and sedentary behavior in older adults. Prev Med (Baltim). 2018;111: 14–20. pmid:29454077
  82. 82. Zandieh R, Martinez J, Flacke J, van Maarseveen M. The associations between area deprivation and objectively measured older adults’ outdoor walking levels. SAGE Open. 2017;7.
  83. 83. Robinett CS, Vondran MA. Functional ambulation velocity and distance requirements in rural and urban communities. A clinical report. Phys Ther. 1988;68: 1371–1373. pmid:3420171
  84. 84. Langlois JA, Keyl PM, Guralnik JM, Foley DJ, Marottoli RA, Wallace RB. Characteristics of older pedestrians who have difficulty crossing the street. Am J Public Health. 1997;87: 393–397. pmid:9096539
  85. 85. Department for Transport. NTS0601: Average number of trips (trip rates) by age, gender and main mode: England. Statistical data set: Mode of travel. 2019. Available:
  86. 86. Fretwell K, Greig A. Towards a better understanding of the relationship between individual’s self-reported connection to nature, personal well-being and environmental awareness. Sustain. 2019;11: 1386.
  87. 87. Ward Thompson C, Aspinall P, Montarzino A. The Childhood Factor: Adult Visits to Green Places and the Significance of Childhood Experience. Environ Behav. 2008;40: 111–143.
  88. 88. Asah ST, Bengston DN, Westphal LM, Gowan CH. Mechanisms of Children’s Exposure to Nature: Predicting Adulthood Environmental Citizenship and Commitment to Nature-Based Activities. Environ Behav. 2018;50: 807–836.
  89. 89. Grahn P, Stigsdotter UA. Landscape planning and stress. Urban For Urban Green. 2003;2: 1–18.
  90. 90. Coolen H, Meesters J. Private and public green spaces: Meaningful but different settings. J Hous Built Environ. 2012;27: 49–67.
  91. 91. Miyasaka T, Oba A, Akasaka M, Tsuchiya T. Sampling limitations in using tourists’ mobile phones for GPS-based visitor monitoring. J Leis Res. 2018;49: 298–310.
  92. 92. van Dillen SME, de Vries S, Groenewegen PP, Spreeuwenberg P. Greenspace in urban neighbourhoods and residents’ health: Adding quality to quantity. J Epidemiol Community Health. 2012;66: e8. pmid:21715445
  93. 93. Bell SL, Phoenix C, Lovell R, Wheeler BW. Using GPS and geo-narratives: A methodological approach for understanding and situating everyday green space encounters. Area. 2015;47: 88–96.