MCPcopy Create free account
hub / github.com/OSGeo/PROJ / unit

Method unit

src/grids.cpp:2868–2870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2866 int samplesPerPixel() const override { return m_grid->samplesPerPixel(); }
2867
2868 std::string unit(int sample) const override {
2869 return metadataItem("UNITTYPE", sample);
2870 }
2871
2872 std::string description(int sample) const override {
2873 return metadataItem("DESCRIPTION", sample);

Callers 15

TEST_FFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
checkEPSG_4326Function · 0.45
TESTFunction · 0.45
checkEPSG_4979Function · 0.45
checkGeocentricFunction · 0.45
checkProjectedFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
identifyMethod · 0.45
identifyOrInsertMethod · 0.45

Calls

no outgoing calls

Tested by 10

TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
checkEPSG_4326Function · 0.36
TESTFunction · 0.36
checkEPSG_4979Function · 0.36
checkGeocentricFunction · 0.36
checkProjectedFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36