public class CswJTSToGML311LinearRingConverter
extends org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311LinearRingConverter
JTSToGML311LinearRingConverter
that provides a means of customizing
the LinearRing GML. By default, the CswJTSToGML311LinearRingConverter
behaves identically
to the JTSToGML311LinearRingConverter
, but the output of the converter can be customized
via constructor argument(s).Constructor and Description |
---|
CswJTSToGML311LinearRingConverter(org.jvnet.ogc.gml.v_3_1_1.ObjectFactoryInterface objectFactory,
org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311SRSReferenceGroupConverterInterface srsReferenceGroupConverter,
org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311CoordinateConverter coordinateConverter)
Constructs a LinearRing converter that is functionally identical to the converter constructed
by
JTSToGML311LinearRingConverter.JTSToGML311LinearRingConverter(ObjectFactoryInterface,
JTSToGML311SRSReferenceGroupConverterInterface, JTSToGML311CoordinateConverter) |
CswJTSToGML311LinearRingConverter(org.jvnet.ogc.gml.v_3_1_1.ObjectFactoryInterface objectFactory,
org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311SRSReferenceGroupConverterInterface srsReferenceGroupConverter,
org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311CoordinateConverter coordinateConverter,
boolean usePosList)
Constructs a LinearRing converter that is functionally identical to the converter constructed
by
JTSToGML311LinearRingConverter.JTSToGML311LinearRingConverter(ObjectFactoryInterface,
JTSToGML311SRSReferenceGroupConverterInterface, JTSToGML311CoordinateConverter) with the
exception that if usePosList is true the returned LinearRingType will have its posList
member variable populated and set, rather than its posOrPointPropertyOrPointRep. |
Modifier and Type | Method and Description |
---|---|
protected net.opengis.gml.v_3_1_1.LinearRingType |
doCreateGeometryType(com.vividsolutions.jts.geom.LinearRing linearRing) |
createElement, createPropertyType
public CswJTSToGML311LinearRingConverter(org.jvnet.ogc.gml.v_3_1_1.ObjectFactoryInterface objectFactory, org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311SRSReferenceGroupConverterInterface srsReferenceGroupConverter, org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311CoordinateConverter coordinateConverter)
JTSToGML311LinearRingConverter.JTSToGML311LinearRingConverter(ObjectFactoryInterface,
JTSToGML311SRSReferenceGroupConverterInterface, JTSToGML311CoordinateConverter)
public CswJTSToGML311LinearRingConverter(org.jvnet.ogc.gml.v_3_1_1.ObjectFactoryInterface objectFactory, org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311SRSReferenceGroupConverterInterface srsReferenceGroupConverter, org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311CoordinateConverter coordinateConverter, boolean usePosList)
JTSToGML311LinearRingConverter.JTSToGML311LinearRingConverter(ObjectFactoryInterface,
JTSToGML311SRSReferenceGroupConverterInterface, JTSToGML311CoordinateConverter)
with the
exception that if usePosList is true the returned LinearRingType
will have its posList
member variable populated and set, rather than its posOrPointPropertyOrPointRep. When converted
to a string, this results in the GML containing a single protected net.opengis.gml.v_3_1_1.LinearRingType doCreateGeometryType(com.vividsolutions.jts.geom.LinearRing linearRing)
doCreateGeometryType
in class org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311LinearRingConverter
JTSToGML311LinearRingConverter#doCreateGeometryType}
This work is licensed under a Creative Commons Attribution 4.0 International License.