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::FeatureDefn(3) User Contributed Perl Documentation Geo::GDAL::FFI::FeatureDefn(3)

Geo::GDAL::FFI::FeatureDefn - A GDAL feature schema

 $defn = Geo::GDAL::FFI::FeatureDefn->new({Fields => [...], GeometryType => 'Point'});

Create a new FeatureDefn object.

The named arguments (optional) are the following.

"Name"
Optional; the name for this feature class; default is the empty string.
"Fields"
Optional, a reference to an array of FieldDefn objects or schemas.
"GeometryFields"
Optional, a reference to an array of GeomFieldDefn objects or schemas.
"GeometryType"
Optional, the type for the first geometry field; default is Unknown. Note that this argument is ignored if GeometryFields is given.
"StyleIgnored"

Returns the definition as a perl data structure.

 my $field_defn = $defn->GetFieldDefn($name);

Get the specified non spatial field object. If the argument is explicitly an integer and not a string, it is taken as the field index.

 my @field_defns = $defn->GetFieldDefns;

 my $geom_field_defn = $defn->GetGeomFieldDefn($name);

Get the specified spatial field object. If the argument is explicitly an integer and not a string, it is taken as the field index.

 my @geom_field_defns = $defn->GetGeomFieldDefns;

 $defn->SetGeometryIgnored($arg);

Ignore the first geometry field when reading features from a layer. To not ignore the first geometry field call this method with defined but false (0) argument.

 my $is = $defn->IsGeometryIgnored;

Is the first geometry field ignored when reading features from a layer.

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.