code: private Polygon createPolygon(double[][][] coordinates, CrsId crsId) {
          LinearRing[] rings = new LinearRing[coordinates.length];
          for (int i = 0; i < coordinates.length; i++) {
              rings[i] = new LinearRing(createPointSequence(coordinates[i], crsId));
          }
          return new Polygon(rings);
      }
docs: Creates a polygon starting from its geojson coordinate array
  
  @param coordinates the geojson coordinate array
  @param crsId       the srid of the crs to use
  @return a geolatte polygon instance