MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Client-Side Point Conversion

This is a discussion on Client-Side Point Conversion within the MapPoint Web Service and Virtual Earth forums, part of the Map Forums category; I've implemented a Java version of the C# SDK sample " PointConversion " which works great for almost all uses. ...


Go Back   MapPoint Forums > Map Forums > MapPoint Web Service and Virtual Earth

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



Click here to register

Reply

 

LinkBack (4) Thread Tools Display Modes
  4 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 02-24-2005
Junior Member
White Belt
 
Join Date: Aug 2004
Posts: 3
Client-Side Point Conversion

I've implemented a Java version of the C# SDK sample "PointConversion" which works great for almost all uses. The algorithms seem to break down, however, with maps viewed from such a "height" that the curvature of the Earth shows on the map (including black areas of "outer space").

When I use Microsoft Streets & Trips (el cheapo MapPoint client) with it's Location Sensor activated, it correctly shows LAT/LON for these "outer space" areas as "Unknown" but the "PointConversion" algorithm provided with the SDK doesn't seem to handle this. When passed a LAT/LON which should not be visible on the map (because it's beyond the horizon) the algorithm returns the proper X,Y coordinate (but ONLY if the Earth were transparent!) It doesn't seem to be able to indicate that the LAT/LON isn't visible on the map.

Can you offer any suggestions as to how to prevent this? Can you shed some light on how Streets & Trips (or the MapPoint desktop client) handle this so I can incorporate it into my use of the MapPoint Web Service?

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 02-25-2005
Winwaed's Avatar
Mapping-Tools.com
Black Belt
 
Join Date: Feb 2004
Posts: 1,142
Blog Entries: 22
Do you have the longitude and latitude of the view point?

If so, you could compare the coordinate that you are interested in and compare it with the viewpoint. If they are separated by 90 degrees or more, then it is on the other side of the Earth.

The following site has some calculations that could probably be adapted to make the comparison:

http://williams.best.vwh.net/avform.htm


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
  #3 (permalink)  
Old 02-25-2005
Junior Member
White Belt
 
Join Date: Aug 2004
Posts: 3
Great suggestion. Works like a champ. 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
Reply

Tags
clientside, conversion, point


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/client-side-point-conversion-3878.html

Posted By For Type Date
Inheritance Cash Advance - inheritance cheap advance, cash inheritance store This thread Refback 06-01-2007 07:48 PM
University Offering Distance Learning - byu offering university, distance music offering This thread Refback 06-01-2007 05:44 AM
Consolidation Loans Canada - canada who, consolidation canada negotiation This thread Refback 05-31-2007 02:15 PM
More Info on Refinance Rate Quote. This thread Refback 03-28-2007 10:36 PM

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Preview Street-side Photos for Live.com Eric Frost MapPoint 2006/2009 Discussion 2 06-12-2006 03:09 PM
client-side mappoint webservice? Anonymous MapPoint 2006/2009 Discussion 0 11-23-2004 07:32 PM
Right side of road routing Anonymous MapPoint 2006/2009 Discussion 1 09-19-2002 08:46 PM
in adding vendors in the excel side to be linked t.... Anonymous MapPoint 2006/2009 Discussion 1 11-14-2001 09:18 AM
I have a client who is trying to map out the most .... Anonymous MapPoint 2006/2009 Discussion 1 08-07-2001 08:10 PM


All times are GMT -5. The time now is 03:28 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

Majorca Holiday
Enjoy a Majorca holiday at a good price when you check out the offers on UlookUbook for this popular destination!



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