Class LatLonAltBoxIterator

java.lang.Object
org.gvsig.gpe.prov.kml.parser.v21.coordinates.KmlCoodinatesIterator
org.gvsig.gpe.prov.kml.parser.v21.coordinates.LatLonAltBoxIterator
All Implemented Interfaces:
ICoordinateIterator, IKmlCoordinatesIterator

public class LatLonAltBoxIterator extends KmlCoodinatesIterator
This class parses a LatLonAltBox tag. Example:

  
 <LatLonAltBox>
 <north>43.374</north>
 <south>42.983</south>
 <east>-0.335</east>
 <west>-1.423</west>
 <minAltitude>0</minAltitude>
 <maxAltitude>0</maxAltitude>
 </LatLonAltBox>
 
 

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

    • LatLonAltBoxIterator

      public LatLonAltBoxIterator()
  • Method Details

    • parse

      public Object parse(org.gvsig.xmlpull.lib.api.stream.IXmlStreamReader parser, GPEDeafultKmlParser handler) throws org.gvsig.xmlpull.lib.api.stream.XmlStreamException, IOException
      It parses the LatLonAltBox tag
      Parameters:
      parser - The XML parser
      handler - The GPE parser that contains the content handler and the error handler
      Returns:
      A Bounding box
      Throws:
      IOException
      org.gvsig.xmlpull.lib.api.stream.XmlStreamException
    • hasNext

      public boolean hasNext() throws IOException
      Throws:
      IOException
    • next

      public void next(double[] buffer) throws IOException
      Throws:
      IOException