Skip to content

A generated class with lots of Python EPSG constants (used for specifying Coordinate Reference Systems).

License

Notifications You must be signed in to change notification settings

TomasJohansson/epsg_constants_4python

Repository files navigation

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.

About

A generated class with lots of Python EPSG constants (used for specifying Coordinate Reference Systems).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published