This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Versionskontrolle: | |
- Produkt: Ergebnis eines Herstellungsprozesses | |
- Produktlinie: Menge verwandter Produkte | |
- Software-Element: | |
- Bestandteil von Produkt/Produktlinie | |
- Eindeutig identifiziertbar durch systemweiten Bezeichner | |
- Änderung am Software-Element resultiert in Bezeichner-Änderung | |
- Arten: | |
- Quellelement: Manuell generiert | |
- Abgeleitetes Element: Automatisch generiert |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import namedtuple | |
GPS = namedtuple("GPS", ["latitude", "longitude", "altitude"]) | |
__CARDINALS = {"N": 1, "S": -1, "E": 1, "W": -1} | |
def __parse_geo_location(geo_location, degree_digits, cardinal): | |
""" | |
Parses a geographic location into degrees, | |
geo_location being the location to parse, |