Easy access to the EPSG database via http://epsg.io/
Project description
A simple interface to http://epsg.io/
For example, we can request the details for the projected coordinate system identified by EPSG code 21781, aka. “Swiss CH1903 / LV03”:
>>> projection = pyepsg.get(21781) >>> projection <ProjectedCRS: 21781, CH1903 / LV03> >>> projection.domain_of_validity() [5.97, 10.49, 45.83, 47.81] >>> projection.cartesian_cs.axes [<Axis: east / metre>, <Axis: north / metre>]
Projected and geodetic coordinate systems can also be converted to various other forms:
>>> print(projection.as_proj4()[:70] + '...') +proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +k_0=1 ... >>> print(projection.as_wkt()[:70] + '...') PROJCS["CH1903 / LV03",GEOGCS["CH1903",DATUM["CH1903",SPHEROID["Bessel...
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
pyepsg-0.4.0.tar.gz
(24.2 kB
view details)
Built Distribution
File details
Details for the file pyepsg-0.4.0.tar.gz
.
File metadata
- Download URL: pyepsg-0.4.0.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.3 setuptools/33.1.1.post20170320 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d08fad1e7a8b47a90a4e43da485ba95705923425aefc4e2a3efa540dbd470d7 |
|
MD5 | 08ef19e2a8cdfc321b977e5e888616ee |
|
BLAKE2b-256 | 158878cbedccbf89ac2afbf02f54463bfecbd7908362c43766fc058c1dcab9cf |
File details
Details for the file pyepsg-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: pyepsg-0.4.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.3 setuptools/33.1.1.post20170320 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecb29d351f66221d951989f7443f747be0b078162e71384c96612764e18265eb |
|
MD5 | ea30bc7bfde7a93ddc06468b36696a0a |
|
BLAKE2b-256 | ea193f735df5ce32162c761bdb1b984319061294b2f140336dec6053dd3e913e |