private List<Coordinate[]> getCoordinateArrays(List<Geometry> geometries) {
		List<Coordinate[]> res = new ArrayList<Coordinate[]>();
		for (Geometry geometry : geometries) {
			res.add(geometry.getCoordinates());
		}
		return res;
	}
private List < Coordinate [ ] > getCoordinateArrays ( List < Geometry > geometries ) { List < Coordinate [ ] > res = new ArrayList < Coordinate [ ] > ( ) ; for ( Geometry geometry : geometries ) { res . add ( geometry . getCoordinates ( ) ) ; } return res ; }
Transform the list of geometries into a list of coordinate arrays.