Geo::GoogleEarth::Pluggable::Contrib::Point(3pm)

Geo::GoogleEarth::Pluggable::Contrib::Point3pm

Geo::googleearth::pluggable point object

Usage

  use Geo::GoogleEarth::Pluggable;
  my $document=Geo::GoogleEarth::Pluggable->new();
  $document->Point();

Overview

Geo::GoogleEarth::Pluggable::Contrib::Point is a Geo::GoogleEarth::Pluggable::Placemark with a few other methods.

Usage

  my $placemark=$document->Point(name=>"Point Name",
                                 lat=>$lat,
                                 lon=>$lon,
                                 alt=>$alt);

Constructor

new

  my $placemark=$document->Point(
              name       => "White House",
              lat        => 38.89769,       #signed decimal degrees WGS-84
              lon        => -77.036549,     #signed decimal degrees WGS-84
              alt        => 30,             #meters above ellipsoid WGS-84
            );

Methods

subnode

lat

Sets or returns latitude. The format is signed decimal degrees WGS-84.

  my $lat=$placemark->lat;

lon

Sets or returns longitude. The format is signed decimal degrees WGS-84.

  my $lon=$placemark->lon;

alt

Sets or returns altitude. The units are meters above the ellipsoid WGS-84.

  my $alt=$placemark->alt;

Typically, Google Earth "snaps" Placemarks to the surface regardless of how the altitude is set.

Support

DavisNetworks.com supports all Perl applications including this package.

Releases

7 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8–10
  3. 11
  4. 12–13

Bugs

Please log on RT and send to the geo-perl email list.

Author

  Michael R. Davis (mrdvt92)
  CPAN ID: MRDVT

From libgeo-googleearth-pluggable-perl 0.17-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.