Help for this page

Select Code to Download


  1. or download this
    $ curl -s 'https://nationalmap.gov/epqs/pqs.php?units=Meters&output=js
    +on&x=-83.65&y=41.37' | jq '.USGS_Elevation_Point_Query_Service.Elevat
    +ion_Query.Elevation'
    212.77
    $
    
  2. or download this
    2020/06/23 15:26:07 INFO ./5.2.elev.pl 
    2020/06/23 15:26:07 INFO {
      "USGS_Elevation_Point_Query_Service" => {
    ...
    2020/06/23 15:26:08 INFO https://api.weather.gov/gridpoints/CLE/16,52 
    2020/06/23 15:26:08 INFO ============== 
    2020/06/23 15:26:08 INFO 213.0552 wmoUnit:m
    
  3. or download this
    #!/usr/bin/env perl
    
    use strict;
    ...
    $logger->info( $elev2 . ' '. $unit);
    
    __END__