thumbnail

A computer program for converting rectangular coordinates to latitude-longitude coordinates

Water-Resources Investigations Report 89-4070

By:

Links

Abstract

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)

Additional Publication Details

Publication type:
Report
Publication Subtype:
USGS Numbered Series
Title:
A computer program for converting rectangular coordinates to latitude-longitude coordinates
Series title:
Water-Resources Investigations Report
Series number:
89-4070
Edition:
-
Year Published:
1989
Language:
ENGLISH
Publisher:
Dept. of the Interior, U.S. Geological Survey ; Books and Open-File Reports [distributor],
Description:
iii, 16 p. :ill. ;28 cm.