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






      Embed map coordinates info in image.


Calling Sequence



Keyword Parameters


        MAG=mag Modify info byte array for an image size change.
          The info will be modified each time this keyword is used,
          even if it is not embedded.
        /NOEMBED Do not embed scaling info in image.
        INFO=info Returned scaling info byte array.
        /LIST List values in info array.
        ERROR=err Error flag: 0=ok.


Common Blocks



      Notes: Must use map_set2 to do the map command.
        Works just like map_set but keeps track of info
        needed to restore map projection at a later time
        and packs it into 160 bytes. map_put_scale embeds
        this info in a map image using 160 pixels along the
        bottom left of the image (blue channel for color images).
        Must protect this info from any processing done
        to the image.

Modification History

      R. Sterner, 2002 Jan 18
      R. Sterner, 2003 Sep 22 --- Added error flag.
      R. Sterner, 2004 Jun 21 --- Supported Z buffer.
      R. Sterner, 2006 Oct 09 --- Added MAG=mag.
      R. Sterner, 2006 Nov 07 --- Fixed /LIST keyword.
      R. Sterner, 2009 Oct 19 --- Added a call to empty.
  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.

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