Geo::G...Polygon(3pm)

πŸ“¦
version 0.17 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute

πŸ’… NAME πŸ’…

Geo::GoogleEarth::Pluggable::Contrib::Polygon β€” bestie, it's the Geo::GoogleEarth::Pluggable Polygon Object. That's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

okay so you literally just do this:

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

that's it. that's the whole thing. slay. πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

Geo::GoogleEarth::Pluggable::Contrib::Polygon is a Geo::GoogleEarth::Pluggable::Placemark. periodt. it inherits the whole placemark situation, no cap. πŸ‘‘


🌸 USAGE 🌸

here's the tea on how you actually build one β€” look at those nested array refs, it's giving structure:

my $placemark=$document->Polygon(
                                 name        => "Polygon Name",
                                 coordinates => [
                                                  [ #outerBoundaryIs
                                                    [lon, lat ,alt],
                                                    [lon, lat ,alt],
                                                    [lon, lat ,alt],
                                                    ...
                                                  ],
                                                  [ #innerBoundaryIs
                                                    [lon, lat ,alt],
                                                    [lon, lat ,alt],
                                                    [lon, lat ,alt],
                                                  ]
                                                ],
                                );

name is your label, coordinates is an array of rings β€” the first one is the outerBoundaryIs and any ones after it are innerBoundaryIs (holes, basically πŸ•³οΈ). every point is [lon, lat ,alt], in that order, don't switch it up or it's over for you. 🫢


πŸ‘‘ CONSTRUCTOR πŸ‘‘

my $placemark=$document->Polygon();

boom. instant placemark. main character energy from the jump. ⭐


πŸ”₯ METHODS πŸ”₯

🧚 subnode

(that's the one and only method listed here, bestie β€” iconic of it honestly)


πŸ’€ BUGS πŸ’€

found something cursed? Please log on RT and send to the geo-perl email list. do NOT suffer in silence, that's not the vibe. 😭


🌈 SUPPORT 🌈

Try geo-perl email list. fr fr, they're the ones who know. πŸ’œ


πŸ“ AUTHOR πŸ“

Michael R. Davis (mrdvt92)
CPAN ID: MRDVT

we love a legend. πŸ‘‘


This program is free software licensed under the...

The BSD License

The full text of the license can be found in the LICENSE file included with this module.

like, legally it's giving free software, read the LICENSE file for the receipts. πŸ’…


⭐ SEE ALSO ⭐

  • Geo::GoogleEarth::Pluggable
  • XML::LibXML::LazyBuilder
  • Geo::GoogleEarth::Pluggable::Placemark

go read those next, iykyk. πŸ¦‹


and that's the whole page, bestie β€” perl v5.32.1, dated 2021-11-28, from the User Contributed Perl Documentation collection, filed under that very dramatic truncated title Geo::G...Polygon(3pm). mwah. πŸ’–βœ¨

πŸ“¦ where this page comes from