Interface IGpxReader

    • Method Detail

      • parse

        boolean parse​(boolean tryToFinish)
               throws SAXException,
                      IOException
        Parse the GPX data.
        Parameters:
        tryToFinish - true, if the reader should return at least part of the GPX data in case of an error.
        Returns:
        true if file was properly parsed, false if there was error during parsing but some data were parsed anyway
        Throws:
        SAXException - if any SAX parsing error occurs
        IOException - if any I/O error occurs
        UnsupportedOperationException - if the format is not supported
      • getNumberOfCoordinates

        default int getNumberOfCoordinates()
        Returns the number of coordinates that have been successfuly read.
        Returns:
        the number of coordinates that have been successfuly read
        Since:
        18179