Location Code Comparison

Open-location-code
What 3 Words
mapcode
mgrs

As you pan and zoom the map the web page should update the 4 different ways of representing the point at the centre of the map. Clicking on any of the locations will take you to a map provided by their developers to check my maths.

Implementations

I implemented the Google Open Location Code in Java based on the released javascript code I've submitted a pull request or you can fork my repo.

MapCode provide a Java library - you just need add the following to your pom file:

				
			<dependency> 
			   <groupId>com.mapcode</groupId> 
			   <artifactId>mapcode</artifactId>
			   <version>2.0.0</version>
			</dependency>
		
		
		

MGRS is based on code from this repository which builds on the NASA WorldWind base.

The What3Words code is actually quite easy and is available here. The only tricky bit is keeping your API key out of the repository.

Back to Ian Turton's Website