| 139 | |
| 140 | |
| 141 | void TIndexReader::addArgs(ProgramArgs& args) |
| 142 | { |
| 143 | args.add("lyr_name", "OGR layer name from which to read tile index layer", |
| 144 | m_args->m_layerName, "pdal"); |
| 145 | args.addSynonym("lyr_name", "layer"); |
| 146 | |
| 147 | args.add("srs_column", "Column to use to override a file's SRS", m_args->m_srsColumnName, ""); |
| 148 | args.add("tindex_name", "OGR column name from which to read tile " |
| 149 | "index location", m_args->m_tileIndexColumnName, "location"); |
| 150 | args.add("sql", "OGR-compatible SQL statement for querying tile " |
| 151 | "index layer", m_args->m_sql); |
| 152 | args.add("bounds", "Bounds box to limit query window. " |
| 153 | "Format: '([xmin,xmax],[ymin,ymax])'", m_args->m_bounds); |
| 154 | args.add("polygon", "Well-known text description of bounds to limit query", |
| 155 | m_args->m_wkt); |
| 156 | args.addSynonym("polygon", "wkt"); |
| 157 | args.add("ogr", "Specified OGR polygon to limit query", m_args->m_ogr); |
| 158 | args.add("t_srs", "Transform SRS of tile index geometry", m_args->m_tgtSrsString, |
| 159 | "EPSG:4326"); |
| 160 | args.add("filter_srs", "Transforms any wkt or boundary option to " |
| 161 | "this coordinate system before filtering or reading data.", |
| 162 | m_args->m_filterSRS, "EPSG:4326"); |
| 163 | args.add("where", "OGR SQL filter clause to use on the layer. It only " |
| 164 | "works in combination with tile index layers that are defined " |
| 165 | "with lyr_name", m_args->m_attributeFilter); |
| 166 | args.add("dialect", "OGR SQL dialect to use when querying tile " |
| 167 | "index layer", m_args->m_dialect, "OGRSQL"); |
| 168 | args.add("reader_args", "Map of reader arguments to their values to pass through.", |
| 169 | m_args->m_rawReaderArgs); |
| 170 | } |
| 171 | |
| 172 | |
| 173 | void TIndexReader::addDimensions(PointLayoutPtr layout) |
nothing calls this directly
no test coverage detected