diff --git a/example/05_b_overlay_linestring_polygon_example.cpp b/example/05_b_overlay_linestring_polygon_example.cpp index 6f8c8e533..be5170f24 100644 --- a/example/05_b_overlay_linestring_polygon_example.cpp +++ b/example/05_b_overlay_linestring_polygon_example.cpp @@ -10,6 +10,10 @@ // // Linestring Polygon Overlay Example +// NOTE: this example is obsolete. Boost.Geometry can now +// overlay linestrings/polygons. +// This sample will be removed in next version. + #include #include #include diff --git a/example/with_external_libs/contrib/gd-2.0.35/boost_geometry_readme.txt b/example/with_external_libs/contrib/gd-2.0.35/boost_geometry_readme.txt index fcbfdcb21..93d331a30 100644 --- a/example/with_external_libs/contrib/gd-2.0.35/boost_geometry_readme.txt +++ b/example/with_external_libs/contrib/gd-2.0.35/boost_geometry_readme.txt @@ -8,11 +8,13 @@ Download gd from -http://www.libgd.og/ +http://www.libgd.org/ +(currently from: https://bitbucket.org/pierrejoye/gd-libgd/downloads) + and extract to this folder. +(currently: extract from ../src/ into this folder) Nothing has to be installed. This is used in x02_gd_example.cpp - diff --git a/example/with_external_libs/contrib/soci-3.0.0/boost_geometry_readme.txt b/example/with_external_libs/contrib/soci-3.1.0/boost_geometry_readme.txt similarity index 100% rename from example/with_external_libs/contrib/soci-3.0.0/boost_geometry_readme.txt rename to example/with_external_libs/contrib/soci-3.1.0/boost_geometry_readme.txt diff --git a/example/with_external_libs/soci.vsprops b/example/with_external_libs/soci.vsprops index 83bfeb59a..c397b1241 100644 --- a/example/with_external_libs/soci.vsprops +++ b/example/with_external_libs/soci.vsprops @@ -7,10 +7,10 @@ diff --git a/example/with_external_libs/x02_gd_example.cpp b/example/with_external_libs/x02_gd_example.cpp index 2cc9cbae6..f5441d589 100644 --- a/example/with_external_libs/x02_gd_example.cpp +++ b/example/with_external_libs/x02_gd_example.cpp @@ -27,14 +27,12 @@ #include -#include -#include -#include +#include +#include + #include #include -#include - #include diff --git a/example/with_external_libs/x02_gd_example.vcproj b/example/with_external_libs/x02_gd_example.vcproj index 262ed0218..20471a0a6 100644 --- a/example/with_external_libs/x02_gd_example.vcproj +++ b/example/with_external_libs/x02_gd_example.vcproj @@ -181,6 +181,10 @@ RelativePath="$(GD)\gd.c" > + + diff --git a/example/with_external_libs/x03_a_soci_example.cpp b/example/with_external_libs/x03_a_soci_example.cpp index 7daa592e1..5b509057f 100644 --- a/example/with_external_libs/x03_a_soci_example.cpp +++ b/example/with_external_libs/x03_a_soci_example.cpp @@ -36,7 +36,6 @@ #include #include -#include BOOST_GEOMETRY_REGISTER_BOOST_TUPLE_CS(cs::cartesian); diff --git a/example/with_external_libs/x03_a_soci_example.vcproj b/example/with_external_libs/x03_a_soci_example.vcproj index 2d155daf1..2f6665a51 100644 --- a/example/with_external_libs/x03_a_soci_example.vcproj +++ b/example/with_external_libs/x03_a_soci_example.vcproj @@ -209,6 +209,26 @@ /> + + + + + + + + diff --git a/example/with_external_libs/x03_b_soci_example.vcproj b/example/with_external_libs/x03_b_soci_example.vcproj index 49a991087..35781e542 100644 --- a/example/with_external_libs/x03_b_soci_example.vcproj +++ b/example/with_external_libs/x03_b_soci_example.vcproj @@ -209,6 +209,26 @@ /> + + + + + + + + diff --git a/example/with_external_libs/x03_c_soci_example.vcproj b/example/with_external_libs/x03_c_soci_example.vcproj index 3bb348832..05a4ae022 100644 --- a/example/with_external_libs/x03_c_soci_example.vcproj +++ b/example/with_external_libs/x03_c_soci_example.vcproj @@ -209,6 +209,26 @@ /> + + + + + + + + diff --git a/example/with_external_libs/x03_d_soci_example.cpp b/example/with_external_libs/x03_d_soci_example.cpp index 9f9c5096a..26b59a72b 100644 --- a/example/with_external_libs/x03_d_soci_example.cpp +++ b/example/with_external_libs/x03_d_soci_example.cpp @@ -28,12 +28,13 @@ #include #include -#include -#include +#include + #include +#include + #include #include -#include int main() { @@ -65,7 +66,7 @@ int main() if (!boost::geometry::hex2wkb(*it, std::back_inserter(wkb))) throw std::runtime_error("hex2wkb translation failed"); - boost::geometry::model::d2::polygon parcel; + boost::geometry::model::polygon > parcel; if (!boost::geometry::read_wkb(wkb.begin(), wkb.end(), parcel)) throw std::runtime_error("read_wkb failed"); diff --git a/example/with_external_libs/x03_d_soci_example.vcproj b/example/with_external_libs/x03_d_soci_example.vcproj index 1b0763641..d699d5186 100644 --- a/example/with_external_libs/x03_d_soci_example.vcproj +++ b/example/with_external_libs/x03_d_soci_example.vcproj @@ -209,6 +209,26 @@ /> + + + + + + + + diff --git a/example/with_external_libs/x04_wxwidgets_world_mapper.cpp b/example/with_external_libs/x04_wxwidgets_world_mapper.cpp index e09dedbf0..f507f4cb4 100644 --- a/example/with_external_libs/x04_wxwidgets_world_mapper.cpp +++ b/example/with_external_libs/x04_wxwidgets_world_mapper.cpp @@ -18,13 +18,13 @@ #include #include +#include #include +#include + #include #include -#include #include -#include -#include // wxWidgets, if these headers are NOT found, adapt include path (and lib path) diff --git a/example/with_external_libs/x05_shapelib_example.cpp b/example/with_external_libs/x05_shapelib_example.cpp index 8f6118ac4..d9fd73115 100644 --- a/example/with_external_libs/x05_shapelib_example.cpp +++ b/example/with_external_libs/x05_shapelib_example.cpp @@ -20,8 +20,8 @@ #include "shapefil.h" #include +#include #include -#include using namespace boost::geometry; diff --git a/example/with_external_libs/x06_qt_world_mapper.cpp b/example/with_external_libs/x06_qt_world_mapper.cpp index f425e21de..8f0cf3477 100644 --- a/example/with_external_libs/x06_qt_world_mapper.cpp +++ b/example/with_external_libs/x06_qt_world_mapper.cpp @@ -23,13 +23,15 @@ #include #include + +#include +#include #include + #include #include -#include #include -#include