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 Distributions

pyepsg-0.1.0.zip (20.1 kB view details)

Uploaded Source

pyepsg-0.1.0.tar.gz (18.0 kB view details)

Uploaded Source

pyepsg-0.1.0.tar.bz2 (16.0 kB view details)

Uploaded Source

File details

Details for the file pyepsg-0.1.0.zip.

File metadata

  • Download URL: pyepsg-0.1.0.zip
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyepsg-0.1.0.zip
Algorithm Hash digest
SHA256 1fa87bf06f369bf863073389e740a83611c24eb4d75e414f561279eb12540bb5
MD5 ad3b95cdbc2b6387c1f7722e6ff346b3
BLAKE2b-256 abe8cbf4dc5ae241775ea9b74d4b71b8fef71c11a1dd0e8d0a9447d29618a30b

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for pyepsg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 63c9f8452e724bea0d8afbf91f50f629865f60ea2b0e069226d55b00925d049f
MD5 a37619122d735d04fe73aa56cd0d6f3e
BLAKE2b-256 9aeb7519e220d766245bf8e506e9a2b8edbd3c74ed8dced694cbe0cb8498b6e2

See more details on using hashes here.

Provenance

File details

Details for the file pyepsg-0.1.0.tar.bz2.

File metadata

  • Download URL: pyepsg-0.1.0.tar.bz2
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyepsg-0.1.0.tar.bz2
Algorithm Hash digest
SHA256 877ff85b3be01c467ed07dc2e42f2e46a0ae2e0fdb69c4b1480649de9ce32a55
MD5 1f7c8bc5dff775c928d2ce7862aa30b1
BLAKE2b-256 51363e3323be36aa8a1708de8b54bb8dc4832a3080bc75b6239389dadd006318

See more details on using hashes here.

Provenance

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