Class GeometryWrapperFactory


  • public class GeometryWrapperFactory
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static GeometryWrapper createGeometry​(org.locationtech.jts.geom.Geometry geometry, java.lang.String geometryDatatypeURI)
      Create Geometry GeometryWrapper using the default WKT CRS84 SRS URI.
      static GeometryWrapper createGeometry​(org.locationtech.jts.geom.Geometry geometry, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create Geometry GeometryWrapper.
      static GeometryWrapper createGeometryCollection​(java.util.List<org.locationtech.jts.geom.Geometry> geometries, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create GeometryCollection GeometryWrapper.
      static GeometryWrapper createLineString​(java.util.List<org.locationtech.jts.geom.Coordinate> coordinates, java.lang.String geometryDatatypeURI)
      Create LineString GeometryWrapper using the default WKT CRS84 SRS URI.
      static GeometryWrapper createLineString​(java.util.List<org.locationtech.jts.geom.Coordinate> coordinates, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create LineString GeometryWrapper.
      static GeometryWrapper createLineString​(org.locationtech.jts.geom.Coordinate[] coordinates, java.lang.String geometryDatatypeURI)
      Create LineString GeometryWrapper using the default WKT CRS84 SRS URI.
      static GeometryWrapper createLineString​(org.locationtech.jts.geom.Coordinate[] coordinates, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create LineString GeometryWrapper.
      static GeometryWrapper createLineString​(org.locationtech.jts.geom.LineString lineString, java.lang.String geometryDatatypeURI)
      Create LineString GeometryWrapper using the default WKT CRS84 SRS URI.
      static GeometryWrapper createLineString​(org.locationtech.jts.geom.LineString lineString, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create LineString GeometryWrapper.
      static GeometryWrapper createMultiLineString​(java.util.List<org.locationtech.jts.geom.LineString> lineStrings, java.lang.String geometryDatatypeURI)
      Create MultiLineString GeometryWrapper using the default WKT CRS84 SRS URI.
      static GeometryWrapper createMultiLineString​(java.util.List<org.locationtech.jts.geom.LineString> lineStrings, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create MultiLineString GeometryWrapper.
      static GeometryWrapper createMultiPoint​(java.util.List<org.locationtech.jts.geom.Coordinate> coordinates, java.lang.String geometryDatatypeURI)
      Create MultiPoint GeometryWrapper using the default WKT CRS84 SRS URI.
      static GeometryWrapper createMultiPoint​(java.util.List<org.locationtech.jts.geom.Coordinate> coordinates, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create MultiPoint GeometryWrapper.
      static GeometryWrapper createMultiPolygon​(java.util.List<org.locationtech.jts.geom.Polygon> polygons, java.lang.String geometryDatatypeURI)
      Create MultiPolygon GeometryWrapper using the default WKT CRS84 SRS URI.
      static GeometryWrapper createMultiPolygon​(java.util.List<org.locationtech.jts.geom.Polygon> polygons, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create MultiPolygon GeometryWrapper.
      static GeometryWrapper createPoint​(org.locationtech.jts.geom.Coordinate coordinate, java.lang.String geometryDatatypeURI)
      Create Point GeometryWrapper using the default WKT CRS84 SRS URI.
      static GeometryWrapper createPoint​(org.locationtech.jts.geom.Coordinate coordinate, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create Point GeometryWrapper.
      static GeometryWrapper createPolygon​(java.util.List<org.locationtech.jts.geom.Coordinate> coordinates, java.lang.String geometryDatatypeURI)
      Create Polygon GeometryWrapper using the default WKT CRS84 SRS URI.
      static GeometryWrapper createPolygon​(java.util.List<org.locationtech.jts.geom.Coordinate> coordinates, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create Polygon GeometryWrapper.
      static GeometryWrapper createPolygon​(org.locationtech.jts.geom.Envelope envelope, java.lang.String geometryDatatypeURI)
      Create Polygon GeometryWrapper using the default WKT CRS84 SRS URI.
      static GeometryWrapper createPolygon​(org.locationtech.jts.geom.Envelope envelope, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create Polygon GeometryWrapper from Envelope.
      static GeometryWrapper createPolygon​(org.locationtech.jts.geom.LinearRing shell, java.lang.String geometryDatatypeURI)
      Create Polygon GeometryWrapper using the default WKT CRS84 SRS URI.
      static GeometryWrapper createPolygon​(org.locationtech.jts.geom.LinearRing shell, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create Polygon GeometryWrapper.
      static GeometryWrapper createPolygon​(org.locationtech.jts.geom.LinearRing shell, org.locationtech.jts.geom.LinearRing[] holes, java.lang.String geometryDatatypeURI)
      Create Polygon GeometryWrapper using the default WKT CRS84 SRS URI.
      static GeometryWrapper createPolygon​(org.locationtech.jts.geom.LinearRing shell, org.locationtech.jts.geom.LinearRing[] holes, java.lang.String srsURI, java.lang.String geometryDatatypeURI)
      Create Polygon GeometryWrapper.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeometryWrapperFactory

        public GeometryWrapperFactory()
    • Method Detail

      • createPoint

        public static final GeometryWrapper createPoint​(org.locationtech.jts.geom.Coordinate coordinate,
                                                        java.lang.String srsURI,
                                                        java.lang.String geometryDatatypeURI)
        Create Point GeometryWrapper.
        Parameters:
        coordinate - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createLineString

        public static final GeometryWrapper createLineString​(java.util.List<org.locationtech.jts.geom.Coordinate> coordinates,
                                                             java.lang.String srsURI,
                                                             java.lang.String geometryDatatypeURI)
        Create LineString GeometryWrapper.
        Parameters:
        coordinates - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createLineString

        public static final GeometryWrapper createLineString​(org.locationtech.jts.geom.Coordinate[] coordinates,
                                                             java.lang.String srsURI,
                                                             java.lang.String geometryDatatypeURI)
        Create LineString GeometryWrapper.
        Parameters:
        coordinates - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createLineString

        public static final GeometryWrapper createLineString​(org.locationtech.jts.geom.LineString lineString,
                                                             java.lang.String srsURI,
                                                             java.lang.String geometryDatatypeURI)
        Create LineString GeometryWrapper.
        Parameters:
        lineString - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createPolygon

        public static final GeometryWrapper createPolygon​(java.util.List<org.locationtech.jts.geom.Coordinate> coordinates,
                                                          java.lang.String srsURI,
                                                          java.lang.String geometryDatatypeURI)
        Create Polygon GeometryWrapper.
        Parameters:
        coordinates - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createPolygon

        public static final GeometryWrapper createPolygon​(org.locationtech.jts.geom.LinearRing shell,
                                                          org.locationtech.jts.geom.LinearRing[] holes,
                                                          java.lang.String srsURI,
                                                          java.lang.String geometryDatatypeURI)
        Create Polygon GeometryWrapper.
        Parameters:
        shell - In X/Y order.
        holes - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createPolygon

        public static final GeometryWrapper createPolygon​(org.locationtech.jts.geom.LinearRing shell,
                                                          java.lang.String srsURI,
                                                          java.lang.String geometryDatatypeURI)
        Create Polygon GeometryWrapper.
        Parameters:
        shell - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createPolygon

        public static final GeometryWrapper createPolygon​(org.locationtech.jts.geom.Envelope envelope,
                                                          java.lang.String srsURI,
                                                          java.lang.String geometryDatatypeURI)
        Create Polygon GeometryWrapper from Envelope.
        Parameters:
        envelope - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createMultiPoint

        public static final GeometryWrapper createMultiPoint​(java.util.List<org.locationtech.jts.geom.Coordinate> coordinates,
                                                             java.lang.String srsURI,
                                                             java.lang.String geometryDatatypeURI)
        Create MultiPoint GeometryWrapper.
        Parameters:
        coordinates - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createMultiLineString

        public static final GeometryWrapper createMultiLineString​(java.util.List<org.locationtech.jts.geom.LineString> lineStrings,
                                                                  java.lang.String srsURI,
                                                                  java.lang.String geometryDatatypeURI)
        Create MultiLineString GeometryWrapper.
        Parameters:
        lineStrings - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createMultiPolygon

        public static final GeometryWrapper createMultiPolygon​(java.util.List<org.locationtech.jts.geom.Polygon> polygons,
                                                               java.lang.String srsURI,
                                                               java.lang.String geometryDatatypeURI)
        Create MultiPolygon GeometryWrapper.
        Parameters:
        polygons - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createGeometryCollection

        public static final GeometryWrapper createGeometryCollection​(java.util.List<org.locationtech.jts.geom.Geometry> geometries,
                                                                     java.lang.String srsURI,
                                                                     java.lang.String geometryDatatypeURI)
        Create GeometryCollection GeometryWrapper.
        Parameters:
        geometries - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createGeometry

        public static final GeometryWrapper createGeometry​(org.locationtech.jts.geom.Geometry geometry,
                                                           java.lang.String srsURI,
                                                           java.lang.String geometryDatatypeURI)
        Create Geometry GeometryWrapper.
        Parameters:
        geometry - In X/Y order.
        srsURI -
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createPoint

        public static final GeometryWrapper createPoint​(org.locationtech.jts.geom.Coordinate coordinate,
                                                        java.lang.String geometryDatatypeURI)
        Create Point GeometryWrapper using the default WKT CRS84 SRS URI.
        Parameters:
        coordinate - In X/Y order.
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createLineString

        public static final GeometryWrapper createLineString​(org.locationtech.jts.geom.Coordinate[] coordinates,
                                                             java.lang.String geometryDatatypeURI)
        Create LineString GeometryWrapper using the default WKT CRS84 SRS URI.
        Parameters:
        coordinates - In X/Y order.
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createLineString

        public static final GeometryWrapper createLineString​(java.util.List<org.locationtech.jts.geom.Coordinate> coordinates,
                                                             java.lang.String geometryDatatypeURI)
        Create LineString GeometryWrapper using the default WKT CRS84 SRS URI.
        Parameters:
        coordinates - In X/Y order.
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createLineString

        public static final GeometryWrapper createLineString​(org.locationtech.jts.geom.LineString lineString,
                                                             java.lang.String geometryDatatypeURI)
        Create LineString GeometryWrapper using the default WKT CRS84 SRS URI.
        Parameters:
        lineString - In X/Y order.
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createPolygon

        public static final GeometryWrapper createPolygon​(java.util.List<org.locationtech.jts.geom.Coordinate> coordinates,
                                                          java.lang.String geometryDatatypeURI)
        Create Polygon GeometryWrapper using the default WKT CRS84 SRS URI.
        Parameters:
        coordinates - In X/Y order.
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createPolygon

        public static final GeometryWrapper createPolygon​(org.locationtech.jts.geom.LinearRing shell,
                                                          org.locationtech.jts.geom.LinearRing[] holes,
                                                          java.lang.String geometryDatatypeURI)
        Create Polygon GeometryWrapper using the default WKT CRS84 SRS URI.
        Parameters:
        shell - In X/Y order.
        holes - In X/Y order.
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createPolygon

        public static final GeometryWrapper createPolygon​(org.locationtech.jts.geom.LinearRing shell,
                                                          java.lang.String geometryDatatypeURI)
        Create Polygon GeometryWrapper using the default WKT CRS84 SRS URI.
        Parameters:
        shell - In X/Y order.
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createPolygon

        public static final GeometryWrapper createPolygon​(org.locationtech.jts.geom.Envelope envelope,
                                                          java.lang.String geometryDatatypeURI)
        Create Polygon GeometryWrapper using the default WKT CRS84 SRS URI.
        Parameters:
        envelope - In X/Y order.
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createMultiPoint

        public static final GeometryWrapper createMultiPoint​(java.util.List<org.locationtech.jts.geom.Coordinate> coordinates,
                                                             java.lang.String geometryDatatypeURI)
        Create MultiPoint GeometryWrapper using the default WKT CRS84 SRS URI.
        Parameters:
        coordinates - In X/Y order.
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createMultiLineString

        public static final GeometryWrapper createMultiLineString​(java.util.List<org.locationtech.jts.geom.LineString> lineStrings,
                                                                  java.lang.String geometryDatatypeURI)
        Create MultiLineString GeometryWrapper using the default WKT CRS84 SRS URI.
        Parameters:
        lineStrings - In X/Y order.
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createMultiPolygon

        public static final GeometryWrapper createMultiPolygon​(java.util.List<org.locationtech.jts.geom.Polygon> polygons,
                                                               java.lang.String geometryDatatypeURI)
        Create MultiPolygon GeometryWrapper using the default WKT CRS84 SRS URI.
        Parameters:
        polygons - In X/Y order.
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.
      • createGeometry

        public static final GeometryWrapper createGeometry​(org.locationtech.jts.geom.Geometry geometry,
                                                           java.lang.String geometryDatatypeURI)
        Create Geometry GeometryWrapper using the default WKT CRS84 SRS URI.
        Parameters:
        geometry - In X/Y order.
        geometryDatatypeURI -
        Returns:
        GeometryWrapper with SRS URI and GeometryDatatype URI.