Home  >>  Archives  >>  Volume 15 Number 2  >>  dm0080

The Stata Journal
Volume 15 Number 2: pp. 523-536



Subscribe to the Stata Journal
cover

gpsbound: A command for importing and verifying geographical information from a user-provided shapefile

Tim S. L. Brophy
University of Cape Town
Southern Africa Labour and
Development Research Unit (SALDRU)
Cape Town, South Africa
tslbrophy@gmail.com
Reza Che Daniels
University of Cape Town
School of Economics
Cape Town, South Africa
reza.daniels@uct.ac.za
Sibongile Musundwa
University of Cape Town
Southern Africa Labour and Development Research Unit (SALDRU)
Cape Town, South Africa
sibongile.musundwa@gmail.com
Abstract.  Geographical coordinates such as Global Positioning System (GPS) latitude and longitude estimates form the foundation of many spatial statistical methods. gpsbound allows users to 1) import geographical information from the attribute table of a polygon shapefile based on the identified location of GPS coordinates in a Stata dataset, and 2) check whether the GPS coordinates lie within the bounds of a polygon demarcated in the shapefile (for example, enumeration areas or primary sampling units). gpsbound also allows users to work with spatial data in Stata without the use of Geographical Information System software.
Terms of use     View this article (PDF)

View all articles by these authors: Tim S. L. Brophy, Reza Che Daniels, Sibongile Musundwa

View all articles with these keywords: gpsbound, spatial data, point-in-polygon, GPS coordinates, shapefile, attribute table

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS