GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Geo::GDAL::FFI::Feature(3) User Contributed Perl Documentation Geo::GDAL::FFI::Feature(3)

Geo::GDAL::FFI::Feature - A GDAL vector feature

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

Create a new Feature object. The argument is a FeatureDefn object, which you can get from a Layer object (Defn method), another Feature object (Defn method), or by explicitly creating a new FeatureDefn object.

Returns the FeatureDefn object for this Feature.

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

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

Set the value of field $fname. If no arguments after the name is given, the field is unset. If the arguments after the name is undefined, sets the field to NULL. Otherwise sets the field according to the field type.

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

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

$fname is optional and by default the first geometry field.

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

$fname is optional and by default the first geometry field.

This software is released under the Artistic License. See perlartistic.

Ari Jolma - Ari.Jolma at gmail.com

Geo::GDAL::FFI

Alien::gdal, FFI::Platypus, <http://www.gdal.org>

2021-03-16 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.