All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.berico.coords.Example Maven / Gradle / Ivy

The newest version!
package com.berico.coords;


public class Example 
{
    public static void main( String[] args )
    {	
    		String mgrs = Coordinates.mgrsFromLatLon(37.10, -112.12);
    		
    		System.out.println(mgrs);
    		
    		double[] latLon = Coordinates.latLonFromMgrs(mgrs);
    		
    		System.out.println(
    			String.format("%s, %s", latLon[0], latLon[1]));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy