Turfjs/turf-buffer

jsts ignoring multiple holes

morganherlocker opened this issue · 0 comments

var buffered = turf.buffer({
      "type": "Feature",
      "properties": {},
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              -1.0052490234375,
              38.248965760244644
            ],
            [
              -1.68365478515625,
              38.06539235133249
            ],
            [
              -1.71112060546875,
              37.57723579111111
            ],
            [
              -0.626220703125,
              37.45741810262938
            ],
            [
              -0.70587158203125,
              37.98966904403617
            ],
            [
              -1.0052490234375,
              38.248965760244644
            ]
          ],
          [
            [
              -1.10687255859375,
              38.052416771864834
            ],
            [
              -1.329345703125,
              38.037275688165614
            ],
            [
              -1.37054443359375,
              37.79676317682161
            ],
            [
              -1.1700439453125,
              37.785910776551354
            ],
            [
              -1.10687255859375,
              38.052416771864834
            ]
          ],
          [
            [
              -0.9365844726562499,
              37.92686760148135
            ],
            [
              -1.03271484375,
              37.83364941345968
            ],
            [
              -0.94482421875,
              37.80327385185868
            ],
            [
              -0.9365844726562499,
              37.92686760148135
            ]
          ]
        ]
      }
    },
2, 'miles');

in

out