Class RegionWriter

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

public class RegionWriter extends Object
This class writes a Region Kml tag. Example:

  
 <Region>
 <LatLonAltBox>
 <north>43.374</north>
 <south>42.983</south>
 <east>-0.335</east>
 <west>-1.423</west>
 <rotation>39.37878630116985</rotation>
 </LatLonAltBox>
 </Region>
 
 

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

    • RegionWriter

      public RegionWriter()
  • Method Details

    • start

      public void start(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler, ICoordinateSequence coords) throws IOException
      It writes the Region init tag and its fields
      Parameters:
      writer - Writer to write the labels
      handler - The writer handler implementor
      coords - A coordinates iterator.
      Throws:
      IOException
    • end

      public void end(org.gvsig.xmlpull.lib.api.stream.IXmlStreamWriter writer, GPEKmlWriterHandlerImplementor handler) throws IOException
      /** It writes the LatLonAltBox end tag and its fields
      Parameters:
      writer - Writer to write the labels
      handler - The writer handler implementor
      Throws:
      IOException