+ mapnik::projection add operator<<

This commit is contained in:
artemp 2013-03-27 10:38:20 +00:00
parent 26ba946cb0
commit 682635e975

View file

@ -76,6 +76,15 @@ private:
mutable void * proj_ctx_;
};
template <typename charT, typename traits>
std::basic_ostream<charT, traits> &
operator << ( std::basic_ostream<charT, traits> & s, mapnik::projection const& p )
{
s << "projection(\"" << p.params() << "\")";
return s;
}
}
#endif // MAPNIK_PROJECTION_HPP