| 394 | } |
| 395 | |
| 396 | std::string generateSoftwareId() |
| 397 | { |
| 398 | std::string ver(Config::versionString()); |
| 399 | std::stringstream oss; |
| 400 | std::ostringstream revs; |
| 401 | revs << Config::sha1(); |
| 402 | oss << "PDAL " << ver << " (" << revs.str().substr(0, 6) <<")"; |
| 403 | return oss.str(); |
| 404 | } |
| 405 | |
| 406 | // Throws las::error. Be sure to catch it. |
| 407 | // 'allOk' accepts the keyword 'all'. |
no test coverage detected