| 325 | } |
| 326 | |
| 327 | double WktParser::ValueSubDouble(const std::string& key, const std::string sub, const double def) { |
| 328 | std::string res = ValueSubStr(key, sub); |
| 329 | if (res.empty()) { |
| 330 | return def; |
| 331 | } else { |
| 332 | return stoddefault(res, def); |
| 333 | } |
| 334 | } |
| 335 | |
| 336 | /* ************************* |
| 337 | WktParserSem |
nothing calls this directly
no test coverage detected