dropchop icon indicating copy to clipboard operation
dropchop copied to clipboard

Points buffer omits some points

Open tolomaps opened this issue 9 years ago • 9 comments

First of all: dropchop is awesome. Thank you!

I uploaded a basic geojson with some points and ran a buffer on them, but oddly two of the points didn't get a buffer. I ran the same thing in QGIS and all of the points got a buffer, so I know it's not an issue with the file itself. Attaching some screenshots here.

screen shot 2016-02-23 at 10 49 16 pm screen shot 2016-02-23 at 10 46 01 pm

tolomaps avatar Feb 24 '16 05:02 tolomaps

Thanks for getting in touch @tolomaps. Can you share your geojson file so we can test it? You can upload it to gist.github.com.

nickpeihl avatar Feb 24 '16 06:02 nickpeihl

Sure thing @npeihl. Here it is.

tolomaps avatar Feb 24 '16 15:02 tolomaps

Just to add some confusion to the fire: When I test the file in Dropchop, the buffer for Cairo works only when miles < 82 or kilometers < 130 (82mi == 130km). There's something funky going on here...

alukach avatar Feb 24 '16 17:02 alukach

I received the same problem with turf buffer on the command line. So this is not strictly dropchop related. More research is necessary.

nickpeihl avatar Feb 24 '16 17:02 nickpeihl

Uh oh. What are next steps? Anything I can do to help?

On Wed, Feb 24, 2016, 11:28 AM Nick Peihl [email protected] wrote:

I received the same problem with turf buffer on the command line. So this is not strictly dropchop related. More research is necessary.

— Reply to this email directly or view it on GitHub https://github.com/cugos/dropchop/issues/253#issuecomment-188365202.

tolomaps avatar Feb 24 '16 17:02 tolomaps

@tolomaps You could check the issues at https://github.com/Turfjs/turf-buffer/issues and see if any are similar to yours and mention this issue as an example.

nickpeihl avatar Feb 24 '16 18:02 nickpeihl

@npeihl can you share your Turf command line example?

alukach avatar Feb 24 '16 19:02 alukach

@alukach I had to run npm install -g turf-cli to install the Turf command line globally. Then I ran turf buffer cities.geojson 100 miles > cities_buffer.geojson to create the buffer file.

nickpeihl avatar Feb 24 '16 19:02 nickpeihl