Re: [Boost-bugs] [Boost C++ Libraries] #10412: Offsetting polygons with buffer strategies fails for some distances

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10412: Offsetting polygons with buffer strategies fails for some distances
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-03 09:31:58


#10412: Offsetting polygons with buffer strategies fails for some distances
-------------------------------------------------+-------------------------
  Reporter: Olivier Tournaire | Owner:
  <olivier.tournaire@…> | barendgehrels
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------+-------------------------

Comment (by barendgehrels):

 Replying to [comment:3 Olivier Tournaire <olivier.tournaire@…>]:

 Hi Olivier,
 Your WKT is wrong in one place. Anyway I could correct that. But your WKT
 looks then as a perfect result. It gives no self-intersections and the
 area is correct. Verified also in SQL Server.

 So I don't know where your screendump comes from, but it does not
 correspond with your WKT.


 {{{
 with viewy as
 (
 select geometry::STGeomFromText('MULTIPOLYGON(((897758.022176
 6270477.86127,897753.924459 6270479.79837,897753.260513
 6270478.36834,897752.590961 6270476.92625,897751.19031
 6270477.67851,897745.79031 6270480.57851,897744.589559
 6270481.2233,897744.578987 6270481.20053,897743.167095
 6270481.99124,897740.667095 6270483.39124,897739.456815
 6270484.06895,897740.038061 6270485.32859,897740.628807
 6270486.60855,897740.158704 6270486.8436,897739.681451
 6270485.71554,897739.030794 6270484.17788,897737.571536
 6270484.98877,897734.871536 6270486.48877,897734.322818
 6270486.79342,897734.154723 6270487.39854,897731.662883
 6270496.36917,897729.772209 6270502.24021,897729.349234
 6270503.55367,897730.5627 6270504.05945,897730.521382
 6270504.19259,897729.321449 6270503.79231,897728.867404
 6270505.2554,897724.367404 6270519.7554,897723.989739
 6270520.97227,897724.950215 6270521.45221,897724.583255
 6270522.50722,897724.091322 6270523.92089,897725.504474
 6270524.41579,897726.166015 6270524.64733,897724.858639
 6270529.1847,897724.446665 6270530.61434,897725.872977
 6270531.03794,897740.935934 6270535.51118,897739.761803
 6270539.47387,897739.353324 6270540.85215,897740.713158
 6270541.3188,897749.631289 6270544.37894,897749.239238
 6270546.05916,897748.924674 6270547.40667,897750.242836
 6270547.82864,897751.319656 6270548.17321,897746.369626
 6270563.84831,897745.922589 6270565.26383,897747.333441
 6270565.7256,897763.833441 6270571.1256,897765.290232
 6270571.60234,897765.735356 6270570.13561,897777.935356
 6270529.93561,897778.378151 6270528.47657,897776.912082
 6270528.05772,897768.512082 6270525.65772,897766.973821
 6270525.21819,897766.634235 6270526.78136,897766.484462
 6270527.47033,897756.764653 6270524.37375,897747.679795
 6270521.34548,897753.428807 6270503.35663,897753.857197
 6270502.01612,897752.546599 6270501.50314,897751.949361
 6270501.26944,897753.07992 6270500.5813,897754.011277
 6270500.01439,897754.470123 6270500.89385,897755.181727
 6270502.25806,897756.527452 6270501.5118,897767.527452
 6270495.4118,897768.615091 6270494.80865,897768.426519
 6270495.64354,897769.778325 6270496.03951,897779.678325
 6270498.93951,897781.094901 6270499.35448,897781.532596
 6270497.9446,897781.973939 6270496.52252,897786.311014
 6270498.01806,897787.810238 6270498.53502,897788.243056
 6270497.00938,897792.243056 6270482.90938,897792.636401
 6270481.5228,897791.266559 6270481.07441,897787.081458
 6270479.70474,897787.358581 6270478.55006,897787.691239
 6270477.16332,897786.323249 6270476.76095,897769.323249
 6270471.76095,897767.902001 6270471.34296,897767.466331
 6270472.75887,897767.104364 6270473.93527,897766.531022
 6270473.76326,897765.934035 6270473.58454,897765.386724
 6270473.88044,897758.022176 6270477.86127),(897745.949075
 6270483.99703,897745.891685 6270484.02777,897745.512854
 6270483.21183,897745.949075 6270483.99703),(897751.587432
 6270501.12781,897751.644105 6270500.96346,897751.828698
 6270501.22222,897751.587432 6270501.12781),(897768.669004
 6270494.56997,897768.161939 6270493.47142,897767.641372
 6270492.34352,897768.290014 6270492.10328,897769.151215
 6270492.43451,897768.736838 6270494.26961,897768.669004
 6270494.56997)))',0) as geo1
 )
 select geo1.STArea() from viewy
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10412#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC