FeaturesSequence Class

Summary: FeaturesSequence represents a set of vector features.

Module: aspose.gis

Full Name: aspose.gis.FeaturesSequence

Aspose.PSD Version: 25.9.0

Properties

NameTypeAccessDescription
attributesBaseFeatureAttributeCollectionrGets the collection of custom attributes for features in this VectorLayer.
spatial_reference_systemSpatialReferenceSystemrGets spatial reference system of this features sequence.

Methods

NameDescription
get_extent()Gets a spatial extent of this layer.
save_to(destination_path, destination_driver)Saves features sequence to layer.
save_to(destination_path, destination_driver)Saves features sequence to layer.
save_to(destination_path, destination_driver, options)Saves features sequence to layer.
save_to(destination_path, destination_driver, options)Saves features sequence to layer.
split_to()Split features by geometry type.
where_equal(attribute_name, value)Selects features with attribute value equal to the provided value.
where_greater(attribute_name, value)Selects features with attribute value greater than the provided value.
where_greater_or_equal(attribute_name, value)Selects features with attribute value greater or equal to the provided value.
where_intersects(extent)Filters features based on the extent.
where_intersects(geometry)Filters features based on the provided geometry.
where_intersects(sequence)Filters features based on the union of all geometries in other features sequence.
where_not_equal(attribute_name, value)Selects features with attribute value not equal to the provided value.
where_not_null(attribute_name)Selects features with attribute not equal to null.
where_null(attribute_name)Selects features with attribute equal to null.
where_set(attribute_name)Selects features with attribute set.
where_smaller(attribute_name, value)Selects features with attribute value smaller than the provided value.
where_smaller_or_equal(attribute_name, value)Selects features with attribute value smaller or equal to the provided value.
where_unset(attribute_name)Selects features where specified attribute is not set.

Method: get_extent()

 get_extent() 

Gets a spatial extent of this layer.

Returns

TypeDescription
ExtentA spatial extent of this layer.

Method: save_to(destination_path, destination_driver)

 save_to(destination_path, destination_driver) 

Saves features sequence to layer.

Parameters:

ParameterTypeDescription
destination_pathstringPath to the output layer.
destination_driverFileDriverThe format driver for the output layer.

Method: save_to(destination_path, destination_driver)

 save_to(destination_path, destination_driver) 

Saves features sequence to layer.

Parameters:

ParameterTypeDescription
destination_pathAbstractPathPath to the output layer.
destination_driverFileDriverThe format driver for the output layer.

Method: save_to(destination_path, destination_driver, options)

 save_to(destination_path, destination_driver, options) 

Saves features sequence to layer.

Parameters:

ParameterTypeDescription
destination_pathstringPath to the output layer.
destination_driverFileDriverThe format driver for the output layer.
optionsSavingOptionsOptions for the saving procedure.

Method: save_to(destination_path, destination_driver, options)

 save_to(destination_path, destination_driver, options) 

Saves features sequence to layer.

Parameters:

ParameterTypeDescription
destination_pathAbstractPathPath to the output layer.
destination_driverFileDriverThe format driver for the output layer.
optionsSavingOptionsOptions for the saving procedure.

Method: split_to()

 split_to() 

Split features by geometry type.

Returns

TypeDescription
VectorLayer[]Layers with the same type of geometry.

Method: where_equal(attribute_name, value)

 where_equal(attribute_name, value) 

Selects features with attribute value equal to the provided value.

Parameters:

ParameterTypeDescription
attribute_namestringAttribute to filter by.
valueobjectValue to compare against.

Returns

TypeDescription
FeaturesSequenceFeatures with attribute value equal to the provided value.

Method: where_greater(attribute_name, value)

 where_greater(attribute_name, value) 

Selects features with attribute value greater than the provided value.

Parameters:

ParameterTypeDescription
attribute_namestringAttribute to filter by.
valueobjectValue to compare against.

Returns

TypeDescription
FeaturesSequenceFeatures with attribute value greater than the provided value.

Method: where_greater_or_equal(attribute_name, value)

 where_greater_or_equal(attribute_name, value) 

Selects features with attribute value greater or equal to the provided value.

Parameters:

ParameterTypeDescription
attribute_namestringAttribute to filter by.
valueobjectValue to compare against.

Returns

TypeDescription
FeaturesSequenceFeatures with attribute value greater or equal to the provided value.

Method: where_intersects(extent)

 where_intersects(extent) 

Filters features based on the extent.

Parameters:

ParameterTypeDescription
extentExtentFilter extent.

Returns

TypeDescription
FeaturesSequenceFeatures that intersect with the provided geometry.

Method: where_intersects(geometry)

 where_intersects(geometry) 

Filters features based on the provided geometry.

Parameters:

ParameterTypeDescription
geometryIGeometryFilter geometry.

Returns

TypeDescription
FeaturesSequenceFeatures that intersect with the provided geometry.

Method: where_intersects(sequence)

 where_intersects(sequence) 

Filters features based on the union of all geometries in other features sequence.

Parameters:

ParameterTypeDescription
sequenceFeaturesSequenceOther features sequence.

Returns

TypeDescription
FeaturesSequenceFeatures that intersect with the union of all geometries in other features sequence.

Method: where_not_equal(attribute_name, value)

 where_not_equal(attribute_name, value) 

Selects features with attribute value not equal to the provided value.

Parameters:

ParameterTypeDescription
attribute_namestringAttribute to filter by.
valueobjectValue to compare against.

Returns

TypeDescription
FeaturesSequenceFeatures with attribute value not equal to the provided value.

Method: where_not_null(attribute_name)

 where_not_null(attribute_name) 

Selects features with attribute not equal to null.

Parameters:

ParameterTypeDescription
attribute_namestringAttribute to filter by.

Returns

TypeDescription
FeaturesSequenceFeatures with attribute value not equal to null.

Method: where_null(attribute_name)

 where_null(attribute_name) 

Selects features with attribute equal to null.

Parameters:

ParameterTypeDescription
attribute_namestringAttribute to filter by.

Returns

TypeDescription
FeaturesSequenceFeatures with attribute value equal to null.

Method: where_set(attribute_name)

 where_set(attribute_name) 

Selects features with attribute set.

Parameters:

ParameterTypeDescription
attribute_namestringAttribute to filter by.

Returns

TypeDescription
FeaturesSequenceFeatures with set attribute value.

Method: where_smaller(attribute_name, value)

 where_smaller(attribute_name, value) 

Selects features with attribute value smaller than the provided value.

Parameters:

ParameterTypeDescription
attribute_namestringAttribute to filter by.
valueobjectValue to compare against.

Returns

TypeDescription
FeaturesSequenceFeatures with attribute value smaller than the provided value.

Method: where_smaller_or_equal(attribute_name, value)

 where_smaller_or_equal(attribute_name, value) 

Selects features with attribute value smaller or equal to the provided value.

Parameters:

ParameterTypeDescription
attribute_namestringAttribute to filter by.
valueobjectValue to compare against.

Returns

TypeDescription
FeaturesSequenceFeatures with attribute value smaller or equal to the provided value.

Method: where_unset(attribute_name)

 where_unset(attribute_name) 

Selects features where specified attribute is not set.

Parameters:

ParameterTypeDescription
attribute_namestringAttribute to filter by.

Returns

TypeDescription
FeaturesSequenceFeatures with unset attribute value.