Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix extensions #1334

Merged
merged 4 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion extensions/example/gis/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ project boost-geometry-extensions-gis-examples


build-project latlong ;
build-project projections ;
4 changes: 2 additions & 2 deletions extensions/example/gis/latlong/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ project boost-geometry-example-extensions-gis-projections
: # requirements
;

exe distance_example : distance_example.cpp ;
exe point_ll_example : point_ll_example.cpp ;
#exe distance_example : distance_example.cpp ;
#exe point_ll_example : point_ll_example.cpp ;
8 changes: 4 additions & 4 deletions extensions/example/gis/latlong/distance_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#include <boost/geometry/geometries/point_xy.hpp>
#include <boost/geometry/strategies/spherical/distance_cross_track.hpp>
#include <boost/geometry/extensions/gis/latlong/latlong.hpp>
#include <boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp>
#include <boost/geometry/extensions/gis/projections/proj/sterea.hpp>
#include <boost/geometry/extensions/gis/projections/proj/laea.hpp>
#include <boost/geometry/extensions/gis/projections/parameters.hpp>
//#include <boost/geometry/extensions/gis/geographic/strategies/andoyer.hpp>
//#include <boost/geometry/extensions/gis/projections/proj/sterea.hpp>
//#include <boost/geometry/extensions/gis/projections/proj/laea.hpp>
//#include <boost/geometry/extensions/gis/projections/parameters.hpp>

// BSG 28-10-2010
// TODO: clear up this test
Expand Down
4 changes: 2 additions & 2 deletions extensions/example/gis/latlong/point_ll_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ int main()
using namespace boost::geometry;

typedef model::ll::point<degree> latlon_point;

latlon_point paris;

// Assign coordinates to the latlong point, using the methods lat and lon
Expand Down Expand Up @@ -115,7 +115,7 @@ int main()

// Other way round: have Amsterdam and go 430 km to the south (i.e. first calculate direction)
double tc = get_course(amsterdam, paris);
std::cout << "Course: " << (tc * boost::geometry::math::r2d) << std::endl;
std::cout << "Course: " << (tc * boost::geometry::math::r2d<double>()) << std::endl;

latlon_point paris_calculated;
point_at_distance(amsterdam, 430 * 1000.0, tc, average_earth_radius, paris_calculated);
Expand Down
21 changes: 0 additions & 21 deletions extensions/example/gis/projections/Jamfile

This file was deleted.

62 changes: 0 additions & 62 deletions extensions/example/gis/projections/p01_projection_example.cpp

This file was deleted.

64 changes: 0 additions & 64 deletions extensions/example/gis/projections/p02_projfactory_example.cpp

This file was deleted.

149 changes: 0 additions & 149 deletions extensions/example/gis/projections/p03_projmap_example.cpp

This file was deleted.

Loading
Loading