PHPackages                             section1965/sectioncalculator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. section1965/sectioncalculator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

section1965/sectioncalculator
=============================

Pulkovo 1942(58) / Poland zone section calculator

v1.0(9y ago)015MITPHPPHP ^5.6.0 || ^7.0

Since Nov 6Pushed 9y agoCompare

[ Source](https://github.com/jankowski-piotr/sectioncalculator)[ Packagist](https://packagist.org/packages/section1965/sectioncalculator)[ Docs](https://github.com/jankowski-piotr/sectioncalculator)[ RSS](/packages/section1965-sectioncalculator/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/c4de14c5d708d09ede796713dfb93674b541423b9be7422cdcb1bad5717bcd30/68747470733a2f2f7472617669732d63692e6f72672f6a616e6b6f77736b692d70696f74722f73656374696f6e63616c63756c61746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jankowski-piotr/sectioncalculator)

Synopsis
--------

[](#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](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.numerus.net.pl/godla_1965.html)
-
- [http://www.numerus.net.pl/godla\_zasadnicza.html](http://www.numerus.net.pl/godla_zasadnicza.html)

Code Example
------------

[](#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
----------

[](#motivation)

This project solves the issue of missing full number names by adding estimated correct section number at the beginning.

Contribution
------------

[](#contribution)

Feel free to fork and submit changes.

Installation via Composer
-------------------------

[](#installation-via-composer)

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

```

Tests
-----

[](#tests)

Run with composer autoloader.

```
phpunit

```

License
-------

[](#license)

The MIT License (MIT)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3524d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23076341?v=4)[jankowski-piotr](/maintainers/jankowski-piotr)[@jankowski-piotr](https://github.com/jankowski-piotr)

---

Tags

projection1965pulkovo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/section1965-sectioncalculator/health.svg)

```
[![Health](https://phpackages.com/badges/section1965-sectioncalculator/health.svg)](https://phpackages.com/packages/section1965-sectioncalculator)
```

###  Alternatives

[mjaschen/phpgeo

Simple Yet Powerful Geo Library

1.6k9.3M27](/packages/mjaschen-phpgeo)[php-coord/php-coord

PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points.

109966.2k12](/packages/php-coord-php-coord)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
