Search in sources :

Example 6 with GMLWriter

use of com.vividsolutions.jts.io.gml2.GMLWriter in project OpenTripPlanner by opentripplanner.

the class GeometryAdapter method marshal.

public String marshal(Geometry val) throws Exception {
    GMLWriter writer = new GMLWriter();
    writer.setNamespace(false);
    return writer.write(val);
}
Also used : GMLWriter(com.vividsolutions.jts.io.gml2.GMLWriter)

Aggregations

GMLWriter (com.vividsolutions.jts.io.gml2.GMLWriter)4 LineString (com.vividsolutions.jts.geom.LineString)2 Point (com.vividsolutions.jts.geom.Point)2 GMLWriter (org.locationtech.jts.io.gml2.GMLWriter)2 HierarchicalStreamCopier (com.thoughtworks.xstream.io.copy.HierarchicalStreamCopier)1 XppReader (com.thoughtworks.xstream.io.xml.XppReader)1 StringReader (java.io.StringReader)1 Geometry (org.locationtech.jts.geom.Geometry)1 LineString (org.locationtech.jts.geom.LineString)1 MultiLineString (org.locationtech.jts.geom.MultiLineString)1 FunctionExecutionException (org.teiid.api.exception.query.FunctionExecutionException)1 ClobImpl (org.teiid.core.types.ClobImpl)1 ClobType (org.teiid.core.types.ClobType)1 XmlPullParser (org.xmlpull.v1.XmlPullParser)1 XmlPullParserException (org.xmlpull.v1.XmlPullParserException)1