2017 © Pedro Peláez
 

library sectioncalculator

Pulkovo 1942(58) / Poland zone section calculator

image

section1965/sectioncalculator

Pulkovo 1942(58) / Poland zone section calculator

  • Sunday, November 6, 2016
  • by jankowski-piotr
  • Repository
  • 0 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

Synopsis

Calculates map section number from coordinates in Pulkovo 1942(58) / Poland. Called 'układ 1965'. Based on:, (*2)

  • 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., (*3)

Contribution

Feel free to fork and submit changes., (*4)

Installation via Composer

{
        "require": {
                "section1965/sectioncalculator": "dev-master"
     }
}

Tests

Run with composer autoloader., (*5)

phpunit

License

The MIT License (MIT), (*6)

The Versions

06/11 2016

dev-master

9999999-dev https://github.com/jankowski-piotr/sectioncalculator

Pulkovo 1942(58) / Poland zone section calculator

  Sources   Download

MIT

The Requires

  • php ^5.6.0 || ^7.0

 

The Development Requires

projection 1965 pulkovo

06/11 2016

v1.0

1.0.0.0 https://github.com/jankowski-piotr/sectioncalculator

Pulkovo 1942(58) / Poland zone section calculator

  Sources   Download

MIT

The Requires

  • php ^5.6.0 || ^7.0

 

The Development Requires

projection 1965 pulkovo