Class GeometryWrapperFactory

java.lang.Object
org.apache.jena.geosparql.implementation.GeometryWrapperFactory

public class GeometryWrapperFactory extends Object
  • Constructor Details

    • GeometryWrapperFactory

      public GeometryWrapperFactory()
  • Method Details

    • createPoint

      public static final GeometryWrapper createPoint(org.locationtech.jts.geom.Coordinate coordinate, String srsURI, 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(List<org.locationtech.jts.geom.Coordinate> coordinates, String srsURI, 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, String srsURI, 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, String srsURI, 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(List<org.locationtech.jts.geom.Coordinate> coordinates, String srsURI, 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, String srsURI, 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, String srsURI, 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, String srsURI, 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(List<org.locationtech.jts.geom.Coordinate> coordinates, String srsURI, 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(List<org.locationtech.jts.geom.LineString> lineStrings, String srsURI, 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(List<org.locationtech.jts.geom.Polygon> polygons, String srsURI, 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(List<org.locationtech.jts.geom.Geometry> geometries, String srsURI, 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, String srsURI, 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, 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, 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(List<org.locationtech.jts.geom.Coordinate> coordinates, 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, 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(List<org.locationtech.jts.geom.Coordinate> coordinates, 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, 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, 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, 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(List<org.locationtech.jts.geom.Coordinate> coordinates, 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(List<org.locationtech.jts.geom.LineString> lineStrings, 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(List<org.locationtech.jts.geom.Polygon> polygons, 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, 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.