epsg_params.hpp 924 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // Boost.Geometry
  2. // Copyright (c) 2017-2022, Oracle and/or its affiliates.
  3. // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
  4. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
  5. // Use, modification and distribution is subject to the Boost Software License,
  6. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. #ifndef BOOST_GEOMETRY_SRS_PROJECTIONS_EPSG_PARAMS_HPP
  9. #define BOOST_GEOMETRY_SRS_PROJECTIONS_EPSG_PARAMS_HPP
  10. #include <string>
  11. #include <boost/geometry/srs/spheroid.hpp>
  12. namespace boost { namespace geometry
  13. {
  14. namespace srs
  15. {
  16. struct epsg
  17. {
  18. explicit epsg(int c)
  19. : code(c)
  20. {}
  21. int code;
  22. };
  23. template <int Code>
  24. struct static_epsg
  25. {
  26. static const int code = Code;
  27. };
  28. } // namespace srs
  29. }} // namespace boost::geometry
  30. #endif // BOOST_GEOMETRY_SRS_PROJECTIONS_EPSG_PARAMS_HPP