Metadata-Version: 2.1
Name: pyrdnap
Version: 26.5.9
Summary: Pure Python RD NAP 2018 conversions
Home-page: https://GitHub.com/mrJean1/PyRDNAP
Author: Jean M. Brouwers
Author-email: mrJean1@Gmail.com
Maintainer: Jean M. Brouwers
Maintainer-email: mrJean1@Gmail.com
License: MIT
Keywords: NAP Normal-Amsterdams-Peil RD RijksDriehoeksmeting
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Topic :: Software Development
Classifier: Topic :: Scientific/Engineering :: GIS
Requires-Dist: pygeodesy>=26.5.9


=======
PyRDNAP
=======

A pure Python implementation of the 2018 version of the Netherlands\' RD_ (**R**\ ijks\ **D**\ riehoeksmeting)
and NAP_ (**N**\ ormaal **A**\ msterdams **P**\ eil) systems to convert geodetic GRS80 (ETRS89)
lat-, longitudes and heights to local *RD* coordinates and *NAP quasi-geoid-height* and vice-versa.

``PyRDNAP`` includes two transformer classes ``RDNAP2018v1`` and ``RDNAP2018v2`` implementing
*variant 1* respectively *variant 2* of the ``RD NAP 2018`` specification.  Each class provides a
``forward`` method to convert from ``geodetic`` lat-, longitude and height to RDx, RDy and NAPh and
a ``reverse`` method to convert RDx, RDy and NAPh to ``geodetic`` lat-, longitude and height.

For further details see the documentation_.


Note
====
``PyRDNAP``, ``pyrdnap`` and ``RDNAP2018v1`` have **not been formally validated** and are
**not certified** to carry the trademark_ name `RDNAPTRANS(tm)`_.

However, transformer class ``RDNAP2018v1`` does meet the ``RDNAPTRANS(tm)2018_v220627`` self-validation
requirements for all tests within the ``RD`` region.  ``RDNAP2018v2`` does not and is not required to.


Installation
============

To install ``pyrdnap``, type ``python[3] -m pip install pyrdnap`` or ``python[3] -m easy_install pyrdnap``
in a terminal or command window.

Alternatively, download ``pyrdnap-yy.m.d.tar.gz`` from PyPI_ or GitHub_, ``unzip`` the downloaded file,
``cd`` to directory ``pyrdnap-yy.m.d`` and type ``python[3] setup.py install``.

To run the ``pyrdnap`` tests, type ``python[3] test/run.py`` or type ``python[3] test/unitTestSuite.py``
before or after installation.

Dependencies
============

Installation of Python package pygeodesy_ is required, version 26.5.9 or newer.

Documentation
=============

In addition to the ``pyrdnap`` package, the pyrdnap_ `distribution files`_ contain the tests, the
test results (on macOS only) and the complete documentation_ generated by Epydoc_ using command line:
``epydoc --html --no-private --no-source --name=pyrdnap --url=... -v pyrdnap``.

Tests
=====

The tests ran with Python 3.14.4, 2.7.18 and with PyPy 7.3.17 (Python 3.10.14), all with pygeodesy_
26.5.9 and on macOS 26.4.1 Tahoe in 64-bit.  The results of those tests are included in the
distribution files.

Python 3.14.4 runs on Apple M4 Si (``arm64``), *natively*.  Python 2.7.18 runs on Intel (``x86_64``)
or Intel *emulation* (\"``arm64_x86_64``\", see function `pygeodesy.machine`_).

Test coverage has been measured with coverage_ 7.10.7 using Python 3.14.4.  The complete coverage
report in HTML and a PDF summary are included in the distribution files.

The tests also ran with Python 3.14.4 on `Debian 12`_ and on `Windows 2019Server`_ and with Python
3.13.3 on Windows 11, all in 64-bit only.

Notes
=====

All Python source code has been statically checked_ with Ruff_ using Python 3.13.12 and with
PyChecker_, PyFlakes_, PyCodeStyle_ (formerly Pep8) and McCabe_ using Python 2.7.18, both in
64-bit on macOS 26.4.1 Tahoe only.

*Last updated: May 09, 2026.*

License
=======

**Copyright (C) 2026-2026 -\- mrJean1 at Gmail -\- All Rights Reserved.**

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions
of the Software.

THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

.. image:: https://Img.Shields.io/pypi/pyversions/pyrdnap.svg?label=Python
  :target: https://PyPI.org/project/pyrdnap
.. image:: https://Img.Shields.io/pypi/v/pyrdnap.svg?label=PyPI
  :target: https://PyPI.org/project/pyrdnap
.. image:: https://Img.Shields.io/appveyor/ci/mrJean1/PyRDNAP.svg?branch=master&label=AppVeyor
  :target: https://CI.AppVeyor.com/project/mrJean1/PyRDNAP/branch/master
.. image:: https://Img.Shields.io/cirrus/github/mrJean1/PyRDNAP?branch=master&label=Cirrus
  :target: https://Cirrus-CI.com/github/mrJean1/pyrdnap
.. image:: https://Img.Shields.io/badge/coverage-92%25-brightgreen
  :target: https://GitHub.com/mrJean1/PyRDNAP/blob/master/testcoverage.pdf
.. image:: https://Img.Shields.io/pypi/wheel/pyrdnap.svg
  :target: https://PyPI.org/project/pyrdnap/#files
.. image:: https://Img.Shields.io/pypi/l/pyrdnap.svg
  :target: https://PyPI.org/project/pyrdnap
.. image:: https://img.shields.io/pypi/dm/pyrdnap
  :target: https://PyPI.org/project/pyrdnap

.. _checked: https://GitHub.com/ActiveState/code/tree/master/recipes/Python/546532_PyChecker_postprocessor
.. _coverage: https://PyPI.org/project/coverage
.. _Debian 12: https://Cirrus-CI.com/github/mrJean1/pyrdnap/master
.. _distribution files: https://GitHub.com/mrJean1/PyRDNAP/tree/master/dist
.. _documentation: https://mrJean1.GitHub.io/PyRDNAP
.. _EPSG: https://EPSG.org
.. _Epydoc: https://PyPI.org/project/epydoc
.. _GitHub: https://GitHub.com/mrJean1/PyRDNAP
.. _GitHub/dist: https://GitHub.com/mrJean1/PyRDNAP/tree/master/dist
.. _main: https://GitHub.com/mrJean1/PyRDNAP/blob/main/docs/pyrdnap.__main__-module.html
.. _McCabe: https://PyPI.org/project/mccabe
.. _MIT License: https://OpenSource.org/licenses/MIT
.. _NAP: https://www.NSGI.NL/coordinatenstelsels-en-transformaties/coordinatentransformaties/rdnap-etrs89-rdnaptrans
.. _PyChecker: https://PyPI.org/project/pychecker
.. _PyCodeStyle: https://PyPI.org/project/pycodestyle
.. _PyFlakes: https://PyPI.org/project/pyflakes
.. _pygeodesy: https://PyPI.org/project/pygeodesy
.. _pygeodesy.machine: https://mrJean1.GitHub.io/PyGeodesy/docs/pygeodesy.internals-module.html#machine
.. _PyPI: https://PyPI.org/project/pyrdnap
.. _PyPI Download files: https://PyPI.org/project/pyrdnap/#files
.. _PyPy: https://formulae.brew.sh/formula/pypy3.10
.. _pyrdnap: https://PyPI.org/project/pyrdnap
.. _RD: https://www.NSGI.NL/coordinatenstelsels-en-transformaties/coordinatentransformaties/rdnap-etrs89-rdnaptrans
.. _rdnap2018: https://GitHub.com/mrJean1/PyRDNAP/blob/main/docs/pyrdnap.rdnap2018-module.html
.. _RDNAPTRANS(tm): https://formulieren.kadaster.nl/aanvragen_rdnaptrans
.. _Ruff: https://GitHub.com/astral-sh/ruff
.. _trademark: https://GitHub.com/nsgi-community
.. _Windows 2019Server: https://CI.AppVeyor.com/project/mrJean1/pyrdnap
