|
NAMEGeo::GDAL::FFI::FeatureDefn - A GDAL feature schemaSYNOPSISDESCRIPTIONMETHODSnew$defn = Geo::GDAL::FFI::FeatureDefn->new({Fields => [...], GeometryType => 'Point'}); Create a new FeatureDefn object. The named arguments (optional) are the following.
GetSchemaReturns the definition as a perl data structure.GetFieldDefnmy $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. GetFieldDefnsmy @field_defns = $defn->GetFieldDefns; GetGeomFieldDefnmy $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. GetGeomFieldDefnsmy @geom_field_defns = $defn->GetGeomFieldDefns; SetGeometryIgnored$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. IsGeometryIgnoredmy $is = $defn->IsGeometryIgnored; Is the first geometry field ignored when reading features from a layer. LICENSEThis software is released under the Artistic License. See perlartistic.AUTHORAri Jolma - Ari.Jolma at gmail.comSEE ALSOGeo::GDAL::FFIAlien::gdal, FFI::Platypus, <http://www.gdal.org>
Visit the GSP FreeBSD Man Page Interface. |