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

Method GDALVectorSegmentizeAlgorithm

apps/gdalalg_vector_segmentize.cpp:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26/************************************************************************/
27
28GDALVectorSegmentizeAlgorithm::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
40namespace
41{

Callers

nothing calls this directly

Calls 1

SetPositionalMethod · 0.80

Tested by

no test coverage detected