|
NAMEGeo::GDAL::FFI::Feature - A GDAL vector featureSYNOPSISDESCRIPTIONMETHODSnewmy $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. GetDefnReturns the FeatureDefn object for this Feature.GetFIDSetFIDCloneEqualsmy $equals = $feature1->Equals($feature2); SetField$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. GetFieldmy $value = $feature->GetField($fname); SetGeomField$feature->SetField($fname, $geom); $fname is optional and by default the first geometry field. GetGeomFieldmy $geom = $feature->GetGeomField($fname); $fname is optional and by default the first geometry field. 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. |