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.3.1.tar.gz
(24.3 kB
view details)
File details
Details for the file pyepsg-0.3.1.tar.gz
.
File metadata
- Download URL: pyepsg-0.3.1.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74ca256eaef0431a6f819069fbf0afae0ea32a816ad73df69ba09d1ff1d8d928 |
|
MD5 | 930bcf025713f7d257b24092a85f16e5 |
|
BLAKE2b-256 | 64cba3328e9e06b59e01cde2e1a34ef585f1781f7c203f891072de5ad2666c82 |