Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

Retreiving longitude and latitude

This is a discussion on Retreiving longitude and latitude within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hello all, Does anyone know of any way of retreiving latitude and longitude values from a location object. I need ...

  1. #1
    MarkStanley is offline Junior Member White Belt
    Join Date
    Sep 2005
    Posts
    6

    Retreiving longitude and latitude

    Hello all,

    Does anyone know of any way of retreiving latitude and longitude values from a location object.

    I need to do this because I need to store information about Mappoint shapes in a database so that they can be redrawn at any time in their exact original location.

    I can get the height and width no problem. I can also retreive the centre location no problem. However there seems to be no way of breakin the location back down into lat and lon values. Please help.

    PS. Im programming in C#.

  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60
    Gilles Kohl's "CalcPos" routine is what you need. It can be found in the following article:

    http://www.mp2kmag.com/a13--kohl.ext....mappoint.html

    It uses the measure distance functionality and a bit of geometry to calculate a location's coordinates.


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  3. #3
    MarkStanley is offline Junior Member White Belt
    Join Date
    Sep 2005
    Posts
    6
    Cheers, works a treat !!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to get latitude and longitude
    By ma2005pp in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-28-2005, 02:57 AM
  2. Latitude and Longitude
    By virgilar in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-21-2005, 02:01 PM
  3. longitude and latitude lookup
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 01-24-2004, 10:20 AM
  4. Latitude and Longitude
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-25-2003, 01:52 PM
  5. NMEA latitude/longitude and mappoint latitude/longitude
    By muurman in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 11-22-2003, 05:42 AM

Tags for this Thread

Posting Permissions

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66