| 224 | } |
| 225 | |
| 226 | bool WktParser::HasValueStr(const std::string& key, std::string& val) { |
| 227 | if (auto search = map.find(to_lower_copy(key)); search != map.end()) { |
| 228 | val = search->second; // e.g. "EPSG|123" |
| 229 | return true; |
| 230 | } else { |
| 231 | return false; |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | std::string WktParser::ValueStr(const std::string& key) { |
| 236 | std::string result; |
nothing calls this directly
no test coverage detected