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






      Plot a circle on a map and list its parameters.


Calling Sequence

      mapcirc, lng, lat, rad


      lng = longitude (degrees) of circle center. in
      lat = latitude (degrees) of circle center. in
      rad = radius of circle. in
      UNITS=unt Units of radius:
        'kms' Default.
        'miles' Statute miles.
        'nmiles' Nautical miles.
        'feet' Feet.
        'yards' Yards.
        'degrees' Degrees (great circle).
        'radians' Radians (great circle).
      /NOPLOT do not plot circle.
      /NOLIST do not list parameters of circle.
      COLOR=clr Plot color (def=!p.color).
      THICKNESS=thk Plot thickness (def=!p.thick).
      LINESTYLE=sty Plot linestyle (def=!p.linestyle).
      /FILL Fills circle with given color (covers inside).
      AREA=area Returned area of circle in pixels.

Keyword Parameters


Common Blocks


      Notes: Besides plotting circles this routine is
        Useful for determining how well shape is preserved
        in various regions of the map or between various maps.

Modification History

      R. Sterner, 1996 Feb 4
      R. Sterner, 2010 Jun 07 --- Converted arrays from () to [].
  Copyright (C) 1996, 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.

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