承接 jmbtechnologylimited/osmaths 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jmbtechnologylimited/osmaths

Composer 安装命令:

composer require jmbtechnologylimited/osmaths

包简介

conversations around the coordinate systems used for Ordnance Survey Open Data only

README 文档

README

This is a PHP library for doing the conversations around the coordinate systems used for Ordnance Survey Open Data only.

Most of the Open Data comes in Easting/Northing. It needs converting to Latitude and Longitude. Further more, this is in OSGB36, and you probably want your Lat/Lng in WGS84, which is the same projection Open Street Map and Google Maps use.

I am not an expert in mapping systems. I cobbled this together from other sources based on my needs. I would love to retire it if someone else has a PHP library that does this with a permissive license.

Install via Composer

https://packagist.org/packages/jmbtechnologylimited/osmaths

composer require jmbtechnologylimited/osmaths

Use

$en = new EastingNorthing($inEasting, $inNorthing);
$latlng = $en->toLatLngOSGB36()->toLatLngWGS84();
print $latlng->getLat();
print $latlng->getLng();

Code Standards

Every object is immutable, so you can pass around data objects without worrying they will be changed.

License

BSD License

Note this software does not contain any actual data from the Ordnance Survey. You must get that yourself, and agree to their license to.

Sources and References that have been helpful

统计信息

  • 总下载量: 1.24k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD
  • 更新时间: 2016-07-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固