Skip to content
/ geo Public

Code for representing and converting between geographical coordinate systems

Notifications You must be signed in to change notification settings

rolfrander/geo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geo

Code for representing and converting between geographical coordinate systems, taken from Stack overflow.

The code has been cleaned up a bit to make it more "object oriented" and according to common java idioms and coding standards.

There are two classes, for UTM-coordinates and WGS84-coordinates. Example usage:

WGS84 wgs_a = new WGS84(56,-5);
UTM utm_a = new UTM(31, 'V', 375273.85, 6207884.59);
WGS84 wgs_b = new WGS84(utm_a);
UTM utm_b = new UTM(wgs_a);

More explanations of the math can be found here.

BUGS

There is no error-handling...

About

Code for representing and converting between geographical coordinate systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages