| 26 | /************************************************************************/ |
| 27 | |
| 28 | GDALVectorSegmentizeAlgorithm::GDALVectorSegmentizeAlgorithm( |
| 29 | bool standaloneStep) |
| 30 | : GDALVectorGeomAbstractAlgorithm(NAME, DESCRIPTION, HELP_URL, |
| 31 | standaloneStep, m_opts) |
| 32 | { |
| 33 | AddArg("max-length", 0, _("Maximum length of a segment"), |
| 34 | &m_opts.m_maxLength) |
| 35 | .SetPositional() |
| 36 | .SetRequired() |
| 37 | .SetMinValueExcluded(0); |
| 38 | } |
| 39 | |
| 40 | namespace |
| 41 | { |
nothing calls this directly
no test coverage detected