
Geometry : 
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 20190923 14:43:47
On Mon, 23 Sep 2019 at 15:56, Adam Wulkiewicz via Geometry
<geometry_at_[hidden]> wrote:
> W dniu 23.09.2019 o 10:57, Mateusz Loskot via Geometry pisze:
> > On Mon, 23 Sep 2019 at 10:38, Ahmet Temiz via Geometry <geometry_at_[hidden]> wrote:
> >> I am not sure how I can define epsg : 3857 in boost geometry
> > Should be something along these lines:
> >
> > #include <boost/geometry/srs/epsg.hpp>
> > #include <boost/geometry/srs/projection.hpp>
> >
> > boost::geometry::srs::projection<> prj = boost::geometry::srs::epsg(3857);
> > boost::geometry::point_xy<double, epsg<2040>> my_point(0, 0);
> >
> > Also, search through the source code of the Boost.Geometry tests
> > for more details about how `epsg` and `projection` can be used.
>
> This is not correct. The point type can only take cs::cartesian,
> cs::spherical or cs::geographic.
I think I referred to an outdated resource then
https://github.com/boostorg/geometry/blob/8eee20af4df5fb826c7a4860bebabfee8ac4f588/doc/doxy/doxygen_input/pages/doxygen_z_article09.hpp#L211
Best regards,
 Mateusz Loskot, http://mateusz.loskot.net
Geometry list run by mateusz at loskot.net