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

Method spatialReferenceChanged

filters/HexBinFilter.cpp:180–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178
179
180void 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
192bool HexBin::createGrid()

Callers

nothing calls this directly

Calls 2

getProj4Method · 0.80
strMethod · 0.80

Tested by

no test coverage detected