epsg_params.hpp 845 B

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