MapPoint Forums

MapForums

Community of MapPoint and Bing Maps Users and Developers




Some concerns about calcpos sub

This is a discussion on Some concerns about calcpos sub within the MapPoint Desktop Discussion forums, part of the Map Forums category; i am new to this forum and I noticed that there is a calpos routine going around . Having looked ...


Go Back   MapPoint Forums > Map Forums > MapPoint Desktop Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-17-2006
Junior Member
White Belt
 
Join Date: Jul 2006
Posts: 6
Some concerns about calcpos sub

i am new to this forum and I noticed that there is a calpos routine going around . Having looked at the code, I have some concern. It seems that the program is assuming the earth is spherical , ie constant radius. MP is clear about actually using a WGS84 ellipsoid. The error then can easily reach several hundred of meters if using a spherical assumption. Anybody has concerns about that or I am actually wrong? Has anybody checked how MP actually computes distances between 2 points? Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 07-17-2006
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 3,504
Blog Entries: 3
I have heard people talk about this as a potential problem but in practice it has been OK.

Also, take a look at MapPoint 2006, it now has lat/lon as properties you can use and it might take care of any issues?

Eric
__________________
~ Now taking orders for MapPoint 2010 ~
~~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 07-18-2006
Junior Member
White Belt
 
Join Date: Jul 2006
Posts: 1
Calcpos Concerns

Hi all, I have used the calcpos routine to calculate hundreds of thousands of map pin positions. I then use the results to recreate the pins later. The accuracy I have found to be within just a few metres so, even though you may be justified in your observation, in practice and using MP2004 this routine works exceptionally well.

Cheers

Chris
__________________
VB6 and Mappoint Programmer specialising in Vehicle Telemtry and monitoring Systems
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 07-18-2006
Winwaed's Avatar
Mapping-Tools.com
Black Belt
 
Join Date: Feb 2004
Posts: 1,352
Blog Entries: 33
I can confirm that it works well. MP will be using WGS84 for its distance calculations, and I suspect this results in very small errors.

(you are correct that if you use the wrong geoid for plotting then errors of 100m or so are probable).

About 12 months ago, I had to write some code that performed extensive geometry calculations. I foget the details now, but I did have to make the decision "spherical Earth" or "elliptical Earth". When I got as far as estimating the differences it was a matter of metres within distances of 100km+.


Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
See the Geoweb Guru for online mapping
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 07-18-2006
Junior Member
White Belt
 
Join Date: Jul 2006
Posts: 6
Thanks for all your comments. I am still amazed about the accuracy. May be MP is actually using the same assumption to calculate distances from lat long which would explain why it's working so well. I will check on a few points and let you know.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 07-18-2006
Junior Member
White Belt
 
Join Date: Jul 2006
Posts: 6
Hi again,
I have checked. Actually MP is using the spherical assumption to calculate distances (to make sure just get distances for points at a same longitude and realize that they are proportional to the angle in radian). The radius seems to be 6378200m .This explains why calcpos actually works well. However, as a consequence distance calculations have a certain error. It's about 15 m by tenth of degrees for mid latitudes which I guess is bearable for most needs (around 0.27%). It would be interesting to know what microsoft has to say about this -not much advertised- approximation in the calculation of distances...
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
calcpos, concerns


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
Problems using CalcPos Pete_ADL MapPoint Desktop Discussion 4 06-21-2006 03:12 PM
Use CalcPos on a map with EXISTING pushpins ?? Sonicman_ MapPoint Desktop Discussion 5 02-20-2006 04:05 PM
Confused with calcpos :s Matrices MapPoint Desktop Discussion 4 09-25-2003 09:30 AM


All times are GMT -5. The time now is 07:49 PM.


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



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 67