MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




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 2006/2009 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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 09-09-2005
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12 (permalink)  
Old 09-09-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
automation, compile, errors, linking


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
ImportData and LinkData errors with Delphi 2006 stephenmillington MapPoint 2006/2009 Discussion 2 02-08-2006 02:30 PM
Help errors spirido MapPoint 2006/2009 Discussion 2 05-07-2004 08:30 AM
Garmin StreetPilot III data errors jalesse MapPoint 2006/2009 Discussion 0 12-31-2003 11:22 PM
Map location errors in Ireland. Anonymous MapPoint 2006/2009 Discussion 1 07-30-2003 08:34 PM
Random not ready errors ToddRCS MapPoint 2006/2009 Discussion 3 11-14-2002 06:31 PM


All times are GMT -5. The time now is 04:09 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Costa Brava Holiday
Beautiful kilometres of sandy beaches await you should you choose a Costa Brava holiday through UlookUbook!



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