Class CoordinatesWriter

java.lang.Object
org.gvsig.gpe.prov.kml.writer.v2.geometries.CoordinatesWriter

public class CoordinatesWriter extends Object
This class writes a coordinates Kml tag. Example:

 
 <coordinates>60.0,60.0 60.0,90.0 90.0,90.0</coordinates>
 
 

Author:
Jorge Piera LLodrĂ¡ (jorge.piera@iver.es)
  • Constructor Details

    • CoordinatesWriter

      public CoordinatesWriter()
  • Method Details

    • write

      public void write(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, ICoordinateSequence coords) throws IOException
      It writes an array of coordinates written using the kml coordinates tag
      Parameters:
      writer - Writer to write the labels
      handler - The writer handler implementor
      coords - A coordinates iterator.
      Throws:
      IOException