23 QString QgsMultipartToSinglepartAlgorithm::name()
const
25 return QStringLiteral(
"multiparttosingleparts" );
28 QString QgsMultipartToSinglepartAlgorithm::displayName()
const
30 return QObject::tr(
"Multipart to singleparts" );
33 QString QgsMultipartToSinglepartAlgorithm::outputName()
const
35 return QObject::tr(
"Single parts" );
43 QStringList QgsMultipartToSinglepartAlgorithm::tags()
const
45 return QObject::tr(
"multi,single,multiple,split,dump" ).split(
',' );
48 QString QgsMultipartToSinglepartAlgorithm::group()
const
50 return QObject::tr(
"Vector geometry" );
53 QString QgsMultipartToSinglepartAlgorithm::groupId()
const
55 return QStringLiteral(
"vectorgeometry" );
58 QString QgsMultipartToSinglepartAlgorithm::shortHelpString()
const
60 return QObject::tr(
"This algorithm takes a vector layer with multipart geometries and generates a new one in which all geometries contain "
61 "a single part. Features with multipart geometries are divided in as many different features as parts the geometry "
62 "contain, and the same attributes are used for each of them." );
65 QgsMultipartToSinglepartAlgorithm *QgsMultipartToSinglepartAlgorithm::createInstance()
const
67 return new QgsMultipartToSinglepartAlgorithm();
77 QgsFeatureSink::SinkFlags QgsMultipartToSinglepartAlgorithm::sinkFlags()
const
97 outputs.append( out );
102 outputs.append( feature );