using boost::geometry::buffer function The Next CEO of Stack OverflowWhy do we need virtual functions in C++?How to use Boost in Visual Studio 2010How to install Boost on Ubuntuboost::geometry::read_wkt alternative?Register QRectF with Boost GeometryBoost Geometry: Templating BOOST_GEOMETRY_REGISTER_BOX_2D_4VALUESNegative buffer of Boost::geometry::multi_polygonDistance in the Boost::geometry negative bufferDataset of invalid geometries in boost::geometryUse boost::geometry::svg_mapper with custom polygon
I want to delete every two lines after 3rd lines in file contain very large number of lines :
"misplaced omit" error when >centering columns
Is there a difference between "Fahrstuhl" and "Aufzug"
Unclear about dynamic binding
How to check if all elements of 1 list are in the *same quantity* and in any order, in the list2?
Why do airplanes bank sharply to the right after air-to-air refueling?
Is there a way to save my career from absolute disaster?
Does Germany produce more waste than the US?
Prepend last line of stdin to entire stdin
Do I need to write [sic] when a number is less than 10 but isn't written out?
Why is quantifier elimination desirable for a given theory?
Is micro rebar a better way to reinforce concrete than rebar?
How many extra stops do monopods offer for tele photographs?
Make solar eclipses exceedingly rare, but still have new moons
Some questions about different axiomatic systems for neighbourhoods
Is it professional to write unrelated content in an almost-empty email?
Why, when going from special to general relativity, do we just replace partial derivatives with covariant derivatives?
How to install OpenCV on Raspbian Stretch?
Domestic-to-international connection at Orlando (MCO)
What is the value of α and β in a triangle?
Why didn't Khan get resurrected in the Genesis Explosion?
Reference request: Grassmannian and Plucker coordinates in type B, C, D
What steps are necessary to read a Modern SSD in Medieval Europe?
WOW air has ceased operation, can I get my tickets refunded?
using boost::geometry::buffer function
The Next CEO of Stack OverflowWhy do we need virtual functions in C++?How to use Boost in Visual Studio 2010How to install Boost on Ubuntuboost::geometry::read_wkt alternative?Register QRectF with Boost GeometryBoost Geometry: Templating BOOST_GEOMETRY_REGISTER_BOX_2D_4VALUESNegative buffer of Boost::geometry::multi_polygonDistance in the Boost::geometry negative bufferDataset of invalid geometries in boost::geometryUse boost::geometry::svg_mapper with custom polygon
It's my first time in using boost libraries, so I'm quite uncomfortable with it and I might be doing something wrong. I'm experiencing some problems while using boost::geometry::buffer() function.
Here's my code:
#include <vector>
#include <boostgeometry.hpp>
#include <boostgeometrygeometriesregisterpoint.hpp>
struct PNT_2D
double x, y;
;
BOOST_GEOMETRY_REGISTER_POINT_2D(PNT_2D, double, boost::geometry::cs::cartesian, x, y);
typedef boost::geometry::model::polygon<PNT_2D, false> BoostPolygon;
typedef std::vector<PNT_2D> StlPolygon;
int main(int argc, char * argv[])
int nStaph;
BoostPolygon polygon;
BoostPolygon off_polygon;
PNT_2D p2dPunto;
StlPolygon stlPolygon;
stlPolygon.resize(5);
stlPolygon[0].x = stlPolygon[0].y = stlPolygon[4].x = stlPolygon[4].y = 0.0;
stlPolygon[1].x = 25.0; stlPolygon[1].y = 0.0;
stlPolygon[2].x = 25.0; stlPolygon[2].y = 25.0;
stlPolygon[3].x = 0.0; stlPolygon[3].y = 25.0;
boost::geometry::append(polygon, stlPolygon);
boost::geometry::buffer(polygon, off_polygon, 1);
stlPolygon = off_polygon.outer();
for (auto punto = stlPolygon.begin(); punto != stlPolygon.end(); punto++)
std::cout << "(" << punto->x << ", " << punto->y << ")" << std::endl;
which gives the following error in compiling:
'int boost::mpl::assertion_failed<false>(boost::mpl::assert<false>::type)': impossibile convertire l'argomento 1 da 'boost::mpl::failed ************(__thiscall boost::geometry::nyi::not_implemented_error<boost::geometry::info::POLYGON,boost::geometry::info::POLYGON,void>::THIS_OPERATION_IS_NOT_OR_NOT_YET_IMPLEMENTED::* ***********)(boost::mpl::assert_::types<Term1,Term2,Term3,boost::mpl::na>)' a 'boost::mpl::assert<false>::type'
What am I missing?
EDIT
I've updated my code in the following way:
//////////////////////// DEFINITIONS
typedef BG::model::polygon<PNT_2D, false> BoostPolygon;
typedef BG::model::multi_polygon<BoostPolygon> BoostMultiPolygon;
typedef SB::distance_symmetric<double> DistanceStrategy;
typedef SB::end_round EndStrategy;
typedef SB::join_round JoinStrategy;
typedef SB::point_circle PointStrategy;
typedef SB::side_straight SideStrategy;
typedef std::vector<PNT_2D> StlPolygon;
/////////////////////////////////////////////////////////////
///////////////////////// CODE
BoostMultiPolygon off_polygon;
BoostPolygon polygon;
DistanceStrategy distance_strategy(1.0);
EndStrategy end_strategy;
JoinStrategy join_strategy;
PointStrategy point_strategy;
PNT_2D p2dPunto;
SideStrategy side_strategy;
StlPolygon stlPolygon;
p2dPunto.x = p2dPunto.y = 0.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 25.0; p2dPunto.y = 0.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 25.0; p2dPunto.y = 25.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 0.0; p2dPunto.y = 25.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 0.0; p2dPunto.y = 0.0;
boost::geometry::append(polygon, p2dPunto);
boost::geometry::buffer(polygon, off_polygon, distance_strategy, side_strategy, join_strategy, end_strategy, point_strategy);
for (auto poligono = off_polygon.begin(); poligono != off_polygon.end(); poligono++)
for (auto punto = poligono->outer().begin(); punto != poligono->outer().end(); punto++)
std::cout << "(" << punto->x << ", " << punto->y << ")" << std::endl;
std::cin >> nStaph;
return EXIT_SUCCESS;
And now I've got this error:
'std::copy::_Unchecked_iterators::_Deprecate': Call to 'std::copy' with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
Not in the main project, but in xutility.
c++ boost boost-geometry
add a comment |
It's my first time in using boost libraries, so I'm quite uncomfortable with it and I might be doing something wrong. I'm experiencing some problems while using boost::geometry::buffer() function.
Here's my code:
#include <vector>
#include <boostgeometry.hpp>
#include <boostgeometrygeometriesregisterpoint.hpp>
struct PNT_2D
double x, y;
;
BOOST_GEOMETRY_REGISTER_POINT_2D(PNT_2D, double, boost::geometry::cs::cartesian, x, y);
typedef boost::geometry::model::polygon<PNT_2D, false> BoostPolygon;
typedef std::vector<PNT_2D> StlPolygon;
int main(int argc, char * argv[])
int nStaph;
BoostPolygon polygon;
BoostPolygon off_polygon;
PNT_2D p2dPunto;
StlPolygon stlPolygon;
stlPolygon.resize(5);
stlPolygon[0].x = stlPolygon[0].y = stlPolygon[4].x = stlPolygon[4].y = 0.0;
stlPolygon[1].x = 25.0; stlPolygon[1].y = 0.0;
stlPolygon[2].x = 25.0; stlPolygon[2].y = 25.0;
stlPolygon[3].x = 0.0; stlPolygon[3].y = 25.0;
boost::geometry::append(polygon, stlPolygon);
boost::geometry::buffer(polygon, off_polygon, 1);
stlPolygon = off_polygon.outer();
for (auto punto = stlPolygon.begin(); punto != stlPolygon.end(); punto++)
std::cout << "(" << punto->x << ", " << punto->y << ")" << std::endl;
which gives the following error in compiling:
'int boost::mpl::assertion_failed<false>(boost::mpl::assert<false>::type)': impossibile convertire l'argomento 1 da 'boost::mpl::failed ************(__thiscall boost::geometry::nyi::not_implemented_error<boost::geometry::info::POLYGON,boost::geometry::info::POLYGON,void>::THIS_OPERATION_IS_NOT_OR_NOT_YET_IMPLEMENTED::* ***********)(boost::mpl::assert_::types<Term1,Term2,Term3,boost::mpl::na>)' a 'boost::mpl::assert<false>::type'
What am I missing?
EDIT
I've updated my code in the following way:
//////////////////////// DEFINITIONS
typedef BG::model::polygon<PNT_2D, false> BoostPolygon;
typedef BG::model::multi_polygon<BoostPolygon> BoostMultiPolygon;
typedef SB::distance_symmetric<double> DistanceStrategy;
typedef SB::end_round EndStrategy;
typedef SB::join_round JoinStrategy;
typedef SB::point_circle PointStrategy;
typedef SB::side_straight SideStrategy;
typedef std::vector<PNT_2D> StlPolygon;
/////////////////////////////////////////////////////////////
///////////////////////// CODE
BoostMultiPolygon off_polygon;
BoostPolygon polygon;
DistanceStrategy distance_strategy(1.0);
EndStrategy end_strategy;
JoinStrategy join_strategy;
PointStrategy point_strategy;
PNT_2D p2dPunto;
SideStrategy side_strategy;
StlPolygon stlPolygon;
p2dPunto.x = p2dPunto.y = 0.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 25.0; p2dPunto.y = 0.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 25.0; p2dPunto.y = 25.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 0.0; p2dPunto.y = 25.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 0.0; p2dPunto.y = 0.0;
boost::geometry::append(polygon, p2dPunto);
boost::geometry::buffer(polygon, off_polygon, distance_strategy, side_strategy, join_strategy, end_strategy, point_strategy);
for (auto poligono = off_polygon.begin(); poligono != off_polygon.end(); poligono++)
for (auto punto = poligono->outer().begin(); punto != poligono->outer().end(); punto++)
std::cout << "(" << punto->x << ", " << punto->y << ")" << std::endl;
std::cin >> nStaph;
return EXIT_SUCCESS;
And now I've got this error:
'std::copy::_Unchecked_iterators::_Deprecate': Call to 'std::copy' with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
Not in the main project, but in xutility.
c++ boost boost-geometry
add a comment |
It's my first time in using boost libraries, so I'm quite uncomfortable with it and I might be doing something wrong. I'm experiencing some problems while using boost::geometry::buffer() function.
Here's my code:
#include <vector>
#include <boostgeometry.hpp>
#include <boostgeometrygeometriesregisterpoint.hpp>
struct PNT_2D
double x, y;
;
BOOST_GEOMETRY_REGISTER_POINT_2D(PNT_2D, double, boost::geometry::cs::cartesian, x, y);
typedef boost::geometry::model::polygon<PNT_2D, false> BoostPolygon;
typedef std::vector<PNT_2D> StlPolygon;
int main(int argc, char * argv[])
int nStaph;
BoostPolygon polygon;
BoostPolygon off_polygon;
PNT_2D p2dPunto;
StlPolygon stlPolygon;
stlPolygon.resize(5);
stlPolygon[0].x = stlPolygon[0].y = stlPolygon[4].x = stlPolygon[4].y = 0.0;
stlPolygon[1].x = 25.0; stlPolygon[1].y = 0.0;
stlPolygon[2].x = 25.0; stlPolygon[2].y = 25.0;
stlPolygon[3].x = 0.0; stlPolygon[3].y = 25.0;
boost::geometry::append(polygon, stlPolygon);
boost::geometry::buffer(polygon, off_polygon, 1);
stlPolygon = off_polygon.outer();
for (auto punto = stlPolygon.begin(); punto != stlPolygon.end(); punto++)
std::cout << "(" << punto->x << ", " << punto->y << ")" << std::endl;
which gives the following error in compiling:
'int boost::mpl::assertion_failed<false>(boost::mpl::assert<false>::type)': impossibile convertire l'argomento 1 da 'boost::mpl::failed ************(__thiscall boost::geometry::nyi::not_implemented_error<boost::geometry::info::POLYGON,boost::geometry::info::POLYGON,void>::THIS_OPERATION_IS_NOT_OR_NOT_YET_IMPLEMENTED::* ***********)(boost::mpl::assert_::types<Term1,Term2,Term3,boost::mpl::na>)' a 'boost::mpl::assert<false>::type'
What am I missing?
EDIT
I've updated my code in the following way:
//////////////////////// DEFINITIONS
typedef BG::model::polygon<PNT_2D, false> BoostPolygon;
typedef BG::model::multi_polygon<BoostPolygon> BoostMultiPolygon;
typedef SB::distance_symmetric<double> DistanceStrategy;
typedef SB::end_round EndStrategy;
typedef SB::join_round JoinStrategy;
typedef SB::point_circle PointStrategy;
typedef SB::side_straight SideStrategy;
typedef std::vector<PNT_2D> StlPolygon;
/////////////////////////////////////////////////////////////
///////////////////////// CODE
BoostMultiPolygon off_polygon;
BoostPolygon polygon;
DistanceStrategy distance_strategy(1.0);
EndStrategy end_strategy;
JoinStrategy join_strategy;
PointStrategy point_strategy;
PNT_2D p2dPunto;
SideStrategy side_strategy;
StlPolygon stlPolygon;
p2dPunto.x = p2dPunto.y = 0.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 25.0; p2dPunto.y = 0.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 25.0; p2dPunto.y = 25.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 0.0; p2dPunto.y = 25.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 0.0; p2dPunto.y = 0.0;
boost::geometry::append(polygon, p2dPunto);
boost::geometry::buffer(polygon, off_polygon, distance_strategy, side_strategy, join_strategy, end_strategy, point_strategy);
for (auto poligono = off_polygon.begin(); poligono != off_polygon.end(); poligono++)
for (auto punto = poligono->outer().begin(); punto != poligono->outer().end(); punto++)
std::cout << "(" << punto->x << ", " << punto->y << ")" << std::endl;
std::cin >> nStaph;
return EXIT_SUCCESS;
And now I've got this error:
'std::copy::_Unchecked_iterators::_Deprecate': Call to 'std::copy' with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
Not in the main project, but in xutility.
c++ boost boost-geometry
It's my first time in using boost libraries, so I'm quite uncomfortable with it and I might be doing something wrong. I'm experiencing some problems while using boost::geometry::buffer() function.
Here's my code:
#include <vector>
#include <boostgeometry.hpp>
#include <boostgeometrygeometriesregisterpoint.hpp>
struct PNT_2D
double x, y;
;
BOOST_GEOMETRY_REGISTER_POINT_2D(PNT_2D, double, boost::geometry::cs::cartesian, x, y);
typedef boost::geometry::model::polygon<PNT_2D, false> BoostPolygon;
typedef std::vector<PNT_2D> StlPolygon;
int main(int argc, char * argv[])
int nStaph;
BoostPolygon polygon;
BoostPolygon off_polygon;
PNT_2D p2dPunto;
StlPolygon stlPolygon;
stlPolygon.resize(5);
stlPolygon[0].x = stlPolygon[0].y = stlPolygon[4].x = stlPolygon[4].y = 0.0;
stlPolygon[1].x = 25.0; stlPolygon[1].y = 0.0;
stlPolygon[2].x = 25.0; stlPolygon[2].y = 25.0;
stlPolygon[3].x = 0.0; stlPolygon[3].y = 25.0;
boost::geometry::append(polygon, stlPolygon);
boost::geometry::buffer(polygon, off_polygon, 1);
stlPolygon = off_polygon.outer();
for (auto punto = stlPolygon.begin(); punto != stlPolygon.end(); punto++)
std::cout << "(" << punto->x << ", " << punto->y << ")" << std::endl;
which gives the following error in compiling:
'int boost::mpl::assertion_failed<false>(boost::mpl::assert<false>::type)': impossibile convertire l'argomento 1 da 'boost::mpl::failed ************(__thiscall boost::geometry::nyi::not_implemented_error<boost::geometry::info::POLYGON,boost::geometry::info::POLYGON,void>::THIS_OPERATION_IS_NOT_OR_NOT_YET_IMPLEMENTED::* ***********)(boost::mpl::assert_::types<Term1,Term2,Term3,boost::mpl::na>)' a 'boost::mpl::assert<false>::type'
What am I missing?
EDIT
I've updated my code in the following way:
//////////////////////// DEFINITIONS
typedef BG::model::polygon<PNT_2D, false> BoostPolygon;
typedef BG::model::multi_polygon<BoostPolygon> BoostMultiPolygon;
typedef SB::distance_symmetric<double> DistanceStrategy;
typedef SB::end_round EndStrategy;
typedef SB::join_round JoinStrategy;
typedef SB::point_circle PointStrategy;
typedef SB::side_straight SideStrategy;
typedef std::vector<PNT_2D> StlPolygon;
/////////////////////////////////////////////////////////////
///////////////////////// CODE
BoostMultiPolygon off_polygon;
BoostPolygon polygon;
DistanceStrategy distance_strategy(1.0);
EndStrategy end_strategy;
JoinStrategy join_strategy;
PointStrategy point_strategy;
PNT_2D p2dPunto;
SideStrategy side_strategy;
StlPolygon stlPolygon;
p2dPunto.x = p2dPunto.y = 0.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 25.0; p2dPunto.y = 0.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 25.0; p2dPunto.y = 25.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 0.0; p2dPunto.y = 25.0;
boost::geometry::append(polygon, p2dPunto);
p2dPunto.x = 0.0; p2dPunto.y = 0.0;
boost::geometry::append(polygon, p2dPunto);
boost::geometry::buffer(polygon, off_polygon, distance_strategy, side_strategy, join_strategy, end_strategy, point_strategy);
for (auto poligono = off_polygon.begin(); poligono != off_polygon.end(); poligono++)
for (auto punto = poligono->outer().begin(); punto != poligono->outer().end(); punto++)
std::cout << "(" << punto->x << ", " << punto->y << ")" << std::endl;
std::cin >> nStaph;
return EXIT_SUCCESS;
And now I've got this error:
'std::copy::_Unchecked_iterators::_Deprecate': Call to 'std::copy' with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
Not in the main project, but in xutility.
c++ boost boost-geometry
c++ boost boost-geometry
edited Mar 11 at 10:14
IssamTP
asked Mar 8 at 15:40
IssamTPIssamTP
1,64411738
1,64411738
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
- The code you present is to buffer a box. For a buffer with a polygon,
you (currently) need to use the buffer-with-strategies (see doc
with an example there) - If you do that, and provide strategies, the result should be a multi-polygon
- Your sample is effectively using a box, so that might be an option
too. But then your input geometry should fulfil the box concept
Hi, thanks for answering, I've updated the question with new code and the new error.
– IssamTP
Mar 11 at 10:15
The answer is in the message: "To disable this warning, use -D_SCL_SECURE_NO_WARNINGS".
– Barend Gehrels
Mar 13 at 8:53
I guessed, in fact I've resolved in this way but I feel uncomfortable with this, just wondering if there's another.
– IssamTP
Mar 19 at 17:44
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55066499%2fusing-boostgeometrybuffer-function%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
- The code you present is to buffer a box. For a buffer with a polygon,
you (currently) need to use the buffer-with-strategies (see doc
with an example there) - If you do that, and provide strategies, the result should be a multi-polygon
- Your sample is effectively using a box, so that might be an option
too. But then your input geometry should fulfil the box concept
Hi, thanks for answering, I've updated the question with new code and the new error.
– IssamTP
Mar 11 at 10:15
The answer is in the message: "To disable this warning, use -D_SCL_SECURE_NO_WARNINGS".
– Barend Gehrels
Mar 13 at 8:53
I guessed, in fact I've resolved in this way but I feel uncomfortable with this, just wondering if there's another.
– IssamTP
Mar 19 at 17:44
add a comment |
- The code you present is to buffer a box. For a buffer with a polygon,
you (currently) need to use the buffer-with-strategies (see doc
with an example there) - If you do that, and provide strategies, the result should be a multi-polygon
- Your sample is effectively using a box, so that might be an option
too. But then your input geometry should fulfil the box concept
Hi, thanks for answering, I've updated the question with new code and the new error.
– IssamTP
Mar 11 at 10:15
The answer is in the message: "To disable this warning, use -D_SCL_SECURE_NO_WARNINGS".
– Barend Gehrels
Mar 13 at 8:53
I guessed, in fact I've resolved in this way but I feel uncomfortable with this, just wondering if there's another.
– IssamTP
Mar 19 at 17:44
add a comment |
- The code you present is to buffer a box. For a buffer with a polygon,
you (currently) need to use the buffer-with-strategies (see doc
with an example there) - If you do that, and provide strategies, the result should be a multi-polygon
- Your sample is effectively using a box, so that might be an option
too. But then your input geometry should fulfil the box concept
- The code you present is to buffer a box. For a buffer with a polygon,
you (currently) need to use the buffer-with-strategies (see doc
with an example there) - If you do that, and provide strategies, the result should be a multi-polygon
- Your sample is effectively using a box, so that might be an option
too. But then your input geometry should fulfil the box concept
answered Mar 8 at 19:31
Barend GehrelsBarend Gehrels
91758
91758
Hi, thanks for answering, I've updated the question with new code and the new error.
– IssamTP
Mar 11 at 10:15
The answer is in the message: "To disable this warning, use -D_SCL_SECURE_NO_WARNINGS".
– Barend Gehrels
Mar 13 at 8:53
I guessed, in fact I've resolved in this way but I feel uncomfortable with this, just wondering if there's another.
– IssamTP
Mar 19 at 17:44
add a comment |
Hi, thanks for answering, I've updated the question with new code and the new error.
– IssamTP
Mar 11 at 10:15
The answer is in the message: "To disable this warning, use -D_SCL_SECURE_NO_WARNINGS".
– Barend Gehrels
Mar 13 at 8:53
I guessed, in fact I've resolved in this way but I feel uncomfortable with this, just wondering if there's another.
– IssamTP
Mar 19 at 17:44
Hi, thanks for answering, I've updated the question with new code and the new error.
– IssamTP
Mar 11 at 10:15
Hi, thanks for answering, I've updated the question with new code and the new error.
– IssamTP
Mar 11 at 10:15
The answer is in the message: "To disable this warning, use -D_SCL_SECURE_NO_WARNINGS".
– Barend Gehrels
Mar 13 at 8:53
The answer is in the message: "To disable this warning, use -D_SCL_SECURE_NO_WARNINGS".
– Barend Gehrels
Mar 13 at 8:53
I guessed, in fact I've resolved in this way but I feel uncomfortable with this, just wondering if there's another.
– IssamTP
Mar 19 at 17:44
I guessed, in fact I've resolved in this way but I feel uncomfortable with this, just wondering if there's another.
– IssamTP
Mar 19 at 17:44
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55066499%2fusing-boostgeometrybuffer-function%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown