Interface IGpxReader

    • Method Detail

      • parse

        boolean parse​(boolean tryToFinish)
               throws org.xml.sax.SAXException,
                      java.io.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:
        org.xml.sax.SAXException - if any SAX parsing error occurs
        java.io.IOException - if any I/O error occurs
        java.lang.UnsupportedOperationException - if the format is not supported
      • getNumberOfCoordinates

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