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

ELL_MERC

ELL_MERC

Name


      ELL_MERC

Purpose


      Mercator projection on an ellipsoid, forward and inverse.

Category


Calling Sequence


      ell_merc, p1, p2

Inputs


      p1,p2 = Values to be converted. in
        Either lng,lat or x,y.

Keyword Parameters


Keywords


        X=x,Y=y Convert given lng,lat to x,y and return.
        LNG=lng,LAT=lat Convert given x,y to lng,lat and return.
        SCALE=sc Map scale (def=1:1).
        CLNG=lng0 Central longitude (def=0).
        MAP_A=smj Returned value for the semimajor axis
          of the map. Includes scale.

Outputs


Common Blocks


Notes


      Notes: Algorithms from John Snyder,
      Map Projections - A Working Manual.
      Use ellipsoid,set=name to set working ellipsoid.

Modification History


      R. Sterner, 2002 Apr 08
      R. Sterner, 2002 May 01 --- Generalized the ellipsoid.
      R. Sterner, 2010 May 04 --- Converted arrays from () to [].
  Copyright (C) 2002, 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.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us