Google Answers Logo
View Question
 
Q: Implementing simple MGRS (Military Grid Reference System) in Java ( No Answer,   0 Comments )
Question  
Subject: Implementing simple MGRS (Military Grid Reference System) in Java
Category: Computers > Programming
Asked by: winterday-ga
List Price: $40.00
Posted: 30 Nov 2005 21:41 PST
Expires: 30 Dec 2005 21:41 PST
Question ID: 599853
I am not an GIS expert but I need to implement a MGRS service in Java.
Basically it is very very similar to the problem originating from this
Google Answer:

http://answers.google.com/answers/threadview?id=562752

However I need a real implementation of such service. I have came up
with the Java Interface to illustrate the requirement. You answer must
implement this interface fully and pass few test case. Please ask
question if you have any problem. Thank you.

public interface MGRSService {

	public void setLatitude(double lat);
	public void setLongitude(double lon);
	public void setGridSize(double meter);
	
	// this method return current MGRS zone value
	// based on the specific squre size in meter
	// and the provided lat/lon vale
	public String getCurrentZone();
	
	// this method return all adjacent zone surrounding
	// the current zone. it should return an array of
	// 8 zones
	public abstract String[] getAdjacentZone();
	
	// this method verify if the input zone is adjacent
	// to the current zone
	public abstract boolean isAdjacent(String zoneInMRGS);
	
}
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy