Skip to content
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

GeoJson: Add factory methods to create Geometries from primitive arrays #171

Closed
ivovandongen opened this issue Aug 10, 2016 · 0 comments
Closed

Comments

@ivovandongen
Copy link
Contributor

When using the geojson classes from jni, there is a performance hit as all factory methods are now neatly typed. For example: MultiPolygon#fromCoordinates(List<List<List<Position>>> coordinates). This means creating multiple nested arrays of Position objects and turning all of those into Lists. This is great from Java, very messy from jni.

Let's add methods like: MultiPolygon#fromCoordinates(double[][][][] coordinates) (already lost count of the []'s)

cc @zugaldia

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

No branches or pull requests

1 participant