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

SHAPEFILE_PTS

SHAPEFILE_PTS

Name


      SHAPEFILE_PTS

Purpose


      Return data points from a shape file.

Category


Calling Sequence


      shapefile_pts, file, lng, lat, pen

Inputs


      file = Name of shape file. in

Keyword Parameters


Keywords


        TYPE=typ Shape file type: 3=Polyline, 5=Polygon.
        BBOX=bbox returned bounding box of data.
          bbox=[min_lng, max_lng, min_lat, max_lat]
        CFCC=cfcc Returned Census Feature Class Code.
        PREFIX=prefix CFCC prefix stripped from CFCC.
          Like A for roads, H for hydro ...
        ERROR=err Error flag. 0=ok.

Outputs


      lng, lat = Returned arrays of long and lat. out
      pen = Returned pen code when needed. out
        0=pen up, 1=pen down.

Common Blocks


Notes


Modification History


      R. Sterner, 2004 Aug 02
      R. Sterner, 2004 Oct 26 --- Added cfcc. Also DestroyEntity.
      R. Sterner, 2004 Oct 27 --- Returned error flag.
      R. Sterner, 2014 May 20 --- Converted array () to [].
  Copyright (C) 2004, 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