A library for parsing ISO6709 format Degree Minute Second style coordinates.
Project description
ISO 6709
This is a package for converting ISO6709 formatted strings into decimal representation.
Formats
This library supports the following DMS formats:
±DD.DDDD±DDD.DDDD/ - Latitude and Longitude in Degrees
±DDMM.MMMM±DDDMM.MMMM/ - Latitude and Longitude in Degrees and Minutes
±DDMMSS.SSSS±DDDMMSS.SSSS/ - Latitude and Longitude in Degrees, Minutes and Seconds
As well as the standard altitude/height suffix: +AAAA
Usage
>>> from iso6709 import Location >>> loc = Location('+27.5916+086.5640+8850/') # Mount Everest >>> print (loc.lat.degrees, loc.lng.degrees, loc.alt 27.5916 86.5640 8850
Changelog
0.1.3 (2017-08-25)
Fix an issue where rst files weren’t included in source pkg.
0.1.2 (2017-08-25)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
iso6709-0.1.3.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for iso6709-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f1d14d26ba886cc9b7c21511e608224b2a931b7af04f3bfb841e0fc7528e28b |
|
MD5 | a0585111c3da93379989080108599f78 |
|
BLAKE2b-256 | 9b0ef2ec0f5081ad14b5a713443bfa32e7e975a1f5b00bb5b5616149f74e0bc4 |