-
Notifications
You must be signed in to change notification settings - Fork 117
Adding combine turf method #1008
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
For example, MultiLineString newMultiLineStringObject = (MultiLineString) TurfConversion.combine(lineStringFeatureCollection); |
75a28eb to
f59f7e6
Compare
services-turf/src/main/java/com/mapbox/turf/TurfConversion.java
Outdated
Show resolved
Hide resolved
f59f7e6 to
9e4cf36
Compare
ba1cf30 to
730297d
Compare
730297d to
9ec9092
Compare
services-turf/src/main/java/com/mapbox/turf/TurfConversion.java
Outdated
Show resolved
Hide resolved
44c9d07 to
28b2d4a
Compare
Fixed |
c3524ee to
c1cfb88
Compare
|
Ok,
|
|
👉👉@tobrun |
services-turf/src/main/java/com/mapbox/turf/TurfConversion.java
Outdated
Show resolved
Hide resolved
c1cfb88 to
8a689c9
Compare
7bd27f1 to
b3b2013
Compare
|
Ok @tobrun . Pushed some changes and responded to comments above. Would love another round of eyes when you get a chance 🙇 |
b3b2013 to
f513c43
Compare
|
👉👉 @tobrun 😬 |
The |
74a2354 to
071a8d5
Compare
I'd missed the inclusion of the Refactored the method implementation and tests so that Would love another round of 👀 when ya'll get a chance. |
071a8d5 to
4c40700
Compare
4c40700 to
b976805
Compare
This pr ports the combine method to Turf for Java. This method takes a
FeatureCollectionofPoint,LineString, orPolygonfeatures and returns aGeometry. The returnedGeometrycan be used to create aMultiPoint,MultiLineString, orMultiPolygonfeature.http://turfjs.org/docs/#combine
https://github.com/Turfjs/turf/blob/master/packages/turf-combine/index.ts
combine(FeatureCollection featureCollection)is the new method added to theTurfConversionclass.