Metadata-Version: 1.1
Name: lat-lon-parser
Version: 1.1.0
Summary: simple parser for latitude-longitude strings
Home-page: https://github.com/ChrisBarker-NOAA/lat_lon_parser
Author: Christopher Barker
Author-email: Chris.Barker@noaa.gov
License: UNKNOWN
Description: ##############
        lat_lon_parser
        ##############
        
        Code for parsing lat-long coordinates in "various" formats
        
        Note: perhaps it would be better to integrate this with a more full featured lib like:
        
        https://pypi.python.org/pypi/LatLon23
        
        But that one does not seem to support parsing unknown formats at this point -- and it's GPL, and perhaps a littel more complex and structured than it needs to be.
        
        Formats supported:
        ==================
        
        Decimal degrees (easy)::
        
           23.43
           -45.21
        
        Decimal Degrees with quadrant::
        
           23.43 N
           45.21 W
        
        Degrees, decimal minutes: (now it starts getting tricky!)::
        
          23° 25.800'
          -45° 12.600'
        
        or::
        
          23 25.800'
          -45 12.600'
        
        or::
        
          23° 25.8' N
          45° 12.6' W
        
        Degrees, Minutes, Seconds: (really fun!!!)::
        
           23° 25' 48.0"
          -45° 12' 36.0"
        
        or::
        
           23d 25' 48.0"
          -45d 12' 36.0"
        
        or::
        
          23° 25' 48.0" N
          45° 12' 36.0" S
        
        or -- lots of other combinations!
        
        Adding to the options:
        ======================
        
        This uses a pretty "stupid" algorithm -- it assumes that all formats will be something like:
        
        degrees [separator] minutes [separator] seconds [separtor] [N|S|E|W]
        
        But that actually is pretty darn robust!
        
        If you have other formats you want to be able to parse, please contribute tests! -- And ideally a patch if the current code doens't work.
        
        
        
        
Keywords: l,a,t,_,l,o,n,_,p,a,r,s,e,r
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
