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






      Convert a txtdb file (or structure) with lon, lat, pen code to a kml file.


Calling Sequence

      llpen2kml, txtdb_file


      txtdb_file = Name of txtdb file with data. in
        Must have lon and lat and may have pen, color, width,
        pname, and pdesc under those names. If pen is given must
        have same number as lon and lat. color, width, pname,
        and pdesc are all optional and may be scalars or arrays
        with same number of elements as sections (0s in pen).
        May give a structure with the same values instead of a
        txtdb file name.

Keyword Parameters


        NAME=nam Name displayed in Google Earth (def=file name).
          Also used as output file name if given a structure.
        COLOR=clr Give Google Earth color string for track color.
          Def=3-D friendly yellow. Use clr=tarclrge(...).
        WIDTH=wid Width of curve(s) (def=1).
        PNAME=pnam Section Name shown in Google Earth (def=000).
        PDESC=pdes Section description shown in Google (Def=Curve).


Common Blocks


      Notes: Writes out kml and kmz files in current directory.

Modification History

      R. Sterner, 2009 Aug 11 from shape2kml.pro written for the AT.
  Copyright (C) 2009, 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