org.autoplot.imagedatasource.Util

Util( )


parseGPSString

parseGPSString( String s ) → double

returns 45.50833333333333 from 45deg30'30", where the text "deg" is a placeholder for the unicode degree symbol (its not replicated here since non-ASCII characters choke some development tools)

Parameters

s - a GPS coordinate with degrees minutes and seconds

Returns:

decimal version of string

[search for examples] [view on GitHub] [view on old javadoc]