Skip to content

Buffer zone transform #916

Closed
Closed

Description

@ArtCodeKarine

Hello everybody,
I wish to know how i can resolve my problem :
when the buffer zone touches itself, it makes only one area instead of making a "hole" in the middle. Even if the zone is not close. Do you have a solution for it to overlap and it does not merge?
buffer1
buffer2

Activity

  1. rowanwins commented on Aug 24, 2017

    @rowanwins
    Member

    Hi @ArtCodeKarine

    Short answer is there is probably no a answer at the moment.

    Unfortunately the buffer module currently uses the jsts library under the hood so we had limited ability to apply fixes for bugs like these. We're currently attempting to remove that dependency but as Im sure you can see it's quite complicated so it's still a little way off sorry :(

  2. ArtCodeKarine commented on Aug 24, 2017

    @ArtCodeKarine
    Author

    @rowanwins Thank's for your answer :D

  3. stebogit commented on Aug 25, 2017

    @stebogit
    Collaborator

    @ArtCodeKarine have you tried with @turf/transform-scale? It might work for you, just know you'll have to calculate your factor and define the origin (see #849).

  4. DenisCarriere commented on Aug 29, 2017

    @DenisCarriere
    Contributor

    Thanks for reporting this @ArtCodeKarine , never knew about this strange behavior, this is definitely a bug in jsts which we can't control 😢.

  5. added a commit that references this issue on Sep 11, 2017
  6. stebogit commented on Sep 12, 2017

    @stebogit
    Collaborator

    Fixed with #938

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions