[geometry] Inclusion in the next release?

Hi boosters, Does anyone know if the Boost Geometry Library is going to be shipped in the next release of Boost? Cheers, Romain

Hi Romain, Thanks for your interest.
Does anyone know if the Boost Geometry Library is going to be shipped in the next release of Boost?
We're doing our best but probably the next release is still too early. If you want to "early adopt" it, it is possible. Regards, Barend

Hi Barend, Thanks for the information. Nothing related but, have you done any comparison with GeographicLib ( http://geographiclib.sourceforge.net/)? In term of performance and accuracy for geodesic computation? Thank you, Romain On 23 March 2010 01:22, Barend Gehrels <barend@geodan.nl> wrote:
Hi Romain,
Thanks for your interest.
Does anyone know if the Boost Geometry Library is going to be shipped in
the next release of Boost?
We're doing our best but probably the next release is still too early.
If you want to "early adopt" it, it is possible.
Regards, Barend
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Romain CHANU wrote:
Hi Barend,
Thanks for the information.
Nothing related but, have you done any comparison with GeographicLib ( http://geographiclib.sourceforge.net/)? In term of performance and accuracy for geodesic computation?
Hi, I'm not sure if Barend tried this library privately, but more or less official benchmarking projects derived from Boost.Geometry works and dedicated to geometry libraries is available here: http://svn.osgeo.org/osgeo/foss4g/benchmarking/geometry_libraries/ Best regards, -- Mateusz Loskot, http://mateusz.loskot.net

Hi Romain,
Nothing related but, have you done any comparison with GeographicLib ( http://geographiclib.sourceforge.net/)? In term of performance and accuracy for geodesic computation?
I know this library but didn't test these aspects. All our projections are converted from proj4 to C++, and by this conversion alone they are slightly faster. It is indeed interesting to see if there are differences with this library. About accuracy: we will support both double and high-precision arithmetic types and it is also interesting if there are differences here. We don't have yet official performance tests for projections in the suite Mateusz pointed to. Actually the projections are an "extension" and were not part of the review, even if Boost.Geometry is in the next release or in 1.44, it might be that the projections are still not there yet, we have to harmonize some things as earth models. Regards, Barend

Barend Gehrels wrote:
Hi Romain,
Nothing related but, have you done any comparison with GeographicLib ( http://geographiclib.sourceforge.net/)? In term of performance and accuracy for geodesic computation?
I know this library but didn't test these aspects. All our projections are converted from proj4 to C++, and by this conversion alone they are slightly faster. It is indeed interesting to see if there are differences with this library.
AFAIS, Geographiclib is not a standalone library but it uses PROJ.4
We don't have yet official performance tests for projections in the suite Mateusz pointed to.
I have to confess I replied to Romain's post assuming, incorrectly, Geographiclib is a yet another geometry library. Sorry for confusing. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net

Hi Mateusz, Barend No worries about the previous post :-) GeographicLib is a set of C++ classes, there is no such dependencies with PROJ4 (from my understanding). I actually asked Barend if you guys had a look to this library because the library can do geodesic computation: http://geographiclib.sourceforge.net/html/geodesic.html <http://geographiclib.sourceforge.net/html/geodesic.html> http://geographiclib.sourceforge.net/html/classGeographicLib_1_1Geodesic.htm... <http://geographiclib.sourceforge.net/html/classGeographicLib_1_1Geodesic.html>However, I am not sure that Boost Geometry is able to perform "geodesic direct / inverse" computation (cf. links before). Any advice on this part? Thank you. Romain On 25 March 2010 03:31, Mateusz Loskot <mateusz@loskot.net> wrote:
Barend Gehrels wrote:
Hi Romain,
Nothing related but, have you done any comparison with GeographicLib (
http://geographiclib.sourceforge.net/)? In term of performance and accuracy for geodesic computation?
I know this library but didn't test these aspects. All our projections are converted from proj4 to C++, and by this conversion alone they are slightly faster. It is indeed interesting to see if there are differences with this library.
AFAIS, Geographiclib is not a standalone library but it uses PROJ.4
We don't have yet official performance tests for projections in the suite
Mateusz pointed to.
I have to confess I replied to Romain's post assuming, incorrectly, Geographiclib is a yet another geometry library.
Sorry for confusing.
Best regards, -- Mateusz Loskot, http://mateusz.loskot.net _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Romain CHANU wrote:
<http://geographiclib.sourceforge.net/html/classGeographicLib_1_1Geodesic.html>However, I am not sure that Boost Geometry is able to perform "geodesic direct / inverse" computation (cf. links before). Any advice on this part?
It doesn't do redfern either, which is quite important if you're dealing with usgs sourced data - might want to add that one in too.

Hi Romain,
GeographicLib is a set of C++ classes, there is no such dependencies with PROJ4 (from my understanding).
I agree, I didn't see any reference.
I actually asked Barend if you guys had a look to this library because the library can do geodesic computation:
http://geographiclib.sourceforge.net/html/geodesic.html <http://geographiclib.sourceforge.net/html/geodesic.html> http://geographiclib.sourceforge.net/html/classGeographicLib_1_1Geodesic.htm...
<http://geographiclib.sourceforge.net/html/classGeographicLib_1_1Geodesic.html>However, I am not sure that Boost Geometry is able to perform "geodesic direct / inverse" computation (cf. links before). Any advice on this part?
Boost Geometry can do distance calculations on the ellipsoid, which are modelled as "strategies". But not this specific geodesic, neither direct nor inverse. It can currently do Vincenty and Andoyer. Because Boost.Geometry is designed with strategies, you might even mix the two libraries, using Boost.Geometry for normal calculations, creating a strategy using geographiclib. Didn't do this in practice yet. Regards, Barend

Barend Gehrels wrote:
Romain CHANU wrote:
GeographicLib is a set of C++ classes, there is no such dependencies with PROJ4 (from my understanding).
I agree, I didn't see any reference.
Guys, you're right. It only says it isn't projection library: "This library is not a general purpose projection library; use proj.4 for that." Best regards, -- Mateusz Loskot, http://mateusz.loskot.net

Hi Barend, Is there any plan to include this kind of computation in Boost Geometry? Another solution that I was thinking about - using Boost Geometry as it is right now - is to convert Geographic coordinates in Cartesian coordinates (it is possible to do that right?), and do the same kind of computation but based on Cartesian reference system (computation of distance, azimuth, and line should be easy). Would it be possible? Thank you, Romain On 25 March 2010 18:54, Barend Gehrels <barend@geodan.nl> wrote:
Hi Romain,
GeographicLib is a set of C++ classes, there is no such dependencies with
PROJ4 (from my understanding).
I agree, I didn't see any reference.
I actually asked Barend if you guys had a look to this library because the
library can do geodesic computation:
http://geographiclib.sourceforge.net/html/geodesic.html <http://geographiclib.sourceforge.net/html/geodesic.html>
http://geographiclib.sourceforge.net/html/classGeographicLib_1_1Geodesic.htm...
< http://geographiclib.sourceforge.net/html/classGeographicLib_1_1Geodesic.htm...
However, I am not sure that Boost Geometry is able to perform "geodesic direct / inverse" computation (cf. links before). Any advice on this part?
Boost Geometry can do distance calculations on the ellipsoid, which are modelled as "strategies". But not this specific geodesic, neither direct nor inverse.
It can currently do Vincenty and Andoyer.
Because Boost.Geometry is designed with strategies, you might even mix the two libraries, using Boost.Geometry for normal calculations, creating a strategy using geographiclib.
Didn't do this in practice yet.
Regards, Barend
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Romain CHANU wrote:
Hi Barend,
Is there any plan to include this kind of computation in Boost Geometry?
I'm sure Barend will follow up replying, but I'd like to share my perspective. IMHO, there should be no problem with implementing support of these calculations in form of extension. Extensions can be bits of generic and general purpose software as well as very domain specific. Boost.Geometry prepares place for extensions and cares about builind solid and usable collection of misc extensions. Perhaps you would be interested in discussing details on Boost.Geometry list: http://lists.osgeo.org/mailman/listinfo/ggl Best regards, -- Mateusz Loskot, http://mateusz.loskot.net

Hi Romain,
Is there any plan to include this kind of computation in Boost Geometry?
At this moment geodesics not planned. However, as Mateusz said, we have the extension model so if it is somehow needed, it can be added extended functionality. As in my previous post, it can be implemented as an additional strategy
Another solution that I was thinking about - using Boost Geometry as it is right now - is to convert Geographic coordinates in Cartesian coordinates (it is possible to do that right?), Yes, it is possible.
and do the same kind of computation but based on Cartesian reference system (computation of distance, azimuth, and line should be easy). Would it be possible?
It is probably possible but I don't think it is the right way to do it. The geodesic calculation is a high accuracy calculation. As soon as you project to a Cartesian projection, you will loose that accuracy in the calculated distance. The same will be true for other properties as azimuth. Regards, Barend
participants (4)
-
Arash Partow
-
Barend Gehrels
-
Mateusz Loskot
-
Romain CHANU