| 178 | |
| 179 | |
| 180 | void HexBin::spatialReferenceChanged(const SpatialReference& srs) |
| 181 | { |
| 182 | m_srs = srs; |
| 183 | if (!m_grid->checkSRS(m_srs)) { |
| 184 | std::ostringstream oss; |
| 185 | oss << "Cannot find H3 hexbin locations with spatial reference: (" |
| 186 | << m_srs.getProj4() << ")! Input must be EPSG:4326"; |
| 187 | throwError(oss.str()); |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | |
| 192 | bool HexBin::createGrid() |