public class LineStringWriter extends GeometryWriter
<LineString>
<coord><X>56.1</X><Y>0.45</Y></coord>
<coord><X>67.23</X><Y>0.98</Y></coord>
</LineString>
Constructor and Description |
---|
LineStringWriter() |
Modifier and Type | Method and Description |
---|---|
String |
getGeometryName() |
void |
start(IXmlStreamWriter writer,
GPEGmlWriterHandlerImplementor handler,
String id,
ICoordinateSequence coords,
String srs)
It writes a gml:lineString init tag
|
end, start
public void start(IXmlStreamWriter writer, GPEGmlWriterHandlerImplementor handler, String id, ICoordinateSequence coords, String srs) throws IOException
writer
- Writer to write the labelshandler
- The writer handler implementorid
- Geometry IDcoords
- A coordinates sequencesrs
- Spatial reference systemIOException
public String getGeometryName()
getGeometryName
in class GeometryWriter