Skip to main content

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.5 (2019-07-01)

  • Update license clause to SPDX format

0.1.4 (2019-06-28)

  • Add support for negative altitudes (thanks @pistatium!)

  • Bumped development versions for security fixes

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


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

Uploaded Source

Built Distribution

iso6709-0.1.5-py2.py3-none-any.whl (3.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file iso6709-0.1.5.tar.gz.

File metadata

  • Download URL: iso6709-0.1.5.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/3.7.3

File hashes

Hashes for iso6709-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ae482a0ad700ae1496eb9f86b4e23b203b9b947513877938bbe26581c6864aa3
MD5 56ac57a760875d12970adaba26aae93c
BLAKE2b-256 2442388ae6a54a8b6085de53fb66d114d06389d2a9f5e83198ea5559f4d74923

See more details on using hashes here.

File details

Details for the file iso6709-0.1.5-py2.py3-none-any.whl.

File metadata

  • Download URL: iso6709-0.1.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/3.7.3

File hashes

Hashes for iso6709-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f05621ad20571ffc9d47c3498c8dceb3473ab1fb540192ecd282b9ec760e66af
MD5 bb3f5cf2007c2f1227d6f8854d3f6bb3
BLAKE2b-256 8ff95b788bce702b4f99c4181abb7882f11b58ef77e28805c148e1513959e66f

See more details on using hashes here.

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