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

πŸ“¦
version 0.16 Β· 4 versions
, in ubuntu stonking

✨ NAME ✨

Geo::GDAL::FFI::Feature β€” it's a GDAL vector feature, and honestly? iconic πŸ¦‹

This one's a page from User Contributed Perl Documentation, aka Geo::G...Feature(3pm) πŸ’…


✨ SYNOPSIS ✨

okay so bestie... this section is literally empty. no thoughts, head empty πŸ’€ the page said nothing here, so scroll on down, the methods are where the lore lives.

✨ DESCRIPTION ✨

also empty 😭 which is crazy but we move. the METHODS section is carrying this entire page, no cap.


πŸ’… METHODS πŸ’…

🌸 new

my $feature = Geo::GDAL::FFI::Feature->new($defn);

Makes a brand new Feature object ✨ The one argument is a FeatureDefn object, and here's how you get one of those:

  • from a Layer object (the Defn method) πŸŽ€
  • from another Feature object (the Defn method) πŸŽ€
  • or by explicitly creating a new FeatureDefn object yourself, main character energy πŸ‘‘

🌸 GetDefn

Returns the FeatureDefn object for this Feature. that's the whole thing, she's simple and she serves 🫢

🌸 GetFID

name only, no description on the page πŸ™ˆ the mystery is the point

🌸 SetFID

also just a name up in here, that's all the page gives us πŸ’€

🌸 Clone

same vibe β€” name only, nothing more fr fr

🌸 Equals

my $equals = $feature1->Equals($feature2);

🌸 SetField

$feature->SetField($fname, ...);

Sets the value of field $fname. The deets, in order:

  • if no arguments after the name are given, the field is unset πŸ’¨
  • if the arguments after the name are undefined, it sets the field to NULL πŸ«₯
  • otherwise, it sets the field according to the field type ✨

🌸 GetField

my $value = $feature->GetField($fname);

🌸 SetGeomField

$feature->SetField($fname, $geom);

$fname is optional, and by default it's the first geometry field πŸ’– (and yes, that's exactly how the line is written on the page, bestie β€” I'm not touching it πŸ”₯)

🌸 GetGeomField

my $geom = $feature->GetGeomField($fname);

$fname is optional, and by default it's the first geometry field πŸ’–


πŸŽ€ LICENSE πŸŽ€

This software is released under the Artistic License. See perlartistic. legally slaying, periodt ⭐

πŸ‘‘ AUTHOR πŸ‘‘

Ari Jolma β€” Ari.Jolma at gmail.com πŸ’œ

🌈 SEE ALSO 🌈


and that's the whole page, bestie 🫢 it's Geo::G...Feature(3pm) from perl v5.42.3, dated 2026-08-21 β€” go off, you understood all of it πŸ¦‹βœ¨πŸ’…

πŸ“¦ where this page comes from