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
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 ofPositionobjects and turning all of those intoLists. 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