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






      Draw a quick map.


Calling Sequence

      qmap, lat, lon


      lat, lon = Latitude, Longitude of map center. in

Keyword Parameters


        SCALE=sc Map scale (def=4E7).
        /GRID Add a coordinate grid.
        TITLE=ttl Optional map title.
        SUBTITLE=sttl Optional map subtitle title.
        PNG=png Name of PNG image to save map in.
        /HIRES Use high resolution coastlines.
        BGCOLOR=bgclr 24 bit Background color (def=white).
        CRAD=rad Radius of an optional circle to plot.
          Radius is in m by default but if rad is a string the
          units may follow and be nmiles, miles, km, meters,
          m, yards, feet. May be an array of radii.
        CCOLOR=cclr Optional array of 24-bit colors for circle,
          one for each radii (def=red).
        ALON=alon, ALAT=alat Optional area definition.
          If alon and alat have 1 element:
            Center of a circle of radius crad (def is
              lon, lat if CRAD is given).
          If alon and alat have 2 elements:
            Box defined by alon=[min_lon,max_lon],
              alat=[min_lat, max_lat].
          If alon and alat have 3 or more elements:
            Polygon defined by alon=[lon1,lon2,...,lonn],
            Last point assumed to connect to first point.
        IMAGE=img Image to display on map. Assumed global.
        /CBAR Display color bar using last absolute color table.
          Call act_apply before calling qmap to set up the color
          table. Displays default bar range. May also set range:
        CBAR=[vmin,vmax] Display bar with the range vmin to vmax.
        CBTITLE=cbttl Title for color bar.
        /EXISTS Use existing window, else make a window.
        WINDOW=[nx,ny] Give size for a new window.


Common Blocks


      Notes: Map is plotted using othographic projection and
        default colors.

Modification History

      R. Sterner, 2012 Jan 31
      R. Sterner, 2012 Feb 12 --- Added IMAGE=img.
      R. Sterner, 2012 Feb 12 --- Added Box and Polygon areas.
      R. Sterner, 2012 Feb 13 --- Added /EXIST keyword.
      R. Sterner, 2012 Mar 06 --- Added TITLE=ttl, /CBAR, CBTITLE=cbttl.
      R. Sterner, 2012 Mar 07 --- Added WINDOW=[nx,ny].
      R. Sterner, 2012 Mar 07 --- Added SUBTITLE=sttl.
      R. Sterner, 2012 Mar 08 --- Made title and subtitle size adaptive.
      R. Sterner, 2012 May 08 --- Allow an array of circle radii.
      R. Sterner, 2012 Oct 16 --- Allow color bar min, max.
      R. Sterner, 2012 Nov 01 --- Fixed cbar error if none requested.
      R. Sterner, 2012 Nov 01 --- Added background color.
      R. Sterner, 2013 Mar 05 --- Added new keyword BSPACE.
  Copyright (C) 2012, 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