Skip to content

mapcode-foundation/mapcode-php

 
 

Repository files navigation

Mapcode Library for PHP

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


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

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

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.

PHP Files for Mapcode Support

mapcode_data.php  - Data table for mapcode support
mapcode_func.php  - Key routines for mapcode support

mapcode_ctrynams.php  - Optional array with english territory names

sample.php - Sample php code to interpret or generate mapcodes
(upload all 4 files to a server, then open sample.php in a web browser)

Documentation

mapcode_library_php.doc  - Manual: how to use the PHP Mapcode Library
LICENSE                  - Apache License, Version 2.0
NOTICE                   - About this package
README.md                - This document

Version History

  • 2.0.0

    Initial open source release. (The release starts at 2.0.0 because the mapcode algorithms match the 2.0.x releases in Java, C/C++, and other languages.)

About

Mapcode Library for PHP

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages