The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

TITLE

usgs_ele - Interactive script to access USGS elevation data

SYNOPSIS

 usgs_ele
 usgs_ele> help
 usgs_ele> exit

OPTIONS

None.

DETAILS

This is an interactive Perl script to access the USGS elevation data.

Possible commands:

attributes

This command lists the names and values of all Geo::WebService::Elevation::USGS attributes.

exit

This command terminates this script. End-of-file also works.

get

 usgs_ele> get units

This command displays the value of the attribute named in the command.

getAllElevations

 usgs_ele> getAllElevations lat lon

This command displays all available elevation values for the given latitude and longitude. The latitude and longitude are in degrees, with south latitude and west longitude being negative.

getElevation

 usgs_ele> getElevation lat lon

This command displays the 'best' elevation value for the given latitude and longitude. The latitude and longitude are in degrees, with south latitude and west longitude being negative.

help

This command displays this text.

new

This command creates a new Geo::WebService::Elevation::USGS object.

show

 usgs_ele> show
 usgs_ele> show retry

This command displays the values of the named attributes. If no attribute names are given, all are displayed.

set

 usgs_ele> set units METERS

This command sets the given attribute to the given value. The value is not case-sensitive, and bogus values are equivalent to 'Feet'.

sources

 usgs_ele> sources Elev_DC_Washington Elev_DE_SussexCounty

This command sets the source attribute to a reference to an array containing its arguments.

throttle

This command displays (without an argument) or changes (with an argument) the value of $Geo::WebService::Elevation::USGS::THROTTLE.

time

 usgs_ele> time elevation 40 -90

This pseudo-command takes as its arguments a real command, executes it, and displays the time elapsed.

AUTHOR

Thomas R. Wyant, III wyant at cpan dot org

COPYRIGHT AND LICENSE

Copyright (C) 2008-2019 by Thomas R. Wyant, III

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.