Skip to main content

Easy access to the EPSG database via http://epsg.io/

Project description

Build Status

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.3.2.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

pyepsg-0.3.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file pyepsg-0.3.2.tar.gz.

File metadata

  • Download URL: pyepsg-0.3.2.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyepsg-0.3.2.tar.gz
Algorithm Hash digest
SHA256 597ef8c0e8c1be3db8f68c5985bcfbbc32e22f087e93e81ceb03ff094898e059
MD5 b0644187068a9b58378a5c58ad55b991
BLAKE2b-256 7c30ba0287bc6df1b1d9b37d4bd9a19d92f534f6957aab30afa167861426e4f2

See more details on using hashes here.

File details

Details for the file pyepsg-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: pyepsg-0.3.2-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

Hashes for pyepsg-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a7f91263ed171586b6c502d22474af3870a87487f327324e93ae2e0ac6e63775
MD5 4e80ae2a01069a150fc0b12993285da4
BLAKE2b-256 1f85d0206d40f74d56c9328d646d04071d429df087bb1f7d1ee0c39accc1e0af

See more details on using hashes here.

Supported by

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