section1965/sectioncalculator
Composer 安装命令:
composer require section1965/sectioncalculator
包简介
Pulkovo 1942(58) / Poland zone section calculator
关键字:
README 文档
README
Synopsis
Calculates map section number from coordinates in Pulkovo 1942(58) / Poland. Called 'układ 1965'. Based on:
- https://pl.wikipedia.org/wiki/Uk%C5%82ad_wsp%C3%B3%C5%82rz%C4%99dnych_1965
- http://www.numerus.net.pl/godla_1965.html
- http://www.wodgik.katowice.pl/html/definicje/definicje.htm
- http://www.numerus.net.pl/godla_zasadnicza.html
Code Example
// Use a PSR-4 autoloader.
include("vendor/autoload.php");
use Section1965\SectionCalculator;
$point = new SectionCalculator(5585782.900,4527912.960);
$point->setProjection('EPSG:3120'); // zone 1
$point->getFullSection(); // returns '112.232'
$point->getFullSectionByScale(25000); // returns '112.23'
Motivation
This project solves the issue of missing full number names by adding estimated correct section number at the beginning.
Contribution
Feel free to fork and submit changes.
Installation via Composer
{
"require": {
"section1965/sectioncalculator": "dev-master"
}
}
Tests
Run with composer autoloader.
phpunit
License
The MIT License (MIT)
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-05