Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- mainatlas4kml

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
mainatlas4kml
Synopsis
/infobank/programs/kml/atlas4kml/mainatlas4kml.for
Description
  Program to create virtual globe presentation of 

  InfoBank Atlas areas.
       
Author
  Clint Steele    1/11/2008


    
Reads
          read (89, '(q,a)', end = 98)
     *        ALineLength, ALine(1:ALineLength)
Writes
      write (Blank, '(80x)')
          write (88, '(a)') ALine(Tab(8)+1:Tab(9)-1)//
     *        char(9)//ALine(1:Tab(8)-1)//
     *        ALine(Tab(9):ALineLength)//
     *        char(9)//char(9)//char(9)//char(9)
      write (OutUnit, '(a)') Blank(1:Level)//
     *    '<?xml version="1.0" encoding="UTF-8"
      write (OutUnit, '(a)') Blank(1:Level)//
     *     '<kml xmlns="http://earth.google.com/kml/2.0
      write (OutUnit, '(a)') Blank(1:Level)//'<Documen
      write (OutUnit, '(a)') Blank(1:Level)//'<name>Atlas Areas&l
      write (OutUnit, '(a)') Blank(1:Level)//'<LookA
      write (OutUnit, '(a)') 
     *    Blank(1:Level)//'<longitude>-113.33</lo
      write (OutUnit, '(a)') 
     *    Blank(1:Level)//'<latitude>41.1</l
      write (OutUnit, '(a)') 
     *    Blank(1:Level)//'<altitude>3800000.</a
      write (OutUnit, '(a)') 
     *    Blank(1:Level)//
     *    '<altitudeMode>relativeToGround</altit
      write (OutUnit, '(a)') Blank(1:Level)//'<range>10800000.<
      write (OutUnit, '(a)') Blank(1:Level)//'<tilt>0&l
      write (OutUnit, '(a)') Blank(1:Level)//'<heading>0</
      write (OutUnit, '(a)') Blank(1:Level)//'</LookA
      write (OutUnit, '(a)') Blank(1:Level)//'<open>1&l
      write (OutUnit, '(a)') Blank(1:Level)//'</Folder>'  ! limit 
      write (OutUnit, '(a)') Blank(1:Level)//'</Folder>'  ! area 
      write (OutUnit, '(a)') Blank(1:Level)//'</Documen
      write (OutUnit, '(a)') Blank(1:Level)//'</km
Opens
      open (unit = 89,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/programs/keep/gazette.keep')
      open (unit = 88,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/infobank/tmp/atlas4kml.gazette.temp')
      open (unit = InUnit,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'old',
     *      name = '/infobank/tmp/atlas4kml.temp')
      open (unit = OutUnit, 
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/infobank/programs/kml'//
     *             '/atlas4kml/atlas4kml.kml')
Calls
      call system ('/bin/sort '//
     *             '/infobank/tmp/atlas4kml.gazette.temp '//
     *             '> /infobank/tmp/atlas4kml.tem
      call system ('/bin/rm '//
     *             '/infobank/tmp/atlas4kml.gazette.temp')
      call includeit (OutUnit,
     *    '/infobank/programs/keep/infobank_style.keep')
      call areasfolder (InUnit, OutUnit, Level)
      call limitsfolder (InUnit, OutUnit, Level)
      call kmlzip 
     *  ('/infobank/programs/kml/atlas4kml/atlas4kml.kml')

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/kml/atlas4kml/mainatlas4kml.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:39:03 PDT 2013  (chd)