Tools and downloads for developers

In this section, you can find tools related to mapcodes. If you are interested in technical details or source code of the map code system. Our developers section contains:

Maven dependency

To use the Mapcode Java Library in your Maven project, add the following dependency to your Maven pom.xml file:

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

Source code, example code, and documentation can be found on our Java source code page.

Converting location to mapcodes and v.v.

We offer a cross-platform console tool, called mapcode, which is located in the utility directory of our C/C++ Mapcode library, for any OS you wish. You can find the utility here:

You need to compile this utility yourself on the platform of choice.

Using a spreadsheet to convert mapcodes

Instead of using a console tool to convert between locations and mapcodes, you can also use an Excel (Windows) or Google Docs to call our free mapcode conversion webservice directly.

For example, to convert a mapcode to a location, enter this formula in a cell:

=WEBSERVICE("http://api.mapcode.com/mapcode/xml/coords/Q4.HGY?context=NLD")

This will convert the mapcode to location 52.460897, 5.1074585. To convert the location back to its mapcodes, enter this:

=WEBSERVICE("http://api.mapcode.com/mapcode/xml/codes/52.460897,5.1074585")

You can find an example spreadsheet here:

Google Docs offers similar formulae to work with web services. For a short manual on how to use the web service, click here.

Legacy tools

We offer legacy Windows tools for your convenience as well, although these will likely be deprecated at some point. The console tool mapcoder.exe can quickly convert coordinates into mapcodes or vice versa, a whole spreadsheet or database at a time. Full documentation is included.

For legacy's sake, the old console tool (version 1.50.1) is available in case pre-2.0 codes need to be decoded. We do not recommend using pre-2.0 codes, however.

Copyright © 2019, Stichting Mapcode Foundation

  • c-facebook