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

Method trySetSpatialReference

io/BpfHeader.cpp:149–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149bool BpfHeader::trySetSpatialReference(const SpatialReference& srs)
150{
151 m_log->get(LogLevel::Debug) << "Attempting to set coordinate system UTM zone \n";
152
153 int zone = srs.getUTMZone();
154 if (zone)
155 {
156 m_coordId = zone;
157 return true;
158 }
159 return false;
160}
161
162bool BpfHeader::readV1(ILeStream& stream)
163{

Callers 1

readyFileMethod · 0.80

Calls 2

getUTMZoneMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected