<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 11/12/2014 07:22, Miika Turkia
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAEB307PU3WJCXusPO3Q2b_5fetRHANYM1M8T1FY-GZdrGzgiqg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Thu, Dec 11, 2014 at 12:56 AM,
            Pedro Neves <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:nevesdiver@gmail.com" target="_blank">nevesdiver@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">Miika:<br>
              <br>
              I'm sorry to disturb you with this.<br>
              Do you mind trying importing the attached .CSV file into
              Subsurface?<br>
              <br>
              On my machine, everything works except the coordinates for
              dive #15, for which I've copied your value of
              1°36'11.711"N 124°46'00.368"E.<br>
              <br>
              I don't think it makes much sense for you to waste time
              trying to fiddle with the import filter in order to allow
              for other coordinate formats. The format d.dddddd d.ddddd
              works well so I guess I can document that.<br>
              <br>
              What do you think?<br>
            </blockquote>
            <div><br>
            </div>
            <div>Currently only the  d.dddddd d.ddddd format is
              supported so that is what should be currently documented.<br>
              <br>
              However, we already have a function on the GUI code that
              decodes the other coordinate formats. We just do not use
              that function for imported dives, only for coordinates
              typed from the GUI. This patch only prepares us so we can
              switch to the better coordinate decoding function in C
              side (passing the input coordinates properly to the C
              code. So "my value" is not supposed to work yet. I am just
              not familiar how to call C++ code from C so the switching
              to the proper decoding function is still pending and will
              happen eventually (most likely after 4.3 release).<br>
              <br>
              miika<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    Would it not be feasible to rewrite the parser in C and then call
    the C parser from C++ when keyboard-entered required?<br>
    Kind regards,<br>
    willem<br>
    <br>
  </body>
</html>