| 77 | |
| 78 | |
| 79 | void SrsBounds::parse(const std::string& s, std::string::size_type& pos) |
| 80 | { |
| 81 | Bounds::parse(s, pos); |
| 82 | pos += Utils::extractSpaces(s, pos); |
| 83 | m_srs.set(to2d().wkt); |
| 84 | if (pos == s.size()) |
| 85 | return; |
| 86 | |
| 87 | if (s[pos++] != '/') |
| 88 | throw Bounds::error("Invalid character following valid bounds box."); |
| 89 | |
| 90 | pos += Utils::extractSpaces(s, pos); |
| 91 | SpatialReference srs; |
| 92 | m_srs.parse(s, pos); |
| 93 | pos += Utils::extractSpaces(s, pos); |
| 94 | } |
| 95 | |
| 96 | std::ostream& operator << (std::ostream& out, const SrsBounds& srsBounds) |
| 97 | { |