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

Method setFromLayer

pdal/private/gdal/SpatialRef.cpp:62–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61
62void SpatialRef::setFromLayer(OGRLayerH layer)
63{
64 if (layer)
65 {
66 OGRSpatialReferenceH s = OGR_L_GetSpatialRef(layer);
67 if (s)
68 {
69 OGRSpatialReferenceH clone = OSRClone(s);
70 newRef(clone);
71 }
72 }
73}
74
75
76SpatialRef::operator bool () const

Callers 3

initializeMethod · 0.80
readyMethod · 0.80
getPolygonsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected