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

Method getSpatialRef

pdal/private/gdal/Raster.cpp:612–619  ·  view source on GitHub ↗

Get the spatial reference associated with a raster. \return Associated spatial reference. */

Source from the content-addressed store, hash-verified

610 \return Associated spatial reference.
611*/
612SpatialReference Raster::getSpatialRef() const
613{
614 SpatialReference srs;
615
616 if (m_ds)
617 srs = SpatialReference(m_ds->GetProjectionRef());
618 return srs;
619}
620
621
622/**

Callers 2

initializeMethod · 0.80
TESTFunction · 0.80

Calls 1

SpatialReferenceClass · 0.50

Tested by 1

TESTFunction · 0.64