MCPcopy Create free account
hub / github.com/PDAL/PDAL / addArgs

Method addArgs

filters/OverlayFilter.cpp:61–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60
61void OverlayFilter::addArgs(ProgramArgs& args)
62{
63 args.add("dimension", "Dimension on which to filter", m_dimName).
64 setPositional();
65 args.add("datasource", "OGR-readable datasource for Polygon or "
66 "Multipolygon data", m_datasource).setPositional();
67 args.add("column", "OGR datasource column from which to "
68 "read the attribute.", m_column);
69 args.add("query", "OGR SQL query to execute on the "
70 "datasource to fetch geometry and attributes", m_query);
71 args.add("layer", "Datasource layer to use", m_layer);
72 args.addSynonym("layer", "lyr_name");
73 args.add("bounds", "Bounds to limit query using with OGR_L_SetSpatialFilter", m_bounds);
74 args.add("threads", "Number of threads used to run this filter", m_threads, 1);
75}
76
77
78void OverlayFilter::initialize()

Callers

nothing calls this directly

Calls 2

addSynonymMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected