| 103 | |
| 104 | |
| 105 | QuickInfo BpfReader::inspect() |
| 106 | { |
| 107 | QuickInfo qi; |
| 108 | |
| 109 | initialize(); |
| 110 | qi.m_valid = true; |
| 111 | qi.m_pointCount = m_header.m_numPts; |
| 112 | qi.m_srs = getSpatialReference(); |
| 113 | for (auto di = m_dims.begin(); di != m_dims.end(); ++di) |
| 114 | { |
| 115 | BpfDimension& dim = *di; |
| 116 | qi.m_dimNames.push_back(dim.m_label); |
| 117 | if (dim.m_label == "X") |
| 118 | { |
| 119 | qi.m_bounds.minx = dim.m_min; |
| 120 | qi.m_bounds.maxx = dim.m_max; |
| 121 | } |
| 122 | if (dim.m_label == "Y") |
| 123 | { |
| 124 | qi.m_bounds.miny = dim.m_min; |
| 125 | qi.m_bounds.maxy = dim.m_max; |
| 126 | } |
| 127 | if (dim.m_label == "Z") |
| 128 | { |
| 129 | qi.m_bounds.minz = dim.m_min; |
| 130 | qi.m_bounds.maxz = dim.m_max; |
| 131 | } |
| 132 | } |
| 133 | return qi; |
| 134 | } |
| 135 | |
| 136 | |
| 137 | // When the stage is intialized, the schema needs to be populated with the |
nothing calls this directly
no test coverage detected