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






      Plot given shape file on current map.


Calling Sequence

      plotshape, file


      file = name of shape file. in

Keyword Parameters


        NUMBER=num Returned number of entities in file.
        COLOR=clr Plot color. May be an array with a color
          for each entity.
        OCOLOR=oclr Outline color if needed. Def=none.
        THICK=thk Line thickness.
        LINESTYLE=lsty Line style.
        /NOPLOT means do not plot data.
        ERROR=err Error flag: 0=ok.
        /QUIET fewer messages.
        /DEVFILL before plotting polygons first convert from
          data to device coordinates, then fill. polyfill
          sometimes fails, this might work.
        LABEL=att_num Attribute # of label text.
        LABCLR=lclr, LABTHK=lthk, LABSIZ=lsiz, LABANG=lang,
          Label color, thickness, size, angle.
        LABXOFF=xoff, LABYOFF=yoff label offsets in deg (def=0).
        DX=dx Offset degrees to add to longitude (def=0).
        DY=dy Offset degrees to add to latitude (def=0).


Common Blocks


      Note: shape file is the standard GIS shape file.

Modification History

      R. Sterner, 2003 Mar 24
      R. Sterner, 2003 Sep 08 --- Added keyword /DEVFILL.
      R. Sterner, 2003 Sep 09 --- Added polyline, thick=thk.
      R. Sterner, 2004 Apr 05 --- Fixed loop limit.
      R. Sterner, 2004 Apr 15 --- Added noclip=0 to outlines.
      R. Sterner, 2004 Apr 19 --- Added noclip=0 to polylines.
      R. Sterner, 2004 Apr 19 --- Added noclip=0 to polyfill.
      R. Sterner, 2004 Aug 02 --- New keyword /QUIET.
      R. Sterner, 2004 Nov 01 --- Added DestroyEntity.
      R. Sterner, 2004 Nov 01 --- Added label, but needs work.
      R. Sterner, 2005 Feb 21 --- Added new keywords: DX=dx, DY=dy.
      R. Sterner, 2010 May 12 --- Converted arrays from () to [].
  Copyright (C) 2003, 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