>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  LLSIGNED

LLSIGNED

LLSIGNED

Name


      LLSIGNED

Purpose


      Give signed lat or long given deg min sec (dms) text.

Category


Calling Sequence


      v = llsigned(txt)

Inputs


      txt = text string with lat or long. in

Keyword Parameters


Outputs


      v = returned signed value. out

Common Blocks


Notes


      Note: lat or long may have N, S, E, or W
        in the string, case ignored. If no such letter
        then the string is assumed to be signed already.
        Some example inputs:
        '-33 27 15.2','33 27 15.2 S','S33 27 15.2','S 33 27 15.2'
        '-33.454222','33.454222 S','33.454222S','33S 27 15.2'
        all give the same result.

Modification History


      R. Sterner, 2004 Sep 08
      R. Sterner, 2006 Aug 29 --- More help. Upgraded for D M S form.
      R. Sterner, 2008 Mar 21 --- Handled units better.
      R. Sterner, 2008 May 06 --- Fixed a few problems.
      R. Sterner, 2010 May 03 --- Now allows arrays.
      R. Sterner, 2012 Jan 20 --- Return a scalar for a single value.
  Copyright (C) 2004, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us