https://github.com/tomasjohansson/epsg_constants_4python
A generated class with lots of Python EPSG constants (used for specifying Coordinate Reference Systems).
https://github.com/tomasjohansson/epsg_constants_4python
coordinate crs epsg reference systems
Last synced: 10 months ago
JSON representation
A generated class with lots of Python EPSG constants (used for specifying Coordinate Reference Systems).
- Host: GitHub
- URL: https://github.com/tomasjohansson/epsg_constants_4python
- Owner: TomasJohansson
- License: other
- Created: 2021-04-08T21:56:11.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-09-01T06:51:01.000Z (almost 4 years ago)
- Last Synced: 2025-03-13T02:46:50.466Z (about 1 year ago)
- Topics: coordinate, crs, epsg, reference, systems
- Language: Python
- Homepage:
- Size: 461 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
# 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:

PyCharm:

## Usage example
```python
# 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](https://github.com/TomasJohansson/crsTransformations/tree/master/crs-transformation-code-generation) based on data from [EPSG](https://epsg.org/) 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](https://epsg.org/terms-of-use.html)
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.