public class PolygonWriter extends GeometryWriter
<Polygon gid="_877789">
<outerBoundaryIs>
<LinearRing>
<coordinates>0.0,0.0 100.0,0.0 50.0,100.0 0.0,0.0</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
Constructor and Description |
---|
PolygonWriter() |
Modifier and Type | Method and Description |
---|---|
String |
getGeometryName() |
void |
start(IXmlStreamWriter writer,
GPEGmlWriterHandlerImplementor handler,
String id,
ICoordinateSequence coords,
String srs)
It writes a gml:Polygon 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