Search in sources :

Example 1 with ArcDirectedLineString

use of com.revolsys.record.io.format.saif.geometry.ArcDirectedLineString in project com.revolsys.open by revolsys.

the class ArcDirectedConverter method writeAttributes.

@Override
protected void writeAttributes(final OsnSerializer serializer, final ArcLineString line) throws IOException {
    if (line instanceof ArcDirectedLineString) {
        final ArcDirectedLineString dirLine = (ArcDirectedLineString) line;
        final String flowDirection = dirLine.getFlowDirection();
        attributeEnum(serializer, "flowDirection", flowDirection);
    }
    super.writeAttributes(serializer, line);
}
Also used : ArcDirectedLineString(com.revolsys.record.io.format.saif.geometry.ArcDirectedLineString) ArcDirectedLineString(com.revolsys.record.io.format.saif.geometry.ArcDirectedLineString) ArcLineString(com.revolsys.record.io.format.saif.geometry.ArcLineString) LineString(com.revolsys.geometry.model.LineString)

Aggregations

LineString (com.revolsys.geometry.model.LineString)1 ArcDirectedLineString (com.revolsys.record.io.format.saif.geometry.ArcDirectedLineString)1 ArcLineString (com.revolsys.record.io.format.saif.geometry.ArcLineString)1