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

Function toString

io/LasReader.cpp:116–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114
115template<>
116std::string toString(const SrsOrderSpec& srsOrder)
117{
118 using namespace las;
119
120 static const std::array<std::string, 4> srsTypeNames { "wkt1", "geotiff", "projjson", "wkt2" };
121
122 std::string out;
123 for (SrsType type : srsOrder.types)
124 out += srsTypeNames[Utils::toNative(type)] + ",";
125 if (out.size())
126 out.erase(out.size() - 1);
127 return out;
128}
129
130} // namespace Utils
131

Callers 7

HeaderVal.hppFile · 0.70
processOneMethod · 0.70
fillPointBufMethod · 0.70
initializeMethod · 0.70
initializeMethod · 0.70
TESTFunction · 0.50
TESTFunction · 0.50

Calls 3

toNativeFunction · 0.50
sizeMethod · 0.45
eraseMethod · 0.45

Tested by 2

TESTFunction · 0.40
TESTFunction · 0.40