| 31 | /************************************************************************/ |
| 32 | |
| 33 | GDALVectorLimitAlgorithm::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 | |
| 44 | namespace |
| 45 | { |
nothing calls this directly
no test coverage detected