MCPcopy Create free account
hub / github.com/OSGeo/gdal / GDALVectorLimitAlgorithm

Method GDALVectorLimitAlgorithm

apps/gdalalg_vector_limit.cpp:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31/************************************************************************/
32
33GDALVectorLimitAlgorithm::GDALVectorLimitAlgorithm(bool standaloneStep)
34 : GDALVectorPipelineStepAlgorithm(NAME, DESCRIPTION, HELP_URL,
35 standaloneStep)
36{
37 AddArg("limit", 0, _("Limit the number of features to read per layer"),
38 &m_featureLimit)
39 .SetPositional()
40 .SetRequired();
41 AddActiveLayerArg(&m_activeLayer);
42}
43
44namespace
45{

Callers

nothing calls this directly

Calls 1

SetPositionalMethod · 0.80

Tested by

no test coverage detected