A computer program for converting rectangular coordinates to latitude-longitude coordinates
January 1, 1989
A computer program was developed for converting the coordinates of any rectangular grid on a map to coordinates on a grid that is parallel to lines of equal latitude and longitude. Using this program in conjunction with groundwater flow models, the user can extract data and results from models with varying grid orientations and place these data into grid structure that is oriented parallel to lines of equal latitude and longitude. All cells in the rectangular grid must have equal dimensions, and all cells in the latitude-longitude grid measure one minute by one minute. This program is applicable if the map used shows lines of equal latitude as arcs and lines of equal longitude as straight lines and assumes that the Earth 's surface can be approximated as a sphere. The program user enters the row number , column number, and latitude and longitude of the midpoint of the cell for three test cells on the rectangular grid. The latitude and longitude of boundaries of the rectangular grid also are entered. By solving sets of simultaneous linear equations, the program calculates coefficients that are used for making the conversion. As an option in the program, the user may build a groundwater model file based on a grid that is parallel to lines of equal latitude and longitude. The program reads a data file based on the rectangular coordinates and automatically forms the new data file. (USGS)
Citation Information
Publication Year | 1989 |
---|---|
Title | A computer program for converting rectangular coordinates to latitude-longitude coordinates |
DOI | 10.3133/wri894070 |
Authors | A. T. Rutledge |
Publication Type | Report |
Publication Subtype | USGS Numbered Series |
Series Title | Water-Resources Investigations Report |
Series Number | 89-4070 |
Index ID | wri894070 |
Record Source | USGS Publications Warehouse |