13#ifndef GDALALG_VECTOR_EXPLODE_COLLECTIONS_INCLUDED
14#define GDALALG_VECTOR_EXPLODE_COLLECTIONS_INCLUDED
16#include "gdalalg_vector_geom.h"
24class GDALVectorExplodeCollectionsAlgorithm
25 :
public GDALVectorGeomAbstractAlgorithm
28 static constexpr const char *NAME =
"explode-collections";
29 static constexpr const char *DESCRIPTION =
30 "Explode geometries of type collection of a vector dataset.";
31 static constexpr const char *HELP_URL =
32 "/programs/gdal_vector_explode_collections.html";
34 struct Options :
public GDALVectorGeomAbstractAlgorithm::OptionsBase
43 std::unique_ptr<OGRLayerWithTranslateFeature>
44 CreateAlgLayer(OGRLayer &srcLayer)
override;
46 explicit GDALVectorExplodeCollectionsAlgorithm(
bool standaloneStep =
false);
49 bool RunStep(GDALPipelineStepRunContext &ctxt)
override;
58class GDALVectorExplodeCollectionsAlgorithmStandalone final
59 :
public GDALVectorExplodeCollectionsAlgorithm
62 GDALVectorExplodeCollectionsAlgorithmStandalone()
63 : GDALVectorExplodeCollectionsAlgorithm( true)
67 ~GDALVectorExplodeCollectionsAlgorithmStandalone()
override;
OGRwkbGeometryType
List of well known binary geometry types.
Definition ogr_core.h:405
@ wkbUnknown
unknown type, non-standard
Definition ogr_core.h:406