Comments (5)
Fixed partially but not quite, full fix in progress — will have to index concave hull segments with rbush too, and check intersections against all segments.
from concaveman.
@mourner any updates on a full fix for self-intersections?
from concaveman.
@rhwang201 did a full fix in b2f27df. Are you experiencing a failing case?
from concaveman.
@mourner seeing self-intersections in a project that uses concaveman
to generate polygons. https://github.com/urbica/galton uses https://github.com/stepankuzmin/node-isochrone, which uses v1.1.1 of concaveman, which includes that commit.
Can reproduce by starting a local Galton server following the "Example" section in the README, and then examining the output of curl http://localhost:4000 --get --data 'lng=-122.139935&lat=37.422744&intervals=15&bufferSize=50&cellWidth=0.5&concavity=3&resolution=20000
from concaveman.
Can you set up a self-contained test case (just concaveman, without any additional libraries and servers)?
from concaveman.
Related Issues (15)
- extend to 3d cluster of points HOT 1
- feature request: 3D HOT 1
- Is there a way to add a buffer to the concave? HOT 2
- Does the library guarantee that the coords will be picked from the input points and not cloned? HOT 1
- Look at replacing robust-orientation with robust-predicates HOT 2
- TypeError: Queue is not a constructor HOT 16
- function doesn't return original coordinates HOT 1
- Interactive demo HOT 1
- Standalone bundled script
- guidelines for getting consistent results HOT 5
- Support esm
- Ordering? HOT 1
- concave hull with break lines HOT 4
- FeatureRequest: Segments as input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concaveman.