Skip to main content

Python constants with EPSG numbers for coordinate reference systems, based on EPSG dataset v10.011

Project description

EPSG constants

This Python package simply provides one Python class 'EpsgNumber' with lots of EPSG constants (which are used for defining coordinate reference systems).
Those constants can be used for getting intellisense help, for example when using Visual Studio Code or PyCharm.

Visual Studio Code:
VScode

PyCharm:
PyCharm

Usage example

# pip install epsg-constants
from epsg_constants.epsg_number import EpsgNumber

print("EpsgNumber WGS84 : " + str(EpsgNumber.WORLD__WGS_84__4326))
print("EpsgNumber SWEREF99TM : " + str(EpsgNumber.SWEDEN__SWEREF99_TM__3006))

License information

The Python class with constants in this package was generated based on data from EPSG Dataset.
It is released with license MIT.

Regarding the EPSG data: Ownership of the EPSG Dataset by IOGP is acknowledged as in the Terms of Use

Some quotes from the above linked webpage 'Terms of use':

"... The EPSG Facilities are published by IOGP at no charge. Distribution for profit is forbidden ... Ownership of the EPSG Dataset by IOGP must be acknowledged ... "

Version information

When the Python class was generated, the EPSG dataset version 10.011 was used.
The EPSG version number is also used for the major/minor (10.11) numbers of this pypi package.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epsg-constants-10.11.0.tar.gz (463.1 kB view hashes)

Uploaded Source

Built Distribution

epsg_constants-10.11.0-py2.py3-none-any.whl (235.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page