| 59 | |
| 60 | |
| 61 | void 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 | |
| 78 | void OverlayFilter::initialize() |
nothing calls this directly
no test coverage detected