Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Convert sexagesimal to decimal

Convert sexagesimal to decimal

Scheduled Pinned Locked Moved C#
help
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rumpelstielz
    wrote on last edited by
    #1

    Hi there, i'm really stucked with this. My problem ist that i´ve some Koordinates given by lat="48234421" lon="9584631" (which means 9deg.59min.46.31sec) and i need to convert them to decimal. eg: lon="9584631" -> lon="1128083" (which means 11deg.28083). i´ve looked at the tutorials here but none did exactly what i want. would be grat if someone could help me. greetz

    D 1 Reply Last reply
    0
    • R rumpelstielz

      Hi there, i'm really stucked with this. My problem ist that i´ve some Koordinates given by lat="48234421" lon="9584631" (which means 9deg.59min.46.31sec) and i need to convert them to decimal. eg: lon="9584631" -> lon="1128083" (which means 11deg.28083). i´ve looked at the tutorials here but none did exactly what i want. would be grat if someone could help me. greetz

      D Offline
      D Offline
      Dragonfly_Lee
      wrote on last edited by
      #2

      rumpelstielz wrote:

      i need to convert them to decimal. eg: lon="9584631" -> lon="1128083" (which means 11deg.28083).

      How could this happen?

      :) I Love KongFu~

      R 1 Reply Last reply
      0
      • D Dragonfly_Lee

        rumpelstielz wrote:

        i need to convert them to decimal. eg: lon="9584631" -> lon="1128083" (which means 11deg.28083).

        How could this happen?

        :) I Love KongFu~

        R Offline
        R Offline
        rumpelstielz
        wrote on last edited by
        #3

        ups my fault. i made a misstake again. lat=482344 ->lat 4839556 it´s for converting from nmea to google earth kml files if someone cares.

        R 1 Reply Last reply
        0
        • R rumpelstielz

          ups my fault. i made a misstake again. lat=482344 ->lat 4839556 it´s for converting from nmea to google earth kml files if someone cares.

          R Offline
          R Offline
          Ravadre
          wrote on last edited by
          #4

          I still don't get excatly your question, but I've google for something like this: http://home.online.no/~sigurdhu/Deg\_formats.htm (which is 2nd answer for "nmea coordinates" in google btw) It has conversions from dd.ddddd to dd.mm.ss, is this is what you were looking for?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups