Skip to content

tigerking/mapcode-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

215 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapcode Library for Java

Copyright (C) 2014-2015 Stichting Mapcode Foundation (http://www.mapcode.com)


This Java project contains a library to encode latitude/longitude pairs to mapcodes and to decode mapcodes back to latitude/longitude pairs.

Release notes can be found at: http://mapcode-foundation.github.io/mapcode-java/ReleaseNotes.html

Online documentation can be found at: http://mapcode-foundation.github.io/mapcode-java/

An example of how to use this library can be found at: https://github.com/mapcode-foundation/mapcode-java-example

If you wish to use mapcodes in your own application landscape, consider using running an instance of the Mapcode REST API, which can be found on: https://github.com/mapcode-foundation/mapcode-rest-service

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Original C library created by Pieter Geelen. Work on Java version of the mapcode library by Rijn Buve. Initial port by Matthew Lowden.

Coding Formatting Style

The code formatting style used is the default code formatting style from IntelliJ IDEA (version 14). it is recommended to always use auto-format on any (Java) files before committing to maintain consistent layout.

Using Git and .gitignore

It's good practice to set up a personal global .gitignore file on your machine which filters a number of files on your file systems that you do not wish to submit to the Git repository. You can set up your own global ~/.gitignore file by executing: git config --global core.excludesfile ~/.gitignore

In general, add the following file types to ~/.gitignore (each entry should be on a separate line): *.com *.class *.dll *.exe *.o *.so *.log *.sql *.sqlite *.tlog *.epoch *.swp *.hprof *.hprof.index *.releaseBackup *~

If you're using a Mac, filter: .DS_Store* Thumbs.db

If you're using IntelliJ IDEA, filter: *.iml *.iws .idea/

If you're using Eclips, filter: .classpath .project .settings .cache

If you're using NetBeans, filter: nb-configuration.xml *.orig

The local .gitignore file in the Git repository itself to reflect those file only that are produced by executing regular compile, build or release commands, such as: target/ out/

Bug Reports and New Feature Requests

If you encounter any problems with this library, don't hesitate to use the Issues session to file your issues. Normally, one of our developers should be able to comment on them and fix.

About

Mapcode Library for Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Brainfuck 32.0%
  • C 23.8%
  • GAP 11.1%
  • Forth 11.0%
  • Eiffel 10.9%
  • Makefile 10.6%
  • Other 0.6%