Results 1 to 6 of 6

Thread: coords by GMDL

                  
   
  1. #1
    DCEmu Newbie
    Join Date
    Jun 2007
    Posts
    9
    Rep Power
    0

    Default coords by GMDL

    Hi,
    maybe this isn't the right place for this question, but i hope someone can help me.

    I write a little programm in Java which use the filestructure of the maps downloaded with GMDL.
    After using GMDL, there is also a file named coords.txt with 3 numbers in it.

    now my question is: what are they?
    or more specific: How can i know, which coordinate have the corners of the selected area, so i can compute my actual position given by my GPS-Mouse.


    "71480 45440 0"
    for example is the entry of coords.txt of a part from vienna.


    thx in advance and kindly regards
    Ahmet

  2. #2
    DCEmu Rookie
    Join Date
    Dec 2005
    Posts
    242
    Rep Power
    32

    Default

    Quote Originally Posted by matrix681 View Post
    Hi,
    maybe this isn't the right place for this question, but i hope someone can help me.

    I write a little programm in Java which use the filestructure of the maps downloaded with GMDL.
    After using GMDL, there is also a file named coords.txt with 3 numbers in it.

    now my question is: what are they?
    or more specific: How can i know, which coordinate have the corners of the selected area, so i can compute my actual position given by my GPS-Mouse.


    "71480 45440 0"
    for example is the entry of coords.txt of a part from vienna.


    thx in advance and kindly regards
    Ahmet
    These are the base coords and base zoom level. The first 3 entries in the GPSFS.

  3. #3
    DCEmu Newbie
    Join Date
    Jun 2007
    Posts
    1
    Rep Power
    0

    Default

    MIB.42

    How is the number "71480 45440 0" related to Latitude and Longitude ?

    Thank you,
    Anat

  4. #4
    DCEmu Newbie
    Join Date
    Jun 2007
    Posts
    9
    Rep Power
    0

    Default

    Quote Originally Posted by AstroMo View Post
    MIB.42

    How is the number "71480 45440 0" related to Latitude and Longitude ?

    Thank you,
    Anat
    that was my question

  5. #5
    DCEmu Rookie
    Join Date
    Dec 2005
    Posts
    242
    Rep Power
    32

    Default

    Quote Originally Posted by matrix681 View Post
    "How is the number "71480 45440 0" related to Latitude and Longitude ?"
    that was my question
    Oh ok...

    These numbers are a coordinate pair in par with what mapping solutions ( like Google Maps ) use to identify tiles. They encode zoom level information on top of the lat/lon as well. There is a conversion process for acquiring the lat/lon values ( using transverse mercator projection ) from these. It involves conversions from 2D units (like pixels) to geocentric degrees and radians. More detail on the math is available in the source files, look for initLatLon(), getLatLong() and getTileCoord() functions in main.c

    Cheers,
    MIB.42

  6. #6
    DCEmu Newbie
    Join Date
    Jun 2007
    Posts
    9
    Rep Power
    0

    Default

    puh, found it

    i hope. i can understand it

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •