Class Wfs20JTStoGML321Converter
java.lang.Object
org.codice.ddf.spatial.ogc.wfs.v2_0_0.catalog.common.Wfs20JTStoGML321Converter
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.opengis.gml.v_3_2_1.DirectPositionType[]convertCoordinates(org.locationtech.jts.geom.Coordinate[] coordinates) static net.opengis.gml.v_3_2_1.DirectPositionTypeconvertCoordinateToDirectPositionType(org.locationtech.jts.geom.Coordinate coordinate) static StringconvertGeometryToGML(org.locationtech.jts.geom.Geometry geometry) static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.LineStringType>convertLineStringTypeToJAXB(net.opengis.gml.v_3_2_1.LineStringType lineStringType) static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.MultiCurveType>convertMultiCurveTypeToJAXB(net.opengis.gml.v_3_2_1.MultiCurveType multiCurveType) static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.MultiGeometryType>convertMultiGeometryTypeToJAXB(net.opengis.gml.v_3_2_1.MultiGeometryType multiGeometryType) static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.MultiPointType>convertMultiPointTypeToJAXB(net.opengis.gml.v_3_2_1.MultiPointType multiPointType) static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.MultiSurfaceType>convertMultiSurfaceTypeToJAXB(net.opengis.gml.v_3_2_1.MultiSurfaceType multiSurfaceType) static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.PointType>convertPointTypeToJAXB(net.opengis.gml.v_3_2_1.PointType pointType) static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.PolygonType>convertPolygonTypeToJAXB(net.opengis.gml.v_3_2_1.PolygonType polygonType) static net.opengis.gml.v_3_2_1.DirectPositionTypeconvertToDirectPositionType(org.locationtech.jts.geom.Coordinate coordinate, String srsName) static net.opengis.gml.v_3_2_1.LineStringTypeconvertToLineStringType(org.locationtech.jts.geom.LineString line, String srsName) static net.opengis.gml.v_3_2_1.MultiGeometryTypeconvertToMultiGeometryType(org.locationtech.jts.geom.GeometryCollection multiGeometry, String srsName) static net.opengis.gml.v_3_2_1.MultiCurveTypeconvertToMultiLineStringType(org.locationtech.jts.geom.MultiLineString multiLineString, String srsName) static net.opengis.gml.v_3_2_1.MultiPointTypeconvertToMultiPointType(org.locationtech.jts.geom.MultiPoint multiPoint, String srsName) static net.opengis.gml.v_3_2_1.MultiSurfaceTypeconvertToMultiSurfaceType(org.locationtech.jts.geom.MultiPolygon multiPolygon, String srsName) Converts a @link org.locationtech.jts.geom.MultiPolygon to a @link net.opengis.gml.v_3_2_1.MultiSurfaceType Note: MultiPolygon maps to gml MultiSurfaceTypestatic net.opengis.gml.v_3_2_1.PointTypeconvertToPointType(org.locationtech.jts.geom.Point point, String srsName) static net.opengis.gml.v_3_2_1.PolygonTypeconvertToPolygonType(org.locationtech.jts.geom.Polygon polygon, String srsName) static net.opengis.gml.v_3_2_1.RingTypeconvertToRingType(org.locationtech.jts.geom.LinearRing line, String srsName)
-
Method Details
-
convertToDirectPositionType
public static net.opengis.gml.v_3_2_1.DirectPositionType convertToDirectPositionType(org.locationtech.jts.geom.Coordinate coordinate, String srsName) -
convertToPointType
public static net.opengis.gml.v_3_2_1.PointType convertToPointType(org.locationtech.jts.geom.Point point, String srsName) -
convertPointTypeToJAXB
public static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.PointType> convertPointTypeToJAXB(net.opengis.gml.v_3_2_1.PointType pointType) -
convertToLineStringType
public static net.opengis.gml.v_3_2_1.LineStringType convertToLineStringType(org.locationtech.jts.geom.LineString line, String srsName) -
convertLineStringTypeToJAXB
public static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.LineStringType> convertLineStringTypeToJAXB(net.opengis.gml.v_3_2_1.LineStringType lineStringType) -
convertToPolygonType
public static net.opengis.gml.v_3_2_1.PolygonType convertToPolygonType(org.locationtech.jts.geom.Polygon polygon, String srsName) -
convertPolygonTypeToJAXB
public static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.PolygonType> convertPolygonTypeToJAXB(net.opengis.gml.v_3_2_1.PolygonType polygonType) -
convertMultiPointTypeToJAXB
public static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.MultiPointType> convertMultiPointTypeToJAXB(net.opengis.gml.v_3_2_1.MultiPointType multiPointType) -
convertToMultiPointType
public static net.opengis.gml.v_3_2_1.MultiPointType convertToMultiPointType(org.locationtech.jts.geom.MultiPoint multiPoint, String srsName) -
convertToRingType
public static net.opengis.gml.v_3_2_1.RingType convertToRingType(org.locationtech.jts.geom.LinearRing line, String srsName) -
convertToMultiSurfaceType
public static net.opengis.gml.v_3_2_1.MultiSurfaceType convertToMultiSurfaceType(org.locationtech.jts.geom.MultiPolygon multiPolygon, String srsName) Converts a @link org.locationtech.jts.geom.MultiPolygon to a @link net.opengis.gml.v_3_2_1.MultiSurfaceType Note: MultiPolygon maps to gml MultiSurfaceType- Parameters:
multiPolygon-- Returns:
- MultiSurfaceType
-
convertMultiSurfaceTypeToJAXB
public static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.MultiSurfaceType> convertMultiSurfaceTypeToJAXB(net.opengis.gml.v_3_2_1.MultiSurfaceType multiSurfaceType) -
convertToMultiGeometryType
public static net.opengis.gml.v_3_2_1.MultiGeometryType convertToMultiGeometryType(org.locationtech.jts.geom.GeometryCollection multiGeometry, String srsName) -
convertMultiGeometryTypeToJAXB
public static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.MultiGeometryType> convertMultiGeometryTypeToJAXB(net.opengis.gml.v_3_2_1.MultiGeometryType multiGeometryType) -
convertCoordinateToDirectPositionType
public static net.opengis.gml.v_3_2_1.DirectPositionType convertCoordinateToDirectPositionType(org.locationtech.jts.geom.Coordinate coordinate) -
convertCoordinates
public static net.opengis.gml.v_3_2_1.DirectPositionType[] convertCoordinates(org.locationtech.jts.geom.Coordinate[] coordinates) -
convertMultiCurveTypeToJAXB
public static javax.xml.bind.JAXBElement<net.opengis.gml.v_3_2_1.MultiCurveType> convertMultiCurveTypeToJAXB(net.opengis.gml.v_3_2_1.MultiCurveType multiCurveType) -
convertToMultiLineStringType
public static net.opengis.gml.v_3_2_1.MultiCurveType convertToMultiLineStringType(org.locationtech.jts.geom.MultiLineString multiLineString, String srsName) -
convertGeometryToGML
public static String convertGeometryToGML(org.locationtech.jts.geom.Geometry geometry) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-