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
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Automation with C++ (Compile OK but Errors in Linking)

This is a discussion on Automation with C++ (Compile OK but Errors in Linking) within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have just realized my spiral algorithm is not very good if you pick a position very far from any ...

  1. #11
    rules is offline Junior Member White Belt
    Join Date
    Aug 2005
    Posts
    8
    I have just realized my spiral algorithm is not very good if you pick a position very far from any street cause the spiral is like this:
    Code:
     *-------*
     |       |
     | *---* |
     | |   | |
     | | *-* |
     | |     |
     | *-----*
     |
     *-------...
    The points represent where the program searches for a Location containig a street. So, if the spiral grows very much, the points would finish being very far one from another. I will try to correct this with more searching points between points from corners.

  2. #12
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    The way I do this is following:

    - first check if we are on a street of course
    - then make a circle with radius of 5 meter, and start scanning the cirucmfence of the circle with a resolution of 5 meter.
    - if no address found at >= 360 degree then increase radius of circle with 5 meter, and start scanning again on circumfence with 5 meter resolution
    - this repeat until address is found or until a certain maximum

    I try to post some code this eve if I dont forget it

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ImportData and LinkData errors with Delphi 2006
    By stephenmillington in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 02-08-2006, 03:30 PM
  2. Help errors
    By spirido in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-07-2004, 09:30 AM
  3. Garmin StreetPilot III data errors
    By jalesse in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 01-01-2004, 12:22 AM
  4. Map location errors in Ireland.
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-30-2003, 09:34 PM
  5. Random not ready errors
    By ToddRCS in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 11-14-2002, 07:31 PM

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