EconPapers    
Economics at your fingertips  
 

GEO2XY: Stata module to convert latitude and longitude to xy using map projections

Robert Picard and Michael Stepner

Statistical Software Components from Boston College Department of Economics

Abstract: geo2xy converts geographic latitude and longitude to cartesian coordinates (x,y) using map projection transformations. The default projection is a Web Mercator, which is the same used by most web mapping applications (Google Maps, Bing Maps, etc.). As an option, -geo2xy- can generate Tissot's indicatrices (grid of circles) which, when overlaid on a map of the projected coordinates, help visualize the distortions of the chosen projection. With projected coordinates, high quality maps can be produced using standard Stata graph commands or with user-written commands like -spmap-.

Language: Stata
Requires: Stata version 9.2
Keywords: map projection; shapefiles; latitude and longitude; coordinates; shp2dta; spmap (search for similar items in EconPapers)
Date: 2015-04-02, Revised 2017-06-08
Note: This module should be installed from within Stata by typing "ssc install geo2xy". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/g/geo2xy.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/g/geo2xy_albers_sphere.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/g/geo2xy_albers.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/g/geo2xy_equidist ... de/_/cylindrical.hlp help file (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/g/geo2xy_fun_with_maps.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/g/geo2xy_lambert_sphere.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/g/geo2xy_mercator_sphere.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/g/geo2xy_mercator.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/g/geo2xy_picard.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/g/geo2xy_web_mercator.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/g/geo2xy.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/g/geo2xy_lambert_sphere.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/g/geo2xy_run.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/g/geo2xy_usFile-U ... ec/bocode/_/coor.dta sample data file (application/x-stata)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/g/geo2xyFile-URL: ... ec/bocode/_/coor.dta sample data file (application/x-stata)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/g/geo2xyFile-URL: ... de/_/canada_data.dta sample data file (application/x-stata)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/g/geo2xy_us_data.dta sample data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/g/geo2xy_worldFil ... ec/bocode/_/coor.dta sample data file (application/x-stata)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/g/geo2xy_world_data.dta sample data file (application/x-stata)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s457990

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s457990